Hello All,
I am trying to get the page index and then populate the radgrid with the corresponding page number. But, my NeedDataSource event fires before PageIndexChanged event, which defeats the purpose.
The following link address the issue but, I cannot do the same.
http://www.telerik.com/community/forums/aspnet/grid/needdatasource-being-called-before-pageindexchanged.aspx
Here is my RadGrid Defination
I hope there is some solution this problem.
Thank you
I am trying to get the page index and then populate the radgrid with the corresponding page number. But, my NeedDataSource event fires before PageIndexChanged event, which defeats the purpose.
The following link address the issue but, I cannot do the same.
http://www.telerik.com/community/forums/aspnet/grid/needdatasource-being-called-before-pageindexchanged.aspx
Here is my RadGrid Defination
<
telerik:RadGrid
runat
=
"server"
ID
=
"RadGrid1"
AllowPaging
=
"True"
AllowSorting
=
"true"
OnNeedDataSource
=
"RadGrid1DataSource"
skin
=
"WebBlue"
AllowMultiRowSelection
=
"true"
EnableLinqExpressions
=
"False"
PageSize
=
"25"
OnPageIndexChanged
=
"RadGrid1_PageIndexChanged"
DataSourcePersistenceMode
=
"ViewState"
EnableViewState
=
"false"
>
<
mastertableview
autogeneratecolumns
=
"false"
onneeddatasource
=
"RadGrid1DataSource"
autogeneratedeletecolumn
=
"true"
ShowFilterIcon
=
"false"
AllowMultiRowSelection
=
"true"
>
<
columns
>
<
telerik:GridClientSelectColumn
UniqueName
=
"ClientSelectColumn"
>
</
telerik:GridClientSelectColumn
>
</
columns
>
</
mastertableview
>
<
ClientSettings
EnableRowHoverStyle
=
"true"
>
<
Selecting
AllowRowSelect
=
"True"
></
Selecting
>
</
ClientSettings
>
</
telerik:RadGrid
>
Thank you