Hi All,
I am facing a wierd issue. "grid.MasterTableView.get_dataSource()" is null while binding the data on postback in data binding event.
Entire code is in RadWindow.
I am binding data to the RadGrid in "DataBinding" event. In this first i am clearing all the selected items and then binding the data using webservice call. Clearing all the selected items because, when the user selects few records in the first page and navigtes to the next page, the selection is getting retained and few records are selected even in second page. To remove selection, I am keeping the values in the array and marking them selected while navigating. This works perfectly fine.
In RadWindow, i have an 'Apply' button which refreshes the radwindow and binds the data to the radgrid. While executing clearSelectedItems() function, OnRowSelected event is fired and MasterTableView.get_dataSource() is null. Not sure why the datasource is null.
Please help to resolve this.
Thanks,
Vinitha
I am facing a wierd issue. "grid.MasterTableView.get_dataSource()" is null while binding the data on postback in data binding event.
Entire code is in RadWindow.
I am binding data to the RadGrid in "DataBinding" event. In this first i am clearing all the selected items and then binding the data using webservice call. Clearing all the selected items because, when the user selects few records in the first page and navigtes to the next page, the selection is getting retained and few records are selected even in second page. To remove selection, I am keeping the values in the array and marking them selected while navigating. This works perfectly fine.
In RadWindow, i have an 'Apply' button which refreshes the radwindow and binds the data to the radgrid. While executing clearSelectedItems() function, OnRowSelected event is fired and MasterTableView.get_dataSource() is null. Not sure why the datasource is null.
Please help to resolve this.
Thanks,
Vinitha