C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » .NET »

In windows form use the javascript code


Posted Date: 04 Nov 2009      Posted By: vijaya      Member Level: Silver     Points: 1   Responses: 3



Hi

Can anyone pls tell me where can we write this
<script language="javascript" type="text/javascript">

function Validate()
{
}
</script>

code in windows form in vb.net





Responses

Author: vipul    04 Nov 2009Member Level: DiamondRating: 3 out of 53 out of 53 out of 5     Points: 3

hi,
you can't use this type of script in the windows form this is only for web application. and your code i think you want validation of the control! if i am write then used validating event of that control if you used textbox then there is one validating event. so used that.

Please Rate This Answer If They Helpful

Thanks & Regards
Patel Vipul



Author: Anil Kumar Pandey    04 Nov 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

windows form the java script code is not required...

this is for the Web based application..

Thanks & Regards
Anil Kumar Pandey



Author: Deepika Haridas    09 Nov 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

Hello,

Windows application doesn't provide you with the feature to write javascript codes. So if you want to validate then you can write them in various events.



Thanks & Regards,
Deepika
Editor

If U want to shine like a SUN..First U have to burn like the SUN!!
Need a Guide? Join my mentor program..



Post Reply
You must Sign In to post a response.
Next : Crystal Report Group Expert Programmatically
Previous : CMS Pages CSS
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use