Hi,
I see a few posts here on the slider.repaint(); and RadSlider1.ClientID as a possible fix. We implemented this in order to allow a div/modal to appear without reloading the whole page. No joy.
Here's the code:
function ShowDiv() {
var MainSearchDivID = '<%=MainSearchDiv.ClientID %>';
var MainD = document.getElementById(MainSearchDivID);
MainD.style.display = "block";
var btnShowDivID = '<%=btnShowDiv.ClientID %>';
var btnHideDivID = '<%=btnHideDiv.ClientID %>';
var btnShow = document.getElementById(btnShowDivID);
var btnHide = document.getElementById(btnHideDivID);
btnShow.style.display = "none";
btnHide.style.display = "block";
var slider = $find("<%= RadSlider1.ClientID %>");
slider.repaint();
return false;
}
We add the ShowDiv on the link which opens the div and yet the first panel shows nothing with the slider. The slider uses letters a through z. When you click 'b' you'll see the values associated with letter b and when you select a, you'll see the values associated with letter a. It is as if the radslider1.clientid isn't recognized and that's why the results aren't populating.
Before my forehead finds the keyboard one more time...thoughts? What are we missing.
I see a few posts here on the slider.repaint(); and RadSlider1.ClientID as a possible fix. We implemented this in order to allow a div/modal to appear without reloading the whole page. No joy.
Here's the code:
function ShowDiv() {
var MainSearchDivID = '<%=MainSearchDiv.ClientID %>';
var MainD = document.getElementById(MainSearchDivID);
MainD.style.display = "block";
var btnShowDivID = '<%=btnShowDiv.ClientID %>';
var btnHideDivID = '<%=btnHideDiv.ClientID %>';
var btnShow = document.getElementById(btnShowDivID);
var btnHide = document.getElementById(btnHideDivID);
btnShow.style.display = "none";
btnHide.style.display = "block";
var slider = $find("<%= RadSlider1.ClientID %>");
slider.repaint();
return false;
}
We add the ShowDiv on the link which opens the div and yet the first panel shows nothing with the slider. The slider uses letters a through z. When you click 'b' you'll see the values associated with letter b and when you select a, you'll see the values associated with letter a. It is as if the radslider1.clientid isn't recognized and that's why the results aren't populating.
Before my forehead finds the keyboard one more time...thoughts? What are we missing.