I have an asp:Gridview bound to an asp:ObjectDataSource. I have disabled the ViewState on the GridView, and have not set the DataKeyNames property. I have about 10 BoundFields and a few TemplateFields
In our application, we have a \"BasePage\" that declares a number of properties to be used by more or less every page in the app.
I know that with other properties you can define their default value by using skins. But for some reason they won\'t let me do this for EnableViewState.
Im not sure why is this happening bu开发者_如何转开发t there is a piece of viewstate being shown on the top of my page with its closing tag.
The 开发者_StackOverflow社区problem that I am having is as follows: I currently have a custom class that generates buttons and places them on a placeholder on a master page.
I am using framework 2.0, and I don\'t understand how the datagrid and the datasets works after doing a postback. In msdn says that there\'s no need to do a databind again if the request 开发者_JAVA百
In my ASP.NET application, I am loading an .ascx dynamically using LoadControl, using the following pattern:
Example I have a gridview having multiple customers. When a user clicks on the customer link then the CustomerId is stored in the Sessi开发者_JS百科on \"CustomerId\".
I can\'t for the life of me work out what I am doing wrong here, despite much searching on SO/Google.
This has me totally puzzled, can anyone explain this? Markup: <form id=\"form1\" runat=\"server\">