Hi,
Since adding a RadAjaxManager to the page my RadGrid isn't being populated on page load. there are 2 dropdowns that when changed will trigger the grid being updated, I just can't get it loading correctly.
Works 100% fine with the manager removed.
Note; there is no backend code. there is nothing on the Masterpage other than a single RadScriptManager.
Thanks in advance for any help you can provide.
Since adding a RadAjaxManager to the page my RadGrid isn't being populated on page load. there are 2 dropdowns that when changed will trigger the grid being updated, I just can't get it loading correctly.
Works 100% fine with the manager removed.
Note; there is no backend code. there is nothing on the Masterpage other than a single RadScriptManager.
Thanks in advance for any help you can provide.
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"rcbPeriods"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadHtmlChart1"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"rgOustanding"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"rcbRegion"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadHtmlChart1"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"rgOustanding"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"rgOustanding"
/>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
telerik:RadAjaxLoadingPanel
ID
=
"RadAjaxLoadingPanel1"
runat
=
"server"
Skin
=
"Default"
>
</
telerik:RadAjaxLoadingPanel
>
<
div
style
=
"width:900px;margin-left:auto; margin-right:auto;"
>
<
table
>
<
tr
>
<
td
style
=
"vertical-align:top;"
>
<
div
style
=
"float: right; width: 570px; border: solid 0px blue;"
>
<
div
class
=
"panels"
>
<
div
class
=
"headersDiv"
>
<
h3
class
=
"headersh3"
>
Dashboard
</
h3
>
</
div
>
<
div
style
=
"margin:10px;"
>
<
p
>
<
strong
>Select Period: </
strong
>
<
telerik:RadComboBox
ID
=
"rcbPeriods"
runat
=
"server"
AutoPostBack
=
"true"
AppendDataBoundItems
=
"true"
DataSourceID
=
"sdsPeriods"
DataTextField
=
"PeriodLongName"
DataValueField
=
"PeriodCode"
>
</
telerik:RadComboBox
>
<
strong
>Select Region: </
strong
>
<
telerik:RadComboBox
ID
=
"rcbRegion"
runat
=
"server"
AutoPostBack
=
"true"
AppendDataBoundItems
=
"true"
DataSourceID
=
"sdsRegion"
DataTextField
=
"Region"
DataValueField
=
"Region"
>
</
telerik:RadComboBox
>
</
p
>
<
asp:SqlDataSource
ID
=
"sdsPeriods"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:csOHS %>"
SelectCommand="uspSelectFilteredPeriods" SelectCommandType="StoredProcedure">
</
asp:SqlDataSource
>
<
asp:SqlDataSource
ID
=
"sdsRegion"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:csOHS %>"
SelectCommand="uspSelectRegion" SelectCommandType="StoredProcedure">
</
asp:SqlDataSource
>
<
br
/>
<
telerik:RadHtmlChart
ID
=
"RadHtmlChart1"
runat
=
"server"
DataSourceID
=
"sdsChart"
Width
=
"550px"
Height
=
"500px"
>
<
ChartTitle
Text
=
"12 Month Rolling Totals"
>
<
Appearance
>
<
TextStyle
FontSize
=
"16px"
></
TextStyle
>
</
Appearance
>
</
ChartTitle
>
<
PlotArea
>
<
Series
>
<
telerik:ColumnSeries
DataFieldY
=
"LTINo"
Name
=
"LTI"
>
<
LabelsAppearance
Visible
=
"false"
></
LabelsAppearance
>
</
telerik:ColumnSeries
>
<
telerik:ColumnSeries
DataFieldY
=
"DARTRWI"
Name
=
"DARTRWI"
>
<
LabelsAppearance
Visible
=
"false"
></
LabelsAppearance
>
</
telerik:ColumnSeries
>
<
telerik:ColumnSeries
DataFieldY
=
"MTINo"
Name
=
"MTINo"
>
<
LabelsAppearance
Visible
=
"false"
></
LabelsAppearance
>
</
telerik:ColumnSeries
>
<
telerik:ColumnSeries
DataFieldY
=
"FAINo"
Name
=
"FAINo"
>
<
LabelsAppearance
Visible
=
"false"
></
LabelsAppearance
>
</
telerik:ColumnSeries
>
<
telerik:ColumnSeries
DataFieldY
=
"SI"
Name
=
"SI"
>
<
LabelsAppearance
Visible
=
"false"
></
LabelsAppearance
>
</
telerik:ColumnSeries
>
</
Series
>
<
XAxis
DataLabelsField
=
"SiteName"
>
<
LabelsAppearance
RotationAngle
=
"75"
></
LabelsAppearance
>
</
XAxis
>
</
PlotArea
>
</
telerik:RadHtmlChart
>
<
asp:SqlDataSource
ID
=
"sdsChart"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:csOHS %>"
SelectCommand="uspChartStats" SelectCommandType="StoredProcedure">
<
SelectParameters
>
<
asp:ControlParameter
ControlID
=
"rcbPeriods"
Name
=
"PeriodCode"
Type
=
"String"
PropertyName
=
"SelectedValue"
/>
<
asp:ControlParameter
ControlID
=
"rcbRegion"
Name
=
"Region"
Type
=
"String"
PropertyName
=
"SelectedValue"
/>
</
SelectParameters
>
</
asp:SqlDataSource
>
</
div
>
</
div
>
</
div
>
</
td
>
<
td
style
=
"vertical-align:top;"
>
<
div
class
=
"panels"
style
=
"width:150px"
>
<
div
class
=
"headersDiv"
>
<
h3
class
=
"headersh3"
>Outstanding Sites</
h3
>
</
div
>
<
div
style
=
"margin:5px;"
>
<
telerik:RadGrid
ID
=
"rgOustanding"
runat
=
"server"
DataSourceID
=
"sdsOutstanding"
EnableAJAX
=
"false"
>
</
telerik:RadGrid
>
<
asp:SqlDataSource
ID
=
"sdsOutstanding"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:csOHS %>"
SelectCommand="uspScorecardOutstanding" SelectCommandType="StoredProcedure">
<
SelectParameters
>
<
asp:ControlParameter
ControlID
=
"rcbPeriods"
Name
=
"PeriodCode"
Type
=
"String"
PropertyName
=
"SelectedValue"
/>
<
asp:ControlParameter
ControlID
=
"rcbRegion"
Name
=
"Region"
Type
=
"String"
PropertyName
=
"SelectedValue"
/>
</
SelectParameters
>
</
asp:SqlDataSource
>
</
div
>
</
div
>
</
td
>
</
tr
>
</
table
>
</
div
>