Search

You searched for the word(s): userid:645333

Matching Posts

  • Re: why has the default include bhavior of a web service changed?

    I ran into the same problem today. I used to include a script reference to a webservice dynamically (webpart code) using ScriptManager.GetCurrent(Page).RegisterScriptReference(Page.ResolveUrl("~/Service.asmx/js")); After I found out that calls were made to "undefined?mn=xxx", I changed it to ScriptManager.GetCurrent(Page).RegisterScriptReference(Page.ResolveUrl("~/Service.asmx/js?__svcPath=Service.asmx")); This works, but it does looks a bit redundant to me :(
  • Re: batch calls with batchSize > 10

    Thanks Ben, The solution was indeed to add a childRequestBatchLimit attribute to the microsoft.web/webServices section in web.config: < microsoft.web > ... < webServices enableBrowserAccess = " true " childRequestBatchLimit = " 100 " /> </ microsoft.web >
  • batch calls with batchSize > 10

    Hi, Is there a limit on the batchSize attribute? Whenever I set this value to something higher than 10, batch calls fail. Fiddler lists the request to atlasbatchcall.axd as failing with code 500. The response text is "new Sys.Net.MethodRequestError("There was an error processing the request.")" This is my XML script: <!-- enable batch calls to webservices --> < script type ="text/xml-script"> <page xmlns:script= "http://schemas.microsoft.com/xml-script/2005" > <components>
  • Re: UpdatePanel + StartupScript + Sys.Timer

    Luis Abreu: i think that you have several options...for instance, you could use the ispostback property of the page (it'll be false on the 1st rendering; since you only want to add the timer one time, this could solve your problem)... Not really sure about IsPostBack. The scenario where I encountered this problem involved webparts in an updatepanel, where the timer is created by one of the webparts. When starting with a blank page and adding the webpart with timer, IsPostBack will be true. Also,
  • Re: Programmatically setting EnablePartialRendering to false from master page

    Thanks for the hint. I was able to locate the scriptmanager in this way and disable the partial rendering. However, a new problem arose after I did all this. The page showed two assert popup boxes: "Assertion Failed: Could not resolve reference to object named "_PageRequestManager" for "dataContext" property on object of type "Sys.Binding"" "Assertion Failed: No data context available for binding with ID "" and dataPath "inPostBack" on object of type "Sys.UI.Control"" I've tracked this down to the
  • UpdatePanel + StartupScript + Sys.Timer

    I'm using an UpdatePanel with a user control somewhere in there. The usercontrol registers a client startup script (ClientScript.RegisterStartupScript) in which a Sys.Timer object is created. When the updatepanel refreshes via Atlas, the startup script gets executed again (which I believe is expected behavior), causing a new Timer to be created. The old timer is still around though, causing the tick event handler code to be executed twice as often as required. What would be the best way to get around
  • CollapsiblePanel: typo in CollapsiblePanelBehavior.js

    In case this one hasn't been spotted before: CollapsiblePanelBehavior.js line 112 if (this.control.element.tagName == "INPUT" && this.control. elment .type == "checkbox") should be if (this.control.element.tagName == "INPUT" && this.control. element .type == "checkbox")
    Posted to ASP.NET AJAX Control Toolkit (Forum) by dekarma on 4/28/2006
  • Programmatically setting EnablePartialRendering to false from master page

    Hi, I have a master page which has its content area wrapped inside an updatepanel. To facilitate debugging, I'ld like to "disable" the updatepanel when the request URL contains ?debug=true. I understood that to disable the updatepanel, setting EnablePartialRendering to false should do the trick. This can only be done from PreInit. The problem I'm facing now is that: The master page doesn't have an OnPreInit method to override When I override the OnPreInit in the content page, there's no ScriptManager
  • 'menuWebPart_wpxxxxxxVerbs' is undefined (UpdatePanel & WebParts)

    Hi, I've been trying to update an existing webpart page into one that is Atlas-powered. Everything mostly works, except for one remaining issue: Atlas April CTP One (large) UpdatePanel, containing: WebPartManager (atlas version) WebPartZones (atlas version) Editor/CatalogZones + controls responsible for switching between zones After switching from browse mode to another mode, I get a script error popup: --------------------------- Error --------------------------- A Runtime Error has occurred. Do
  • JS Memory Leak

    I'm using the January 2006 Atlas preview and am encountering a Javascript memory leak with the following code: < atlas : ScriptManager ID ="scriptManager" runat ="server" EnablePartialRendering ="true" /> < atlas : TimerControl ID ="timer" runat ="server" Interval ="1000" Enabled ="true" /> < atlas : UpdatePanel ID ="updatePanel" runat ="server"> < Triggers > < atlas : ControlEventTrigger ControlID ="timer" EventName ="Tick" /> </ Triggers > < ContentTemplate
Page 1 of 1 (10 items)