I am developing a web app that allows a user to browse a datatable. I have an ajax updatepanel set up to only load the appropriate rows based on a value from a combobox. The code follows
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always" >
<Triggers>
<asp:AsyncPostBackTrigger ControlID="websiteComboBox" EventName="SelectedIndexChanged" />
</Triggers>
<ContentTemplate>
<asp:TabContainer ID="TabContainer1" runat="server"
ActiveTabIndex="2">
<asp:TabPanel runat="server" HeaderText="All" ID="TabPanel1" >
<ContentTemplate>
<div class="TabContent">
<asp:GridView ID="AllGridView" CssClass="GridView" runat="server"
CellPadding="4" ForeColor="#333333" GridLines="None"
ShowHeaderWhenEmpty="True" AutoGenerateColumns="True" RowStyle-Wrap="False" Font-Size="X-Small">
...
</ContentTemplate>
</asp:UpdatePanel>
When the page first loads and I select an option from the combobox, the gridview updates appropriately. However, when a change the combobox value the gridview does not update. The SelectedIndexChanged event does not even fire. It works fine without the ajax but there is a lot of information being loaded so narrowing down specific elements requested is essential. Any help will be much appreciated.

New Topic/Question
Reply




MultiQuote



|