I am working with the radtabStrip. I have 2 tabs.
On the button click I am taking to the second tab.
In the first tab I have two divs. Each div has has 2 radiobuttons.
The first div is opened always and when a selection is made in the first radio button set, then only the second div of radiobuttons is opened.
In the first user control.
window.onload = function() {
debugger
$('.travelType2Class').hide();
if (document.getElementById("<% =domestic.ClientID %>").checked == true) {
$('.travelType2Class').fadeIn();
}
if (document.getElementById("<% =international.ClientID %>").checked == true) {
$('.travelType2Class').fadeIn();
}
}
It worked fine. And when I went to second usercontrol, I should allow the user to go to the first tab and change some data in middle.
So, when I try to click on first tab, I am able to see the first div with the checked value correctly. The problem is the second div of radiobuttons is not opened.
I dont know what I should do to make the second div state as open when the tab is clicked.
As, I showed here, I tried in the window.onload, but I see that this event is fired for the first time when the first usercontrol loads and is never fired even when that tab is clicked. I even tried in the OnPreRender() method of ascx page. It is getting fired. In that I tried to make the Div visible state as true.
Nothing is working.
I am stuck with this.
Could any one pls tell me how to solve this.
Thanks in advance.
On the button click I am taking to the second tab.
In the first tab I have two divs. Each div has has 2 radiobuttons.
The first div is opened always and when a selection is made in the first radio button set, then only the second div of radiobuttons is opened.
In the first user control.
window.onload = function() {
debugger
$('.travelType2Class').hide();
if (document.getElementById("<% =domestic.ClientID %>").checked == true) {
$('.travelType2Class').fadeIn();
}
if (document.getElementById("<% =international.ClientID %>").checked == true) {
$('.travelType2Class').fadeIn();
}
}
It worked fine. And when I went to second usercontrol, I should allow the user to go to the first tab and change some data in middle.
So, when I try to click on first tab, I am able to see the first div with the checked value correctly. The problem is the second div of radiobuttons is not opened.
I dont know what I should do to make the second div state as open when the tab is clicked.
As, I showed here, I tried in the window.onload, but I see that this event is fired for the first time when the first usercontrol loads and is never fired even when that tab is clicked. I even tried in the OnPreRender() method of ascx page. It is getting fired. In that I tried to make the Div visible state as true.
Nothing is working.
I am stuck with this.
Could any one pls tell me how to solve this.
Thanks in advance.