Hi,
I have a RadWindowManager containing some Windows. There's one that looks like a confirm dialog that I want to call a Server Side function on click.
RadWindowManager:
I have another button (btnPrint) on my page that do a postback and set the "rwIsBilanCompleted.VisibleOnPageLoad" to true so that it shows when it refresh. So I set my RadAjaxManager like this:
It works well. The problem is that when I click on btnIBC_Yes, the entire page refresh like if there was no ajax.
Did I miss something?
Thanks.
I have a RadWindowManager containing some Windows. There's one that looks like a confirm dialog that I want to call a Server Side function on click.
RadWindowManager:
<
telerik:RadWindowManager
ID
=
"rwManager"
runat
=
"server"
Behaviors
=
"Default"
DestroyOnClose
=
"false"
Modal
=
"true"
RestrictionZoneID
=
"containerBCM"
VisibleStatusbar
=
"false"
IconUrl
=
"Images/Icons/064-Information-circle-Icon16x16.png"
>
<
Windows
>
<
telerik:RadWindow
runat
=
"server"
ID
=
"winRapport"
Modal
=
"true"
InitialBehaviors
=
"Maximize"
EnableShadow
=
"True"
>
</
telerik:RadWindow
>
<
telerik:RadWindow
ID
=
"rwSub"
runat
=
"server"
Behaviors
=
"Close"
Width
=
"600px"
Height
=
"200px"
DestroyOnClose
=
"false"
Modal
=
"true"
>
</
telerik:RadWindow
>
<
telerik:RadWindow
ID
=
"rwIsBilanCompleted"
runat
=
"server"
Behaviors
=
"Close"
Width
=
"310px"
Height
=
"120px"
DestroyOnClose
=
"false"
Modal
=
"true"
Title
=
"GESPHARxLite 2"
>
<
ContentTemplate
>
<
div
class
=
"rwDialogPopup radconfirm"
>
<
div
class
=
"rwDialogText"
>
<
telerik:RadCodeBlock
ID
=
"RadCodeBlock2"
runat
=
"server"
>
<%=GetMessageEx(5738).TexteHTML%>
</
telerik:RadCodeBlock
>
</
div
>
<
div
>
<
telerik:RadButton
runat
=
"server"
ID
=
"btnIBC_Yes"
Width
=
"70px"
Style
=
"margin: 8px 8px 8px 0px; float: left;"
></
telerik:RadButton
>
<
telerik:RadButton
runat
=
"server"
ID
=
"btnIBC_No"
Width
=
"70px"
Style
=
"margin: 8px 8px 8px 0px; float: left;"
></
telerik:RadButton
>
</
div
>
</
div
>
</
ContentTemplate
>
</
telerik:RadWindow
>
</
Windows
>
</
telerik:RadWindowManager
>
I have another button (btnPrint) on my page that do a postback and set the "rwIsBilanCompleted.VisibleOnPageLoad" to true so that it shows when it refresh. So I set my RadAjaxManager like this:
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
ClientEvents
OnResponseEnd
=
"OnResponseEnd"
></
ClientEvents
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"btnPrint"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"rwManager"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"btnIBC_Yes"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"lblEtatBCM"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"rwIsBilanCompleted"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
It works well. The problem is that when I click on btnIBC_Yes, the entire page refresh like if there was no ajax.
Did I miss something?
Thanks.