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
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
The Beginner's Guide to Joomla
Introduction to Software Development