Click here to Skip to main content
16,004,944 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi in my project having a repeater. in that repeater one of the item template is controlled by a label. i am binding some texts in that label. and also i need to control the texts in that label(cannot exceeds 30 characters)

how can i do that?
thanks
afsal
Posted

set lable->properties->Max length 30.Try this..By vasanth
 
Share this answer
 
Comments
Member 10814381 31-Jan-15 2:39am    
Wrong
<%# Left(Eval("event_desription").ToString(), 25(number of characters we need)%>>
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900