I am developing a GIS web app (mapping) in C# ASP.net.
I have an Ajax TabContainer housing several TabPanels with a table. The table contains other content such as the map window, scale bar etc (all from the ESRI WebAdf toolkit).
Here’s a slimmed down version of my table without the other content…
<table id="MainTable>
<tr>
<td>
<ajax:TabContainer runat="server" ActiveTabIndex="0" id="TabContainer" CssClass="ajax__tab_xp">
<ajax:TabPanel runat="server" HeaderText="Online Mapping Service" ID="TabPanel1">
</ajax:TabPanel>
<ajax:TabPanel ID="TabPanel2" runat="server" HeaderText="Postcode">
</ajax:TabPanel>
<ajax:TabPanel ID="TabPanel3" runat="server" HeaderText="Coordinates">
<ContentTemplate>
</ajax:TabPanel>
</ajax:TabContainer>
</td>
</tr>
</table>
On Postback at runtime my Tabcontainer sometimes dissapears. This issue is not browser specific.
So far I have tried with no success to…
- Set Z-Index with Relative positioning for the TabContainer
-
Include a JQuery script to ‘show’ the TabContainer…
<script type="text/javascript" language="javascript"> $(document).ready(function() { $("#TabContainer").show(); }); </script>
Is there some C# I can include in the code behind along the lines of?…
Public void page_Load(object sender, EventArgs e)
{
TabContainer.show()
}
Fairly new to programming and trying to figure out how to ‘always show’ or ‘always ontop’ the TabContainer.
Thanks
Ok, sorted this. There was an issue with the AJAX Toolkit not posting back client side…