TextBox-like button?

4 posts, 0 answers
  1. Martin
    Martin avatar
    26 posts
    Member since:
    Jul 2012

    Posted 01 Oct 2012 Link to this post

    Hi,

    I would like to have button, that looks just like regular text box, but when clicked, it redirects to my custom picker page? I'm not sure if RadListPicker can be overridden for similar behavior or not.

    Currently I use TextBox with invisible rectangle placed over it with Tap event handler. This solution is not perfect, because this way the underlying textbox shows no interaction when the rectangle is clicked like changes the textbox content color from gray to white when pressed and holding and also no Tilt effect is shown.

  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 01 Oct 2012 Link to this post

    Hi,

    Please take a look at RadPickerBox.

    Kind regards,
    Valentin.Stoychev
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

  3. DevCraft banner
  4. Martin
    Martin avatar
    26 posts
    Member since:
    Jul 2012

    Posted 03 Oct 2012 Link to this post

    RadPickerBox looks fine, but why is the default template different to classic "settings item" template? It should have gray header aligned to the left instead of white centered header.

    I should try creating custom style, but it's more work for me.

  5. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 05 Oct 2012 Link to this post

    Hello Martin,

    Thanks for writing.
    I think the list picker is the right match for your scenario.
    You can set the InlineModeThreshold property to 1. This way, the list picker will always display as a popup. However, this is just a popup, not a different page. If a new page is required, you will have to implement a custom solution.

    All the best,
    Victor
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top