Hi Ankit,
Glad that you're got it working.
BTW, for registering client-side script, we're recommended to use the
Page.ClientScript.XXXX methods instead of Response.Write to do the work.
The page's encapsulated methods can help ensure the startup script or
script block be registered and output at the appropriate place.
Regards,
Steven Cheng
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)