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

TextBox - Multi Line property

2 Answers 95 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Omlac
Top achievements
Rank 1
Omlac asked on 03 Sep 2008, 06:59 AM
Hi all,
i got a problem with a text, each time i set the TextMode to MultiLine or Password nothing gets written when i load text into the textbox from a database.
I can write to the textbox with the correct format but once i want to load from the db. nothing gets written to it.
Does anyone know whats wrong my control

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 03 Sep 2008, 07:06 AM
Hello Omlac,

Generally ASP.NET will prevent setting this by default (somebody will steal your passwords) however you can try this alternative approach (if you still want):
http://forums.asp.net/p/1123635/1767529.aspx#1767529

Greetings,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Omlac
Top achievements
Rank 1
answered on 03 Sep 2008, 07:41 AM

This is how the texbox properties look like, but the whole control wont appear when the page loads but it has the correct value, just that it becomes invisible.

<

telerik:RadTextBox ID="tboComment" TextMode="MultiLine" value='<%# Eval("MultiLine") %>' Text='<%# Bind("MultiLine") %>' runat="server" Width="421px" Height="108px">

</telerik:RadTextBox></td>

Tags
General Discussions
Asked by
Omlac
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Omlac
Top achievements
Rank 1
Share this question
or