Problem with calendar popup in RadDatePicer when using Ajax

2 posts, 0 answers
  1. Mateusz
    Mateusz avatar
    2 posts
    Member since:
    Oct 2010

    Posted 12 Dec 2011 Link to this post

    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);
    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,
  2. Milena
    Milena avatar
    257 posts

    Posted 14 Dec 2011 Link to this post

    Hello Mateusz,

    Based on the provided information, I prepared a sample, demonstrating  how the desired functionality could be achieved.
    Please, see the attached project and let me know how it works on your end.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top