Print
Add To Favorites
Email To Friend
Rate This Article
|
Using JavaScript Effectively in ASP.NET 2.0 - Part 1
|
by Satheesh Babu
Feedback
|
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days):
39595/
249
|
|
|
|
| Conclusion |
Thus, we have understood a subset of very useful feature
given by the .NET Framework 2.0 in this article. These methods will give the
flexibility to handle some of the JavaScript blocks and to very easily add
programmatically in the HTML output based on some business requirements. Download
the source code attached with this article in the download section to see it in
action. Part 2 will discuss the other methods of ClientScriptManager class with
some additional JavaScript tips.
Happy Coding!!
References
ClientScriptManager
Class
Downloads
[Download Source]
|
|
|
|
|
Article Feedback
User Comments
Title:
Javascript
Name:
Praveen
Date:
3/10/2010 1:59:54 AM
Comment:
Simple examples to understand the concepts.Excellent
|
Title:
JavaScript on form load
Name:
yc
Date:
5/11/2009 4:54:00 AM
Comment:
Thanks sir, JavaScript on form load. That's what I was googling for 2 days. Regards
|
Title:
Listing6 problem
Name:
O M
Date:
4/23/2009 6:02:23 PM
Comment:
Looks like Listing6 should be for "RegisterStartupScript Output" instead it is same as Listing1.
|
Title:
Web Developer
Name:
Dhananjay
Date:
4/13/2009 7:56:31 AM
Comment:
This is very good article. but I have question regarding - RegisterOnSubmitStatement. On my page there are two buttons first one is Show - to display data and another is Delete - to delete data.
In this condition using your code How can I show confirm box on only on delete button.
|
Title:
Web Developer
Name:
Shilpa
Date:
4/7/2009 6:09:04 AM
Comment:
Javascript functionality explained in such a simple technical terms. Its wonderful. Satish Babu, keep it up.
|
Title:
web developer
Name:
xiaohong
Date:
4/6/2009 2:56:36 PM
Comment:
nice organized article, thanks!
|
Title:
Dan
Name:
Dan
Date:
4/1/2009 10:00:10 AM
Comment:
I didn't know about the onsubmitscript. Thanks's
|
Title:
Nice article
Name:
Anas
Date:
4/1/2009 3:42:09 AM
Comment:
Nice article thanks i like it
|
Title:
Part 2
Name:
Joe
Date:
3/25/2009 12:20:57 PM
Comment:
You can read the 2nd part here, http://www.codedigest.com/Articles/ASPNET/221_Using_JavaScript_Effectively_in_ASPNet_20_%e2%80%93_PART_2.aspx
|
Title:
Can you provide Part 2 Article for the same
Name:
Sree
Date:
1/8/2009 7:14:12 AM
Comment:
Hi, Nice article ragarding clientscriptmanager class. It would be great if you provide Part 2 continuation link for the same.
|
Title:
Good Article
Name:
greeny
Date:
12/20/2008 2:52:31 AM
Comment:
Hi,
good to see easily understandable article.
|
Title:
Great Article
Name:
J
Date:
12/9/2008 5:46:12 AM
Comment:
This was the first article I read on RegisterStartupScript. Very easy to understand article with nice examples. Thanks a lot for shairing this
|
Title:
Programmer
Name:
Tonci Korsano
Date:
9/30/2008 2:38:46 PM
Comment:
Hi,
I think this is a good article. RegisterOnSubmitStatement() Method was explained in a simple way. I might have to use this method. However, I have read that in these methods it is more efficient to use typeOf(this) or typeOf(Page) instead of this.getType() or Page.getType()
Tonci.
|
Title:
RE: how to execute onsumit in between the server code
Name:
Mikalai
Date:
9/26/2008 10:51:03 AM
Comment:
To Nonu: do not be confused with server and client side code. alert could be only displayed when server side code is finished and result html is sent to the client.
|
Title:
how to execute onsumit in between the server code
Name:
Nonu
Date:
9/25/2008 11:06:28 AM
Comment:
Hi Your article is helped me a lot to understand clientscript class. but i want to execute a alert in between the server side code.
|
Title:
Good Article
Name:
Joe
Date:
9/17/2008 11:47:12 PM
Comment:
Satheesh, Your article is really good! It is really useful to people like me! Thanks again!
|
Title:
Mr.
Name:
kmanral
Date:
9/17/2008 2:52:58 PM
Comment:
only useful part of article is the link to MSDN. oops...
|
|
Product Spotlight
|
|
|