.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

Pagestatepersister expertise, anyone?

Posted By:      Posted Date: September 01, 2010    Points: 0   Category :ASP.Net
I have a simple, two-page (input/output) mobile iPhone web site that is better than 99% done.  On the first page, you enter query-building criteria, and on the second, you get the results.  The results contain a variety of links, some of them local ones that get called with response.redirect, and others external ones that get call directly via hyperlink buttons and controls. My problem is that the second page isn't always always responsive when you return from one of the links (if you left if via one of the redirect links, it never is).  Also, the first page isn't responsive if you return to it from the second page via certain smartphones' built-in backbuttons.  Pagestatepersister sounds like the answer to all of my problems, but I simply can't get the code at http://msdn.microsoft.com/en-us/library/system.web.ui.pagestatepersister(VS.80).aspx to work with my VB project.  Among the things that I'm getting stuck on are: What namespace should I be using in place of "Samples.AspNet.VB"? Where it shows you how to compile the two modules -- does the resultant DLL belong in C:\inetpub\wwwroot\bin\, mywebsite\bin, or both? Is it a "Browsers" or "App_Browsers" directory that you create off of the root of you web app, and what NAME do you give the browser file? As is

View Complete Post

More Related Resource Links

How to start to get expertise in Sharepoint

I am trying to get expertise in a new product to pursue my career in a different direction. I have been working as a helpdesk desktop support for a long time and seems I am stuck...so I want to learn something different. Can someone advise?

PageStatePersister seems not working




I've tried to add ViewState Persistance Mechanism to my project.

I did it exactly with this example http://msdn.microsoft.com/en-us/library/system.web.ui.pagestatepersister%28v=VS.80%29.aspx (i'm working with .NET 2.0)

What about function GetSecureStream() ? I put there code, that it returns filestream, but still no result.

I spent one day on it, and I can't figure out why it's not working, ViewState is still as large as it was before (checked with firebug)


I would like to ask you for some help, hints, advices..

Maybe someone has working example?




ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend