I have been having some issues using the RadWindow as a container with a custom control. The control has a button that searches Active Directory users and it populates a listbox. The indexchange event of the list box should close the window and return properties of the user selected. However, whenever I click the button to search for a user, the window closes. How can this be prevented?
| <telerik:RadWindow runat="server" Behavior="Default" InitialBehavior="None" Left="" |
| Style="display: none;" Title="User Search" Top="" ID="popupSearch" OpenerElementID="btnSearch" |
| Behaviors="Close, Move" Height="325px" Width="350px" Modal="True"> |
| <ContentTemplate> |
| <cc1:UserSearchBox ID="UserSearchBox1" runat="server"></cc1:UserSearchBox> |
| </ContentTemplate> |
| </telerik:RadWindow> |