Hi All,
I have a button on a form with two dropDownList's and a gridView.
When I click the button the C# code writes some values to a Table which is then shown in the gridView. However, I want the gridView to update after the button has been clicked with the new values in the Table, but it doesn't.
I have added a ScriptManager, UpdatePanel and ContentTemplate around the button, dropDownList and GridView but it wont update without me restarting the page.
Code:
<p>
Which language are you creating a new batch record for?
</p><asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<p>
<asp:DropDownList ID="DropDownList1" runat="server"
DataSourceID="SqlDataSource1" DataTextField="language" DataValueField="id">
</asp:DropDownList>
</p>
<p>What batch number is th ...
Go to the complete details ...