I have this webtab:
<ig:WebTab ID="WebTab1" runat="server" Height="700px" Width="100%"> <PostBackOptions EnableLoadOnDemand="true" EnableAjax="true" /> <Tabs> <ig:ContentTabItem runat="server" Key="Users" Text="Users" ContentUrl="users.aspx"> </ig:ContentTabItem> <ig:ContentTabItem runat="server" Key="Offices" Text="Offices" ContentUrl="offices.aspx"> </ig:ContentTabItem> <ig:ContentTabItem runat="server" Key="Management" Text="Management" ContentUrl="management.aspx"> </ig:ContentTabItem> </Tabs> </ig:WebTab>
Each of the aspx pages have a pretty simple grid (example below) on it. I need the grid to reload each time a user clicks a tab. While one user is changing data on the offices page another user could be changing data on the users page. We need to be reloading the grid each time the tab is clicked.
<ig:WebDataGrid ID="grdMain" DataKeyFields="OfficeID" EnableAjax="False" AutoGenerateColumns="False" runat="server" BorderStyle="Solid" BorderWidth="1px" BorderColor="DarkGray" BackColor="#F2F2F2" Height="300px" Width="100%"> <Columns> <ig:BoundDataField DataFieldName="OfficeAddress" Key="OfficeAddress"> <Header Text="Address" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="OfficePhone" Key="OfficePhone"> <Header Text="Phone" /> </ig:BoundDataField> </Columns> </ig:WebDataGrid>
Thanks, Pat