I have RadWindow popup all things working on it fine just I faced with a problem is that the RadWindow after PostBack the RadWindow is closed immediately ..! I mean this event OnSelectedIndexChanged="ddltype_SelectedIndexChanged" has fired however I putted UpdatePanel in side
<
p
><
telerik:RadWindow
ID
=
"RadWindow1"
runat
=
"server"
Modal
=
"true"
Behaviors
=
"Close"
> <
br
> </
p
><
p
><
ContentTemplate
></
p
><
p
><
strong
>the UpdatePanel goes here</
strong
></
p
><
p
></
ContentTemplate
></
p
><
p
></
telerik:RadWindow
></
p
>
but I getting this error mesasage
Cannot unregister UpdatePanel with ID '' since it was not registered with the ScriptManager. This might occur if the UpdatePanel was removed from the control tree and later added again, which is not supported. Parameter name: updatePanel
what is wrong with the code thanks in advance
Entire code
<
p
><
telerik:RadWindowManager
ID
=
"RadWindowManager1"
runat
=
"server"
Width
=
"400"
Height
=
"200"
><
br
> <
br
><
br
> <
Windows
><
br
><
br
> <
telerik:RadWindow
ID
=
"RadWindow1"
runat
=
"server"
Modal
=
"true"
Behaviors
=
"Close"
><
br
> <
br
> <
br
> <
ContentTemplate
><
br
><
br
> <
br
> <
br
> <
br
><
br
><
br
> <
asp:DropDownList
ID
=
"ddltype"
runat
=
"server"
OnSelectedIndexChanged
=
"ddltype_SelectedIndexChanged"
DataSourceID
=
"sdsCalFeulTypesNew"
AutoPostBack
=
"true"
DataTextField
=
"CalFeulTypeName"
DataValueField
=
"CalFeulTypeId"
><
br
><
br
> <
asp:ListItem
Selected
=
"True"
>Select ...</
asp:ListItem
><
br
><
br
><
br
><
br
> </
asp:DropDownList
><
br
><
br
><
br
><
br
><
br
> <
asp:SqlDataSource
ID
=
"sdsCalFeulTypesNew"
runat
=
"server"
<br> ConnectionString="<%$ ConnectionStrings:Myconnectionstring %>"<
br
> SelectCommandType="StoredProcedure" SelectCommand="SPCommandName"><
br
><
br
> <
SelectParameters
><
br
><
br
><
br
> <
asp:Parameter
Name
=
"FeulCatFkey"
Type
=
"Int32"
DefaultValue
=
"1"
/><
br
><
br
><
br
> </
SelectParameters
><
br
><
br
> </
asp:SqlDataSource
><
br
><
br
><
br
><
br
><
br
><
br
><
br
> <
telerik:RadAutoCompleteBox
ID
=
"RadAutoCompleteBox1"
CssClass
=
"racSlide"
Style
=
"padding: 5px; margin: 5px; width: 70%;"
Font-Bold
=
"true"
<br> TextSettings-SelectionMode="Single" runat="server" DropDownWidth="240px"<
br
> InputType="Text" DataSourceID="sdsCalculationName" DataTextField="CalculationName" DataValueField="Calculation_ID"<
br
> EmptyMessage="Search Items" MinFilterLength="2" MaxResultCount="10" AllowTokenEditing="true"<
br
> EnableClientFiltering="false" AllowCustomEntry="true"<
br
> AutoPostBack="false" EnableAjaxSkinRendering="False" EnableTextSelection="True"<
br
> EnableAriaSupport="True" Filter="StartsWith"><
br
> </
telerik:RadAutoCompleteBox
><
br
><
br
><
br
><
br
><
br
><
br
><
br
><
br
><
br
> <
div
style
=
"margin-top: 60px; margin-left: 10px;"
><
br
><
br
><
br
><
br
> <
asp:Button
runat
=
"server"
ID
=
"btnCancel"
CssClass
=
"btn btn-danger"
Text
=
"Cancel"
Style
=
"margin-top: 5px;"
/><
br
><
br
><
br
><
br
> <
asp:Button
runat
=
"server"
ID
=
"btnNewCalculation"
CssClass
=
"btn btn-info"
OnClick
=
"btnNewCalculation_Click"
Text
=
"Start Calculation"
Style
=
"margin-top: 5px;"
ValidationGroup
=
"VGCal"
/><
br
><
br
><
br
> </
div
><
br
><
br
><
br
><
br
><
br
> <
asp:SqlDataSource
ID
=
"sdsCalculationName"
runat
=
"server"
<br> ConnectionString="<%$ ConnectionStrings:Myconnectionstring %>"<
br
> SelectCommandType="StoredProcedure" SelectCommand="spCommandName"><
br
> <
SelectParameters
><
br
><
br
><
br
> <
asp:Parameter
Name
=
"dep"
Type
=
"int16"
DefaultValue
=
"1"
/><
br
><
br
> </
SelectParameters
><
br
> </
asp:SqlDataSource
><
br
> <
br
><
br
> <
br
><
br
><
br
><
br
><
br
> </
ContentTemplate
><
br
><
br
> <
br
> </
telerik:RadWindow
><
br
><
br
> </
Windows
><
br
><
br
> <
br
><
br
><
br
> <
br
> <
br
> </
telerik:RadWindowManager
></
p
><
p
></
p
>