Search
Winners

Win Prizes

Social Presence
Twitter Twitter LinkedIn YouTube Google

Like us on Facebook
Advertisements
Top Forums Author
Fri, 25-Jul-2014 Authors
Murugavelmsc
20
Santosh.Impossible
10
Sekar.C
10
All Time Authors
Jayakumars
4120
Karthikanbarasan
3455
Chvrsri
3140

Latest members | More ...


(Statistics delayed by 5 minutes)

Length of a text in Content control

Sankarann
Posted by Sankarann under WPF on 1/30/2012 8:47:59 AM | Points: 10 | Views : 906 | 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: