Is it possible to access the controls in the confirm template using C#?
For the code, how to refer to the “btnYes” on the page load function?
I would to access the control because my application will let users change the text on the control.
<
telerik:RadWindowManager
ID
=
"PageAjaxWindowManager"
runat
=
"server"
VisibleStatusbar
=
"false"
OnClientShow
=
"onClientShow"
OnClientClose
=
"onClientClose"
OnClientBeforeClose
=
"ConfirmClose"
>
<
ConfirmTemplate
>
<
div
class
=
"rwDialogPopup radconfirm"
>
<
div
class
=
"rwDialogText"
>
{1}
</
div
>
<
div
>
<
a
onclick
=
"$find('{0}').close(true);"
href
=
"javascript:void(0);"
><
asp:Button
ID
=
"btnYes"
runat
=
"server"
Text
=
"Yes,I do."
/></
a
>
<
a
onclick
=
"$find('{0}').close(false);"
class
=
"rwPopupButton"
href
=
"javascript:void(0);"
><
span
class
=
"rwOuterSpan"
><
span
class
=
"rwInnerSpan"
>##LOC[No]##</
span
></
span
></
a
>
</
div
>
</
div
>
</
ConfirmTemplate
>
<
Windows
>
<
telerik:RadWindow
ID
=
"Window1"
runat
=
"server"
Title
=
"Window 1"
Height
=
"510px"
Width
=
"750px"
Left
=
"20px"
Top
=
"3px"
Modal
=
"true"
/>
<
telerik:RadWindow
ID
=
" Window2"
runat
=
"server"
Title
=
" Window 2 "
Height
=
"480px"
Width
=
"750px"
Left
=
"20px"
Top
=
"3px"
Modal
=
"true"
/>
<
telerik:RadWindow
ID
=
" Window3"
runat
=
"server"
Title
=
" Window 3"
Height
=
"400px"
Width
=
"550px"
Left
=
"50px"
Modal
=
"true"
/>
</
Windows
>
</
telerik:RadWindowManager
>