My user control is displayed in a radwindow declared in page1. The web user control contains an asp:panel with it's defaultbutton set to a button on the web user control. Page1 also has a submit button.
If the radwindow content is focused, and I press enter, the button in the web user control works as expected.
If i click the radwindow's title bar or icon, the button in page1 is invoked; this is not desired.
As long as the window is displayed, only the web user control button should work.
If the radwindow content is focused, and I press enter, the button in the web user control works as expected.
If i click the radwindow's title bar or icon, the button in page1 is invoked; this is not desired.
As long as the window is displayed, only the web user control button should work.
<
telerik:RadWindow
ID
=
"radWinAccountSearch"
runat
=
"server"
Title
=
"Account Search"
Behaviors
=
"Move, Reload"
VisibleStatusbar
=
"false"
>
<
ContentTemplate
>
<
ucAccountSearch:AccountSearch
ID
=
"AccountSearchControl"
runat
=
"server"
OnAccountsSelected
=
"AccountSearchControl_AccountsSelected"
/>
</
ContentTemplate
>
</
telerik:RadWindow
>