DateTimePicker stays on top when mdichild closes

4 posts, 0 answers
  1. Peter
    Peter avatar
    2 posts
    Member since:
    Mar 2008

    Posted 19 Mar 2008 Link to this post

    Hi,

    I've got an MDI Application in which there are MDIChildforms whom contain RadDateTimePickers. when the Windowstate of the mdichilform is normal, the datetimepicker is selected (showing the calendar) and i then close the childform, the calendar still stays on top. If you click inside the calendar, the application will crash because the control doesnt exist anymore...

    Any help?

    Peter
  2. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 21 Mar 2008 Link to this post

    Hello Peter,

    This is one very strange issue. Have you tried to hide the dropDown when changing the state of the form?
    For example to hide the popup you can use the following:

    (datepicker.DateTimePickerElement.GetCurrentBehavior() as RadDateTimePickerCalendar).PopupControl.Hide();

    I hope this helps.

    Please, write me back if you need more assistance.

    Kind regards,
    Boyko Markov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Kevin Meyer
    Kevin Meyer avatar
    36 posts
    Member since:
    Dec 2007

    Posted 27 May 2008 Link to this post

    We've experienced the same strange behavior.  Honestly, it shouldn't be the developer's responsibility to clean up the rad controls when a form is closed.
  5. Boyko Markov
    Admin
    Boyko Markov avatar
    610 posts

    Posted 30 May 2008 Link to this post

    Hi Kevin Meyer,

    We are still investigating the issue. I believe we will address it in time for the next major release.

    Greetings,
    Boyko Markov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top