I have one form with multiple RadWindows. Each RadWindow has a Radgrid. The grids settings are similar and each is added to an RadAjaxManger.
Grid 1 has it's next / previous buttons renders as follows:
Grid 2 has it's next / previous buttons renders as follows:
Why does grid 2 render its button as a submit and grid 1 doesn't? This is causing the RadAjaxLoadingPanel to not appear for grid 2.
Here is grid 2 declaration:
Grid 1 has it's next / previous buttons renders as follows:
<
input
name
=
"AccountSearchControl$RadGridSearchResults$ctl01$ctl07$ctl03$ctl20"
tabIndex
=
"0"
title
=
"Next Page"
class
=
"rgPageNext"
onclick
=
"return false;WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("
ctl00$MainContentPlaceHolder$radWinAccountSearch$C$AccountSearchControl$RadGridSearchResults$ctl01$ctl07$ctl03$ctl20", "", true, "", "", false, true))"
type
=
"button"
jQuery1304623369855
=
"88"
value
=
" "
/>
Grid 2 has it's next / previous buttons renders as follows:
<
input
name
=
"PayeeHistoryControl$RadGridPayeeHistory$ctl00$ctl03$ctl01$ctl12"
title
=
"Next Page"
class
=
"rgPageNext"
type
=
"submit"
value
=
" "
/>
Why does grid 2 render its button as a submit and grid 1 doesn't? This is causing the RadAjaxLoadingPanel to not appear for grid 2.
Here is grid 2 declaration:
<
telerik:RadGrid
ID
=
"RadGridPayeeHistory"
Skin
=
"Telerik"
AllowSorting
=
"True"
AllowPaging
=
"True"
AllowFilteringByColumn
=
"True"
AutoGenerateColumns
=
"False"
runat
=
"server"
GridLines
=
"None"
CssClass
=
"radgrid"
AllowMultiRowSelection
=
"False"
Width
=
"100%"
PageSize
=
"50"
EnableLinqExpressions
=
"false"
OnNeedDataSource
=
"RadGridPayeeHistory_NeedDataSource"
OnInit
=
"RadGridPayeeHistory_Onit"
OnPreRender
=
"RadGridPayeeHistory_PreRender"
OnSortCommand
=
"RadGridPayeeHistory_OnSortCommand"
OnItemCommand
=
"RadGridPayeeHistory_OnItemCommand"
>
<
MasterTableView
AllowNaturalSort
=
"false"
CommandItemDisplay
=
"Top"
ClientDataKeyNames
=
"DescriptionLineOne, ImportedPaymentMethod.PaymentDescLine3"
DataKeyNames="DescriptionLineOne, DescriptionLineTwo, ImportedPaymentMethod.AddressLineOne, ImportedPaymentMethod.AddressLineTwo,
ImportedPaymentMethod.City, ImportedPaymentMethod.State, ImportedPaymentMethod.Zip, ImportedPaymentMethod.PaymentDescLine1,
ImportedPaymentMethod.PaymentDescLine2, ImportedPaymentMethod.PaymentDescLine3, ImportedPaymentMethod.AccountType">
<
SortExpressions
>
<
telerik:GridSortExpression
FieldName
=
"DescriptionLineOne"
SortOrder
=
"Ascending"
/>
</
SortExpressions
>
<
CommandItemTemplate
>
<
div
class
=
"commandLeft"
>
<
asp:Button
ID
=
"btnPHClearFilters"
runat
=
"server"
Text
=
"Clear Filters"
OnClick
=
"OnClearFiltersClick"
></
asp:Button
>
</
div
>
<
div
class
=
"commandRight"
>
<
span
class
=
"labelA"
>CMS History</
span
>
</
div
>
</
CommandItemTemplate
>
<
NoRecordsTemplate
>
<
span
class
=
"noRecords"
>No CMS history found for the Accounts.</
span
>
</
NoRecordsTemplate
>
<
Columns
>
...
</
Columns
>
</
MasterTableView
>
<
PagerStyle
AlwaysVisible
=
"true"
/>
<
GroupingSettings
CaseSensitive
=
"False"
/>
<
ClientSettings
EnableRowHoverStyle
=
"true"
EnableAlternatingItems
=
"false"
>
<
Selecting
AllowRowSelect
=
"True"
/>
<
Scrolling
AllowScroll
=
"True"
UseStaticHeaders
=
"True"
SaveScrollPosition
=
"true"
ScrollHeight
=
"275px"
/>
</
ClientSettings
>
</
telerik:RadGrid
>