This is a migrated thread and some comments may be shown as answers.

TextBox-like button?

3 Answers 45 Views
ImageButton
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Martin
Top achievements
Rank 1
Martin asked on 01 Oct 2012, 08:54 AM

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.

3 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 01 Oct 2012, 08:57 AM
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.

0
Martin
Top achievements
Rank 1
answered on 03 Oct 2012, 01:52 PM

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.

0
Victor
Telerik team
answered on 05 Oct 2012, 07:53 AM
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.

Tags
ImageButton
Asked by
Martin
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Martin
Top achievements
Rank 1
Victor
Telerik team
Share this question
or