Welcome to AspAdvice Sign in | Join | Help

June 2007 - Posts

ViewState & posting with callbacks

ASP.NET Ajax makes it easy since UpdatePanel is capable to keep ViewState in sync, but if you insist using callbacks, you might have something to think. Basically first issue is that with callbacks the data to post to the server is gathered at WebForm_InitCallback()
Posted by joteke | 0 Comments
Filed under:

Updated the post from popup sample for ASP.NET 2.0

I just updated my post's "ASP.NET: How to create a postback on a main page from a popup window" sample code to work with ASP.NET 2.0's event validation. Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live
Posted by joteke | 0 Comments
Filed under:

Login control and ViewState on successful logon

On Forums someone had issues with Login control, as he had custom authentication scheme in use and in Authenticate event handler, set a value to ViewState. And he had hard time figuring why the value wasn't there on next request when user was logged
Posted by joteke | 2 Comments
Filed under:

Access Headertemplate and FooterTemplate of a Repeater in code

Asked on Forums. Point is that say you have a Repeater like this: <asp:Repeater ID="Repeater1" runat="server"> <HeaderTemplate> <asp:Label ID="lblHeaderDisplay" runat="server" /> </HeaderTemplate>
Posted by joteke | 2 Comments
Filed under: