Has anyone successfully used a gridview component with the ASPDotNetStorefront DB class.
I'm creating a custom page that will be using a GridView component to capture data to a new table I added. However if I use the DB.FillDataSet function to create the data source for the control, I get an error message when a postback event executes on the page. The following message occurs:
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
The problem does not occur if I make the connection using a SQLDataSource component. I would prefer to use the DB class so that I do not have to maintain two separate connection strings.
Thanks,
John