How to hide close button?

4 posts, 0 answers
  1. Paweł
    Paweł avatar
    26 posts
    Member since:
    Jun 2011

    Posted 26 Oct 2011 Link to this post

    Is there any possibility to hide Close Button in DateTimePicker?
    Kind regards,
    Paweł Żochowski 
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 26 Oct 2011 Link to this post

    Hello Paweł,

    In order to remove the close button from the RadDateTimePicker you need to edit its template. You can do this very easy with Expression Blend. Just drop a DateTimePicker control on the design surface, right-click it and choose from the menu Edit Template -> Edit a Copy. Then Blend will generate all the needed resources. Find the Border with  x:Name="CloseButtonContainer", which contains the Close button and remove it.

    Hope this information helps.

    All the best,
    Konstantina
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. DevCraft banner
  4. Paweł
    Paweł avatar
    26 posts
    Member since:
    Jun 2011

    Posted 28 Nov 2011 Link to this post

    After Q3 Update could I hide or change text on Close button without edit whole template?
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 29 Nov 2011 Link to this post

    Hi Paweł,

    Sorry, we didn't make any changes on that behaviour of the RadDateTimePicker control.

    Greetings,
    Konstantina
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top