I was wondering if anyone could help me. I have an updatepanel, within which is a gridview of customer names and a user control. This user control contains a details view of the selected customer and has a public property to get and set this.
The problem I'm having is that I have to select a customer twice before the detailsview will show the change.
The key areas of my code are:
<asp:UpdatePanel ID="GridUpdatePanel" runat="server" UpdateMode="Conditional" >
<asp:GridView ID="GridView1" runat="server" CssClass="gv"></asp:GridView>
<uc2:SimplePV ID="SimplePV1" runat="server" />
Main Webform Code Behind:
protected void Page_Init(object sender, EventArgs e)
GridView1.SelectedIndexChanged += new EventHandler(GridView1_SelectedIndexChanged);
private void bindProductsGrid()
//SQL Data Source details go here....
GridView1.AutoGenerateColumns = false;
//Columns Details go here...
View Complete Post