Test your technical skills online, appear in Virtual Interview and be ready for job!
Twitter Twitter LinkedIn YouTube Google
Be Interview ready ! | Search
Make friends on DotNetFunda.com and expand your network!
Winners

Win Prizes

Announcements
Like us on Facebook
Sponsor
Top Forums Author
Wed, 23-Apr-2014 Authors
Saranpselvam
20
Sheonarayan
10
Sivakumar.S
10
All Time Authors
Jayakumars
3930
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 : 801 | 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



Reply | Reply with Attachment

=> Scroll below for responses


Comments or Responses

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.

Comments / Responses
Select text & click toolbar to format. Formatting appears in viewmode only. HTML Tags are not allowed.
Bold Italic Underline Paragraph Title Code  Link 
 Wait ... Processing ..... please wait.

Found interesting? Add this to: