-
Hi,
I've created a custom web control which uses an embedded javascript file.
I have overridden OnPreRender method to register the javascript where I am checking if the control is within an update panel, I use
ScriptManager.RegisterClientScriptResource method, otherwise I use the normal
Page.ClientScript...
-
Hi, I'm using the ScriptManager.AddHistoryPoint method and Navigate event. I use it for paging of a grid (the paging is done using an UpdatePanel). My problem is that when the user moves to another page, clicking back only hits the last history point and the others disappear. Is there a workaround...
-
When creating a server control, you really should add the ScriptManager control within the control itself. Adding the ScriptManager to the page should be the responsibility of the developer using the control. Think of this like a runat="server" form, you need this for most server controls,...
-
I want to be able to keep the Script Manager in my MasterPage, but the pages that I don't want it on, I want to disable it. It's just an extra 80K+ that I don't need the end user to download. I've tried this but didn't work: var sm = this.Page.Master.FindControl("ScriptManager1"...
-
We have a system that was not originally designed with .Net 2.0 that uses place holders in a template that are populated by ASCX files at runtime based on context. When we use LoadControl to add the user control to the place holder, most actions with ScriptManager do not work correctly. I spent a LOT...
-
I have set up a ScriptService as described in Joe Stagner's video http://www.asp.net/learn/ajax-videos/video-79.aspx . It works fine for most of my needs, but one WebMethod I made takes a while to collect the records it needs so the OnTimeout method in the client is executing. How do I change the...
-
hi , am facing problems following problems a. i used ajaxtoolkitscriptmanager's combinedscripts=true and combinescriptshandler=combinescritps.ashx. this worked well in my dev env b. when we moved to product in multiserver inv. i noticed that the combinescripts where being served but they where not...
-
Anyone? I have a work around for this which is to use a JS Alert() to inform the user what the problem is. However, I would love to get my hands on the callout and use that instead. I would be happy figuring this out on my own, but, don't know quite where to start. I have looked at What actually...
-
Unfortunately, that did not work. I tried the following as you suggested, but, myPopup is still null string myScript = @" var myPopup=$find('" + ValidatorCalloutExtenderFirstName.ClientID + @"'); alert(myPopup);"; ScriptManager.RegisterStartupScript(ButtonContactUpdate, Page...
-
I have looked for a solution to this, but, can not seem to figure out what I am doing wrong. I have a situation where I need to show a ValidatorCalloutExtender balloon by hand. I have several panels that need to be validated together, so, I am validating the data server side. I am successfully detecting...