I'm having a problem implementing Load On Demand for TabStrip. I've implemented everything on the demo page but when I run my code I'm getting an error in the code behind on the function:
The error is "Multiple controls with the same ID 'Subdomains' were found. FindControl requires that controls have unique IDs.". Basically when the page loads first and you click on the tabs everything is great and working but if you re-click a tab that you already have clicked then you get this error. It's almost like the JS code below isn't running and yes my RadTabStrip is calling OnClientTabSelecting="onTabSelecting".
Any help would be greatly appreciated. Thanks!
protected void RadTabStrip1_TabClick(object sender, RadTabStripEventArgs e)
{
AddPageView(e.Tab.Text);
e.Tab.PageView.Selected = true;
}
The error is "Multiple controls with the same ID 'Subdomains' were found. FindControl requires that controls have unique IDs.". Basically when the page loads first and you click on the tabs everything is great and working but if you re-click a tab that you already have clicked then you get this error. It's almost like the JS code below isn't running and yes my RadTabStrip is calling OnClientTabSelecting="onTabSelecting".
<
script
type
=
"text/javascript"
>
function onTabSelecting(sender, args)
{
if (args.get_tab().get_pageViewID())
{
args.get_tab().set_postBack(false);
}
}
</
script
>
Any help would be greatly appreciated. Thanks!