protected void grdSupplierDetails_RowDataBound1(object sender, GridViewRowEventArgs e) { try { if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Attributes.Add("onmouseover", "this.style.cursor='pointer'"); e.Row.Attributes["onclick"] = this.Page.ClientScript.GetPostBackClientHyperlink(this.grdSupplierDetails, "Select$" + e.Row.RowIndex.ToString()); e.Row.ToolTip = "Click to select this row."; } } catch (Exception ex) { } }
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.
C:\inetpub\wwwroot\wss\VirtualDirectories
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)