asp.net dynamic data application

Posted by Bhupentiwari under ASP.NET on 12/8/2012 | Points: 10 | Views : 885 | Status : [Member] | Replies : 3
Hi All.

i m using ASP.NET Dynamic Data Template for creating the project

i want to display textbox as multiline if my data type size is greater then 50(means varchar(55) from code behind

please help me.

Thanks n Regards
Bhupendra Tiwari



Responses

Posted by: Gow.Net on: 12/8/2012 [Member] Starter | Points: 25

Up
0
Down
hi Bhupentiwari

in text box set property " MaxLength=55" or set " varchar(max)" in your database


gowthaman8870226416

Bhupentiwari, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bhupentiwari on: 12/8/2012 [Member] Starter | Points: 25

Up
0
Down
@gowthaman8870226416

i know this but my manager is telling me to do at code level......

Thanks n Regards
Bhupendra Tiwari

Bhupentiwari, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Pavanandey on: 12/10/2012 [Member] Bronze | Points: 25

Up
0
Down
so first you need to check the datatype size in the database and then you need to fix the text box size dynamically right.

you can do this in pre render event

Thanks
Pavan Kumar
Mark Answer if this fits the need

Bhupentiwari, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response