Hi,
I have created a silverlight page with xamoutlookbar which has the hierarchy like the following
xamoutlookbar group1 datetime1Control datetime2Control group2 CheckBox1Control CheckBox2Control RadioButton1Control group3 Calendar1Control
But whenever I try to get the value of these controls, I am getting null reference exception.For eg:-
I tried both the following codes
DateTime dTime = datetime1Control.SelectedDate.Value;DatePicker dPicker1 = this.FindName("datetime1Control") as DatePicker;
Please help
Thanks-Sajin
This is known limitation in Silverlight, this post should give you more information.
HTH,
Thanks for your reply.
But using that approach I get the first control, but I want something like 3rd control from the group.
Thanks
-Sajin