Click here to Skip to main content
15,891,745 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi i have a textbox in radgridview. And i want to get that textbox value into my codebehind file to pass it into view model. Here i didnt get "findcontrol" property so any one please help me how to get the textbox value.
Posted
Comments
Erik Rude 28-Mar-12 8:51am    
post your code - it may help people understand what you're trying to do.

1 solution

Using FindControl would not make any sense in WPF (as well as in System.Windows.Forms, by the way). You can add the attribute name to the XAML TextBox element and give it a value of valid C# identifier. It will generate C# member declaration in your window or page class. Use it. In your case, use myTextBox.Text.

—SA
 
Share this answer
 
Comments
ProEnggSoft 29-Mar-12 1:30am    
5!
Sergey Alexandrovich Kryukov 29-Mar-12 10:51am    
Thank you.
--SA

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