Good Day
Something Strange is happening in my App.
I have a Button that Switches the controls no and off(Showing and Hiding)
and the code is like this
and its working well , but now i have a Grid and that grid has paging and its defined like this
as you can see , when a Radgrid is visible the Radschedular needs to hidden, that works fine , until i start clicking on the pages of the grid, while paging, the Scheduler will appear at the bottom.
i need Help on that
Something Strange is happening in my App.
I have a Button that Switches the controls no and off(Showing and Hiding)
and the code is like this
protected
void
btnCalender_Click(
object
sender, EventArgs e)
{
RadToolBarItem textItem = RadToolBar1.FindItemByText(
"Button1"
);
ImageButton btnCalender = (ImageButton)textItem.FindControl(
"btnCalender"
);
if
(RadGrid1.Visible ==
true
)
{
//lblTestlabel.Visible = false;
RadGrid1.Visible =
false
;
RadScheduler1.Visible =
true
;
LeftPane.Collapsed =
false
;
btnCalender.ImageUrl =
"~/images/Picture5.png"
;
}
else
{
RadGrid1.Visible =
true
;
// lblTestlabel.Visible = true;
RadScheduler1.Visible =
false
;
LeftPane.Collapsed =
false
;
btnCalender.ImageUrl =
"~/images/CalenderView.png"
;
}
}
and its working well , but now i have a Grid and that grid has paging and its defined like this
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
AllowPaging
=
"True"
AutoGenerateHierarchy
=
"True"
GridLines
=
"None"
Height
=
"744px"
ondetailtabledatabind
=
"RadGrid1_DetailTableDataBind1"
OnItemCommand
=
"RadGrid1_ItemCommand"
OnItemCreated
=
"RadGrid1_ItemCreated"
onneeddatasource
=
"RadGrid1_NeedDataSource1"
PageSize
=
"10"
Skin
=
"Forest"
Visible
=
"False"
Width
=
"100%"
AllowSorting
=
"True"
>
<
PagerStyle
AlwaysVisible
=
"true"
Mode
=
"NextPrevAndNumeric"
/>
<
ItemStyle
HorizontalAlign
=
"Center"
/>
<
MasterTableView
>
<
CommandItemSettings
ExportToPdfText
=
"Export to Pdf"
/>
<
PagerStyle
AlwaysVisible
=
"True"
/>
</
MasterTableView
>
<
HeaderStyle
HorizontalAlign
=
"Center"
/>
<
AlternatingItemStyle
HorizontalAlign
=
"Center"
/>
</
telerik:RadGrid
>
as you can see , when a Radgrid is visible the Radschedular needs to hidden, that works fine , until i start clicking on the pages of the grid, while paging, the Scheduler will appear at the bottom.
i need Help on that