tag:blogger.com,1999:blog-8307718319698992522.post439283754098530611..comments2023-05-29T18:39:37.081-07:00Comments on Arun Manglick - Technical View: MSDN Magzine - ScriptManager Control in AJAXArun Manglickhttp://www.blogger.com/profile/03915326692989759515noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8307718319698992522.post-32164667211149757832008-07-01T00:48:00.000-07:002008-07-01T00:48:00.000-07:00Thanks Parwez..Thanks Parwez..Arun Manglickhttps://www.blogger.com/profile/03915326692989759515noreply@blogger.comtag:blogger.com,1999:blog-8307718319698992522.post-10768689207339114662008-03-13T18:48:00.000-07:002008-03-13T18:48:00.000-07:00Good article on Script Manager and its helped me. ...Good article on Script Manager and its helped me. Just a add on to it ,if you defined your ScriptMager in MasterPage then it won't work.To make it work with you need to initialized it firs in the page.<BR/><BR/>Following are VB code behind Scripts.<BR/><BR/>Partial Class eForm<BR/> Inherits System.Web.UI.Page<BR/><BR/> Dim MasterPageScriptManager As ScriptManager<BR/> <BR/> Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init<BR/><BR/> MasterPageScriptManager = ScriptManager.GetCurrent(Me.Page)<BR/><BR/> End Sub<BR/><BR/> <BR/> Protected Sub btUpMaster_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles btUpMaster.Init<BR/><BR/><BR/> Dim btUpMaster As Button<BR/> btUpMaster = sender<BR/> MasterPageScriptManager.RegisterPostBackControl(btUpMaster)<BR/> End Sub<BR/>End ClassAnonymousnoreply@blogger.com