Hi,
I have implemented drag drop functionality in my silverlight page, inside the event I am trying to access the a page control. I am getting object reference error. but any other silver light page events I am able to access the control...code is here..
private
e)
{
; // here the from is NULL
;
tag = originalDragSource.Tag.ToString();
();
context.Load<
>(context.GetWeatherInfoQuery(from.SelectedDate.Value, to.SelectedDate.Value));
series.Label =
series.ChartType =
.Line;
series.DataPointColor =
.Different;
series.DataMapping =
+tag;
series.DataSource = context.RPT_1HOURs;
.weatherGrid.ItemsSource = context.RPT_1HOURs;
.dataChart.Series.Add(series);
Please let me know.
Thanks
-Sajin
Hello Sajin,
I realize it has been some time since your post. I looked at the source code you provided and from this I am unable to determine the issue you are having. Unless the fromDatePicker is inside of some other container this scenario should work. I have tested this in the attached sample and the behavior was as expected: the fromDatePicker was found. If you still need assistance with this matter, please provide me with more information on the layout of your page.
Sincerely,ValerieDeveloper Support Engineer Infragisticswww.infragistics.com/support