AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
Questions & Answers
Tips & Tricks
 how to write javascript in asp.net in the code behind page
Posted by narayananbabu on  7/16/2008 8:15:04 AM Category: JavaScript
Add to my favorites
Email to friend
visual basic 2005 ,asp.net

Post Your Reply Post New Question

 Viewer's Reply
Here is C# code. Convert it into VB.NET Please
Answered By Moderator1 on 8/16/2008 2:58:08 AM
string strScript = "<script>";
strScript += "alert('Hello, Narayananbabu');";
strScript += "</script>";
Page.RegisterClientScriptBlock("strScript", strScript);
 
Post Your Reply If you still have problem, post it again under this reply for better response.

 
Sponsored by
Website Magazine
Programmers Heaven C# School Book - Free 338 Page eBook
FierceDeveloper