The Live Examples:window/examples/clientsideevents
(My version is AJAX Q3 2013 released 10/15/2013)
in "Dialog.aspx",I just replace asp Button with RadButton, the OnClientClicked does not work.
Here is "Dialog.aspx" code snippet whitch i added a RadButton :
(My version is AJAX Q3 2013 released 10/15/2013)
in "Dialog.aspx",I just replace asp Button with RadButton, the OnClientClicked does not work.
Here is "Dialog.aspx" code snippet whitch i added a RadButton :
<
table
style
=
"text-align: center; width: 250px;"
>
<
tr
>
<
td
>
To provide an argument, fill in the value and click on "Close with argument" button
below:<
br
/>
<
br
/>
<
asp:TextBox
ID
=
"TextBox1"
runat
=
"server"
></
asp:TextBox
><
br
/>
<
br
/>
<
asp:Button
ID
=
"Button1"
runat
=
"server"
Text
=
"Close RadWindow"
OnClientClick
=
"Close();return false;"
/><
br
/>
<
br
/>
<
asp:Button
ID
=
"Button2"
runat
=
"server"
Text
=
"Close with argument"
OnClientClick
=
"CloseWithArg();return false;"
/>
<
br
/>
RadButton1 is added by myself,but the OnClientClicked event does not work.
<
telerik:RadButton
ID
=
"RadButton1"
runat
=
"server"
Text
=
"RadButton"
OnClientClicked
=
"Close();return false;"
></
telerik:RadButton
>
</
td
>
</
tr
>
</
table
>