Hi,
I have an issue on rad html chart; I have a page with rad html pie charts (more than one) inside the rad grid. In grid we have button to select the line and will click on that display the rad pop up window.
My issue is when opening that rad window main page rad html pie charts are disappearing. After I close that rad window and refresh page, it will load correctly.
need an answer as soon as possible
cheers
Waruni
This is how I set up my AjaxManager:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadGrid1"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="RadGrid1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadGrid1"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
VB.NET code:
Dim tvDoc As RadTreeView = New RadTreeView()
tvDoc =
CType(FindControl("rtvDocType"), RadTreeView)
tvDoc.Nodes.Clear()
Here tvDoc gives a ERROR 'NullReferenceException'
How can I make it work. Is there any working example where the Nodes are dinamically added from code behind for the RadTreeView
in a RadComboBox?
Thanks,
Sanjay
Line 88: protected void Page_Load(object sender, System.EventArgs e)
Line 89: {
Line 90: RadAjaxManager.GetCurrent(Page).AjaxSettings.AddAjaxSetting(RadGrid1, RadGrid1, PlaceHolder.FindControl("RadAjaxLoadingPanel1") as RadAjaxLoadingPanel);
Line 91: //store the clientID of the grid to reference it later on the client
Line 92: RadAjaxManager.GetCurrent(Page).ResponseScripts.Add(string.Format("window['gridId'] = '{0}';", RadGrid1.ClientID));
<
AdvancedForm
Modal
=
"true"
/>
<
AppointmentTemplate
>
<
div
>
<
asp:CheckBox
ID
=
"EligibilityCheck"
runat
=
"server"
Text
=
"Eligibility"
TextAlign
=
"Left"
Checked
=
"false"
AutoPostBack
=
"true"
/>
<
br
/>
<%#Eval("Subject") %>
</
div
>
</
AppointmentTemplate
>