I have a dropdownlist and when the user selects a certain item i would like to open up the radwindow.
I have the following
protected
void ddlSentencing_SelectedIndexChanged(object sender, EventArgs e)
{
if (selectedVal == 2 || selectedVal == 3)
{
ddlSentencing.Attributes.Add(
"onclick", "openRadWinNew(); return false;");
}
}
function openRadWinNew() {
var url = "Dialog.aspx";
var oWnd = radopen(url, "ResponsePopup").setSize(500, 300)
}
it works but always only on second click, one step behind. Can ypu please help me fix this?
Thanks