Search
Winners

Win Prizes

Social Presence
Twitter Twitter LinkedIn YouTube Google

Like us on Facebook
Advertisements
Top Forums Author
Sat, 30-Aug-2014 Authors
Prabu_Spark
10
All Time Authors
Jayakumars
4160
Karthikanbarasan
3455
Chvrsri
3140

Latest members | More ...


(Statistics delayed by 5 minutes)
 Forum Post

Length of a text in Content control

Sankarann
Posted by Sankarann under WPF on 1/30/2012 8:47:59 AM | Points: 10 | Views : 951 | Status : [Member] | Replies : 1


Hi All,

How to get the length of textbox in content control?

I need to get the length of text which is present in a Datatemplate.

i have two text boxes in a DataTemplate and i want to get the length of both the

text present in that textboxes.

Thanks



Posted by: Blessyjees on: 1/31/2012 [Member] Bronze | Points: 25

Hi,

Normally you will get the length of the content by using "textbox1.Text.Length". Are you try like this. did you get any error. Specify the exact problem.

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

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

Login to post response


Found interesting? Add this to: