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

PreLoad the textbox

1 Answer 68 Views
InputPrompt
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Fredrik
Top achievements
Rank 1
Fredrik asked on 27 Jun 2013, 01:29 PM
Hi !!

Need to use the inputbox to write some new OR edit some existing text.
DonĀ“t see how I can set the textbox text value to a preloaded value when I wish to edit a text or do I need to overirride the hole control template?

Is this possible?

Regards

Fredrik

1 Answer, 1 is accepted

Sort by
0
Accepted
Todor
Telerik team
answered on 01 Jul 2013, 07:13 AM
Hello Fredrik,

Thank you for your question.

You can set the Text property of the text box fields by applying a custom style. Here you can see some examples for RadInputPrompt, including ones for applying a custom style for the text field(s). You just need to add a Setter for the Text property and set it to the desired initial value.

I hope this information helps. Let me know if you need additional assistance.

Regards,
Todor
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
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 >>
Tags
InputPrompt
Asked by
Fredrik
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or