¡@

Home 

c# Programming Glossary: basepage

Setting ViewStateUserKey gives me a “Validation of viewstate MAC failed” error

http://stackoverflow.com/questions/1418233/setting-viewstateuserkey-gives-me-a-validation-of-viewstate-mac-failed-error

MAC failed&rdquo error I have the following in my BasePage class which all my ASPX pages derive from protected override..

CryptographicException: Padding is invalid and cannot be removed and Validation of viewstate MAC failed

http://stackoverflow.com/questions/1821243/cryptographicexception-padding-is-invalid-and-cannot-be-removed-and-validation

same page... Here is what I did... public abstract class BasePage System.Web.UI.Page protected override object LoadPageStateFromPersistenceMedium..

ASP.net “BasePage” class ideas

http://stackoverflow.com/questions/2064943/asp-net-basepage-class-ideas

&ldquo BasePage&rdquo class ideas What cool functionality and methods do you.. cool functionality and methods do you add to your ASP.net BasePage System.Web.UI.Page classes Examples Here's something I use for.. protected virtual bool IsAuthorized get return true My BasePage class contains an instance of this class public class StatusCodeResponse..

Passing a complex object to a page while navigating in a WP7 Silverlight application

http://stackoverflow.com/questions/4701566/passing-a-complex-object-to-a-page-while-navigating-in-a-wp7-silverlight-applica

The way I normally deal with this is problem Have a BasePage with an Object type Data property Have a NavigationHelper get.. event and if it's foo.xaml set the BasePage.Data to FooData. Have BasePage use JSON.Net to tombstone and.. if it's foo.xaml set the BasePage.Data to FooData. Have BasePage use JSON.Net to tombstone and zombificate BasePage.Data. On..

How do I reference an ASP.net MasterPage from App_Code

http://stackoverflow.com/questions/495245/how-do-i-reference-an-asp-net-masterpage-from-app-code

class BaseMaster MasterPage public string MyString get set BasePage.cs using System using System.Web.UI public class BasePage Page.. BasePage.cs using System using System.Web.UI public class BasePage Page protected void Page_Load object sender EventArgs e if.. MyString Do something. And my pages inherit from BasePage public partial class _Default BasePage share improve this..