Setting ViewStateUserKey gives me a “Validation of viewstate MAC failed” error
I have the following in my BasePage class which all my ASPX pages derive from:
I have the following in my BasePage class which all my ASPX pages derive from:
I have an in my form, with 4 different options (items)
What I need to do it’s to set a different color from client side, without PostBack.
I am writing an ASP.NET page which reads data from a database and needs to show it in a table. For some reason, I don’t want to use the gridView.
I’m looking for a lightweight, easy to setup CI server that I can run on my laptop along with Visual Studio & Resharper. I’m obviously looking at all the big names like CruiseControl, TeamCity etc etc but the biggest consideration to me is ease of setup and to a lesser extent memory footprint. Edit: I’d … Read more
I have an ASP.NET TextBox and I want it to be ReadOnly. (The user modify it using another control)
I am developing a user control (ascx) in ASP.NET which uses javascript for manipulating controls. Currently the javascript code is inlined and uses <%= somecontrol.ClientID %> to get the control it needs.
I am using an asmx webservice client to connect to a backend web service and we have multiple environments .In one of the server ,am getting error “The request was aborted: Could not create SSL/TLS secure channel” but every other environments it works fine. I referred below articles already and none of it helped.
Is it possible to generate a new ID for the session using ASP.NET?
When I am using that with Asp-bound field it’s working perfectly
So far I’ve been using Session to pass some variables from one page to another. For instance user role. When a user logs in to the web application the role id of the user is kept in Session and that role is checked at different parts of the application. I’ve recently started thinking why not use static members instead. I can store the same information in a static field and easily access it anywhere in my application (well anywhere the namespace in which that static field resides is included.) I know that using Session variables comes handy sometimes, such that: