more buttons in the date time textbox

2 posts, 0 answers
  1. tomas
    tomas avatar
    139 posts
    Member since:
    Sep 2012

    Posted 30 Sep 2013 Link to this post

    Dear support employee,

    I need to add buttons in the text line next to the drop down box. (To not destroy the validation error box),

    1) clear button
    2) current date button
    3) another icon for the current drop down glyph.

    Can you help me please?

    I would like to create your control descendant to not destroy your templates and themes.

    thank you.

    Tomas
  2. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 03 Oct 2013 Link to this post

    Hi Tomas,

    What I can suggest you is to create a custom UserControl, place inside it the DateTimePicker and the required buttons and use the UserControl after that instead of the DateTimePicker. This is the solution for the moment as the Click event is handled in the DateTimePicker and if you add the buttons in the ControlTemplate they won't work as expected in Silverlight application. Please check the attached sample project which demonstrates the approach.

    Hope this will help you.

    Regards,
    Kalin
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top