HI,
I am facing a JavaScript error in my RadTabStrip and am not able to make head or tails of it. Help! This is what I am trying to achieve.
WebPage (Has RadAjaxManagerProxy and no JavaScript)
RadTabStrip
---Tab 1
------User entry Input Boxes
------Next and Previous Navigation buttons
---Tab 2
------Custom User Control containing RadListView (This control has RadAjaxManagerProxy and no JavaScript)
------Next and Previous Navigation buttons
Idea is that User cannot directly go to Tab2 (Tab disabled) unless Tab1 is filled and validated. To go to Tab2 User will have to click on the Next button on Tab1. On the Tab1, Next button click I call the following code:
The problem is that I get a general JavaScript ("undefined is null or not an object") error when ever I click on the Tab1 Next button and the User Control does not render correctly. However, If I just click on Tab2 then I can see the User control correctly without any error.
Not sure what I am doing wrong and where to look. Please advise.
TIA
I am facing a JavaScript error in my RadTabStrip and am not able to make head or tails of it. Help! This is what I am trying to achieve.
WebPage (Has RadAjaxManagerProxy and no JavaScript)
RadTabStrip
---Tab 1
------User entry Input Boxes
------Next and Previous Navigation buttons
---Tab 2
------Custom User Control containing RadListView (This control has RadAjaxManagerProxy and no JavaScript)
------Next and Previous Navigation buttons
Idea is that User cannot directly go to Tab2 (Tab disabled) unless Tab1 is filled and validated. To go to Tab2 User will have to click on the Next button on Tab1. On the Tab1, Next button click I call the following code:
int
selectedIndex = RadTabStrip1.SelectedIndex;
RadTabStrip1.Tabs[selectedIndex+1].Selected =
true
;
RadMultiPage1.SelectedIndex = selectedIndex + 1;
The problem is that I get a general JavaScript ("undefined is null or not an object") error when ever I click on the Tab1 Next button and the User Control does not render correctly. However, If I just click on Tab2 then I can see the User control correctly without any error.
Not sure what I am doing wrong and where to look. Please advise.
TIA