-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: Swapnil_B1
Message 1 in Discussion

Folks 
If you want to register a script from server-side code and the script is not 
changed dynamically based on some logic and should not be executed directly 
after an async. postback, you can do it from your Page object. If you have a 
custom control that should register a script and you will always display the 
control, and the script should not be changed based on some logic between 
postback, you can use the Register method of the Page object (Use the 
ClientScript property of the Page object to get access to them.). If you have 
your control inside of an UpdatePanel, and need to register the script during 
an async. postback and the script will be changed based on some logic, then you 
need to use the ScriptManager's Register methods. But if the control is inside 
of an UpdatePanel from the start and the client-side script should always be 
the same, you can use the register methods of the Page object (as long as you 
should not register a client-side script that need to be executed after a 
postback).  Check out this link 
http://fredrik.nsquared2.com/viewpost.aspx?PostID=430   Swapnil (Swaps) 
http://swapsnet.spaces.live.com/

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to