RadDateTimePicker issue

5 posts, 0 answers
  1. Mallikarjun
    Mallikarjun avatar
    3 posts
    Member since:
    Jul 2008

    Posted 23 Jul 2008 Link to this post

    Hi,

    I am using RadDateTimePicker control. I want to control the pop up window that opens when we select calender/Time view. I mean i need to control the height & width.

    Currently if the RadDateTimePicker is at the bottom of the page & if we select the calender button/Time View then the pop up is chopped off.

    Any help is really appreciated.

    Thanks,
    Mallikarjun
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 23 Jul 2008 Link to this post

    Hello Mallikarjun,

    Refer to the following code library, which elaborates on opening the TimeView depending on control position.

    Kind regards,
    Maria Ilieva
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Mallikarjun
    Mallikarjun avatar
    3 posts
    Member since:
    Jul 2008

    Posted 23 Jul 2008 Link to this post

    Hi Maria ,

    Thanks for the sample. I am using the RadDateTimePicker control. Below is the code that i modified according to your sample.

    RadDateTimePicker

    rad = new RadDateTimePicker();

    rad.ID =

    "rad";

    rad.PopupButton.Attributes[

    "onclick"] = "PopupUpdating(\"" + rad.ClientID + "\");";

    rad.TimeView.Attributes[

    "onclick"] = "PopupUpdating(\"" + rad.TimeView.ClientID + "\");";

    Panel2.Controls.Add(rad);

    For calender view the pop up works fine but for TimeView "PopupUpdating" is not getting fired. Am i missing something?

    Thanks,
    Mallikarjun
  4. Mallikarjun
    Mallikarjun avatar
    3 posts
    Member since:
    Jul 2008

    Posted 24 Jul 2008 Link to this post

    HI,

    Can any one please help me to solve the issue?
    I even tried modifying the code for TimeView. Below is the sample

    RadDateTimePicker rad = new RadDateTimePicker();

    rad.ID =

    "rad";


    rad.TimePopupButton.Attributes[

    "onclick"] = "PopupTimeViewUpdating(\""+rad.ClientID+"\",\"" + rad.TimeView.ClientID + "\");";

    TimeView does not have any default container like calender & show popup function will fail

    Thanks,
    Mallikarjun
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 24 Jul 2008 Link to this post

    Hi Mallikarjun,

    Refer to this link, which provides approach for getting the TimeView wrapper.

    Kind regards,
    Maria Ilieva
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top