how can we set the property of Viewstate?

Posted by subodh on Stack Overflow See other posts from Stack Overflow or by subodh
Published on 2010-05-28T13:15:26Z Indexed on 2010/05/28 13:21 UTC
Read the original article Hit count: 153

Filed under:

I am using a enum

 public enum WatchUsageMode
    {
        Watch = 1,
        EmailPreferences = 2
    }

i want to set the property of that enum in my view state in such a way that whenever view state is null return Watch else EmailPreference.how can i set the property?

© Stack Overflow or respective owner

Related posts about ASP.NET