Click here to Skip to main content
16,018,525 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
This is the code

CdrControl.UserControl1 txtAttribute5 = new CdrControl.UserControl1();
txtAttribute5.Width = 100;
txtAttribute5.Height = Double.NaN;
txtAttribute5.IsEnabled = true;
txtAttribute5.Name = "CdrCalendar" + GenerateCode();

txtAttribute5.Margin = new Thickness(0, 0, 0, 15);
txtAttribute5.GotFocus += new RoutedEventHandler(txtAttribute5_GotFocus);
txtAttribute5.LostFocus += new RoutedEventHandler(txtAttribute5_LostFocus);
stackpanel.Children.Add(txtAttribute5);
(txtAttribute5.FindName("txtDate") as TextBox).Text = text;//Assigned a Value here

This is not working....
Posted
Updated 18-Jan-14 1:11am
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