Hi,
I want to change visibilty of RadDatePicker with RadComboBox using Ajax.
I also want to add ajax setting code-behind.
I'm using following code:
Everything works great, but there's a problem with RadDatePicker calendar popup. When I click button, it doesn't show after control visible is set to true. It simply does nothing.
No javascript error etc. Do you know what could be wrong? I appreciate any help,
Mateusz
I want to change visibilty of RadDatePicker with RadComboBox using Ajax.
I also want to add ajax setting code-behind.
I'm using following code:
protected
void
Page_Load(
object
sender, EventArgs e)
{ RadAjaxManager1.AjaxSettings.AddAjaxSetting(rcbSelect, rdpDate);
if
(!IsPostback)
rdpDate.Visible =
false
;
}
protected
void
rcbSelect_SelectedIndexChanged(
object
sender, RadComboBoxSelectedIndexChangedEventArgs e)
{ rdpDate.Visible =
true
;
}
Everything works great, but there's a problem with RadDatePicker calendar popup. When I click button, it doesn't show after control visible is set to true. It simply does nothing.
No javascript error etc. Do you know what could be wrong? I appreciate any help,
Mateusz