I have one radgrid in user control.
I am loading that user control using RadMultiPage in my .aspx page.
If I load that user control in default pageview then Pagination dropdown of radgrid working fine but if I load that same user control in other pageview of RadMultiPage using Ajax Request of RadAjaxManager then pagination dropdown not working. It is not performing any action like hover, focused, click etc.
Other pagination controls are working fine. After refreshing grid or after any post back dropdown working fine.
Code of My .aspx file
<
radA:RadAjaxManager
ID
=
"radAjaxManager"
runat
=
"server"
AjaxUrl
=
"OrderMain.aspx"
OnAjaxRequest
=
"radAjaxManager_AjaxRequest"
ClientEvents-OnRequestStart
=
"reqStart()"
ClientEvents-OnResponseEnd
=
"resEnd()"
>
</
radA:RadAjaxManager
>
<
div
id
=
"divReportsTreeViewContainer"
class
=
"reportsTreeViewContainer"
>
<
radT:RadTreeView
ID
=
"radTreeViewReports"
runat
=
"server"
Skin
=
"Arrows/3DClassic"
ImagesBaseDir
=
"Images/"
ExpandDelay
=
"1"
OnNodeExpand
=
"radTreeViewReports_NodeExpand"
ShowLineImages
=
"false"
AutoPostBack
=
"False"
>
</
radT:RadTreeView
>
</
div
>
<
radTS:RadMultiPage
ID
=
"radMultiPageOrders"
runat
=
"server"
RenderSelectedPageOnly
=
"true"
SelectedIndex
=
"0"
>
<
radTS:PageView
ID
=
"defaultPage"
runat
=
"server"
>
<
MyOwnControl:MyControl
runat
=
"server"
id
=
"mycontrol1"
/>
</
radTS:PageView
>
<
radTS:PageView
ID
=
"FirstPage"
runat
=
"server"
>
<
MyOwnControl:MyControl
runat
=
"server"
id
=
"mycontrol1"
/>
</
radTS:PageView
>
</
radTS:RadMultiPage
>
Code of .aspx.cs
protected
void
radAjaxManager_AjaxRequest(
object
sender, Telerik.WebControls.AjaxRequestEventArgs e)
{
switch
(e.Argument)
{
case
1:
{
radMultiPageOrders.SelectedIndex = 0;
break
;
}
case
2:
{
radMultiPageOrders.SelectedIndex = 1;
break
;
}
default
:
{
radMultiPageOrders.SelectedIndex = 0;
break
;
}
}
}
My RadGrid declaration
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
AllowPaging
=
"True"
ShowFooter
=
"true"
Skin
=
"Telerik"
AllowSorting
=
"True"
AutoGenerateColumns
=
"False"
ShowStatusBar
=
"true"
SelectedItemStyle-BackColor
=
"Green"
OnPreRender
=
"RadGrid1_PreRender"
OnNeedDataSource
=
"RadGrid1_NeedDataSource"
OnUpdateCommand
=
"RadGrid1_UpdateCommand1"
OnInsertCommand
=
"RadGrid1_InsertCommand"
OnDeleteCommand
=
"RadGrid1_DeleteCommand"
OnItemDataBound
=
"RadGrid1_ItemDataBound1"
OnItemCommand
=
"RadGrid1_ItemCommand"
PageSize
=
"5"
CellSpacing
=
"0"
></
telerik:RadGrid
>