Hi.
I have a RadGrid on an ASP.NET page. When I do something that requieres a postback directly on the grid, like changing the page size, or browsing to a new page in the grid, my data gets lost and my grid becomes empty. Here's my markup:
I'm binding my grid to a DataTable at runtime. Is there something I'm missing?
Thanks.
I have a RadGrid on an ASP.NET page. When I do something that requieres a postback directly on the grid, like changing the page size, or browsing to a new page in the grid, my data gets lost and my grid becomes empty. Here's my markup:
<
telerik:RadGrid
ID
=
"ReporteGridView"
runat
=
"server"
AllowPaging
=
"True"
PageSize
=
"20"
AllowAutomaticInserts
=
"false"
AllowSorting
=
"True"
ShowStatusBar
=
"true"
Width
=
"880px"
>
<
ExportSettings
ExportOnlyData
=
"true"
IgnorePaging
=
"true"
OpenInNewWindow
=
"true"
/>
<
MasterTableView
NoMasterRecordsText
=
"No hay registros para mostrar"
ShowHeadersWhenNoRecords
=
"True"
PageSize
=
"20"
CommandItemDisplay
=
"None"
Width
=
"100%"
>
<
PagerStyle
FirstPageToolTip
=
"Primera página"
LastPageToolTip
=
"Ultima página"
NextPagesToolTip
=
"Página siguiente"
PageSizeLabelText
=
"Tamaño página"
PrevPagesToolTip
=
"Página anterior"
/>
<
RowIndicatorColumn
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
RowIndicatorColumn
>
<
ExpandCollapseColumn
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
ExpandCollapseColumn
>
</
MasterTableView
>
<
ClientSettings
>
<
Scrolling
AllowScroll
=
"true"
UseStaticHeaders
=
"True"
></
Scrolling
>
</
ClientSettings
>
</
telerik:RadGrid
>
I'm binding my grid to a DataTable at runtime. Is there something I'm missing?
Thanks.