I can't for the life of me figure out how to enable partial page rendering with the newest AJAX release (including the nov. CTP)...
the tutorial speaks to it "If you are working with master pages, you might need to use aScriptManagerProxy control in place of aScriptManager control. For more information, seeHow to: Use Partial-Page Updates in Master Pages.", but you'll notice the link leads to a 404 error.
anyone know the answer to this? I've tried replacing my script manager with a script manager proxy, but the page complains that it needs a script manager first... I'm lost.
Cheers
place the scriptmanager on the masterpage.
place the scriptmanagerproxy on each content page.
you wouldn't happen to have a code example of how to use the proxy manager, would you?
In the Master page, it would be like
<form runat="server">
<asp:ScriptManager id="sm1" runat="server" /
... rest of masterpage markup
</form>
In the content page
<asp:ScriptManagerProxy ID="smp1" runat="server">
<Services>
<asp:ServiceReference Path="~/common/services/ReportData.asmx" />
</Services>
</asp:ScriptManagerProxy>
yeah, that's kinda what I thought... unfortunately (for me!), it's still refreshing the whole page...
hmm... maybe a little more explanation of the page...
I have the script manager in the master page, the proxy manager is in the content page. Also in the content page, I have a GridView in an UpdatePanel. The update panel has an AsyncPostBackTrigger setup on a timer tick, so, I obviously also have a timer on the page (not IN the update panel, it's actually just above it). This used to work perfectly, the grid view would update without refreshing the whole page, users were happy (a near impossibility!), everything was hunky-dory... then I decided to upgrade <grin>.
Any help would be awesome.
Cheers
i dont know why you just don't put the Timer inside the UpdatePanel's Content template, but i'd suggest trying that...
Also this post:
http://forums.asp.net/thread/1452109.aspx
Solved a timer issue i had
wonderbar... works perfectly now.
thanks!
I tried this. It still complains about unknown element 'ScriptMangerProxy'. Any idea why is that? But strange thing is: it compiled.
mbanavige:
place the scriptmanager on the masterpage.
place the scriptmanagerproxy on each content page.
No comments:
Post a Comment