Hello -
I have a simple RadGrid that returns a number of records with href links. It also has paging enabled. I would like to see a LoadingPanel when the user clicks one of the links in the RadGrid, but not when they make a paging request. From what I have read this would be possible utilizing the EventName when creating the AjaxSetting, like so:
The above markup works great for selecting the links in the RadGrid and showing the LoadingPanel, but it also shows during the paging requests. Essentially it performs the same regardless of if I specify the EventName or not. I can change EventName to anything and it still always fires.
Am I missing something here or is this not possible?
Thanks
I have a simple RadGrid that returns a number of records with href links. It also has paging enabled. I would like to see a LoadingPanel when the user clicks one of the links in the RadGrid, but not when they make a paging request. From what I have read this would be possible utilizing the EventName when creating the AjaxSetting, like so:
<
telerik:AjaxSetting
AjaxControlID
=
"MyRadGrid"
EventName
=
"SelectedIndexChanged"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"panelResults"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:RadGrid
ID
=
"MyRadGrid"
runat
=
"server"
GridLines
=
"None"
Width
=
"700px"
AllowPaging
=
"true"
PageSize
=
"10"
OnNeedDataSource
=
"MyRadGrid_NeedDataSource"
EnableViewState
=
"true"
Visible
=
"true"
>
<
MasterTableView
Caption
=
"My Report"
CommandItemDisplay
=
"Top"
CommandItemSettings-ShowAddNewRecordButton
=
"false"
DataKeyNames
=
"ReportInfoID"
NoDetailRecordsText
=
"Nothing Found."
>
<
PagerStyle
Mode
=
"Slider"
/>
<
Columns
>
<
telerik:GridButtonColumn
UniqueName
=
"ReportURL"
DataTextField
=
"Name"
CommandName
=
"Select"
></
telerik:GridButtonColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
The above markup works great for selecting the links in the RadGrid and showing the LoadingPanel, but it also shows during the paging requests. Essentially it performs the same regardless of if I specify the EventName or not. I can change EventName to anything and it still always fires.
Am I missing something here or is this not possible?
Thanks