I have a form inside a RadAjaxPanel and a RadWindow on the same .aspx page. After an initial page load, if I click inside a textbox, which is inside an ajax panel and hit "Enter", the RadWindow opens. I do not want this to happen. I want the form to save. No problem, all I had to do was add a DefaultButton to the Panel around the form inside the RadAjaxPanel. This worked fine, but produced another problem. The form inside the ajax panel is complex. There are LinkButtons after each text box that need to be able to be fired by the "Enter" key when they are highlighted by hitting the "Tab" key. The default button setting overrides those link buttons and the form saves, rather then firing the LinkButton that is highlighted. So, to fix this, you might think I could just put a panel around every link button and set the default button to the link button inside the panel. Well, I cannot do this, because the panels affect the layout of the form by causing carriage returns. Some of the code is pasted below.
Thank you in advance for any help.
-Allan
<
asp:ImageButton ID="HelpImageButton" ImageUrl="/Image/QuestionMark.jpg" runat="server" />
<
radwin:RadWindowManager Visible="true"
id="RadWindowManager1" Skin="Office2007"
VisibleOnPageLoad="false"
runat="server">
<
windows>
<radwin:RadWindow ID="RadWindow1"
OpenerElementId="<%# HelpImageButton.ClientID %>"
Runat="server"
Width="475px"
Height="350px"
NavigateUrl="Help.htm"></radwin:RadWindow>
</
windows>
</
radwin:RadWindowManager>
<
radajax:RadAjaxPanel id="RadAjaxPanel1" runat="server" LoadingPanelID="LoadingPanel1" Width="880px">
<!--complex form here with several textboxes and linkbuttons and one save button.-->
</
radajax:RadAjaxPanel>
<
radajax:AjaxLoadingPanel ID="LoadingPanel1" runat="server" Transparency="25" BackColor="#E0E0E0">
<asp:Image ID="Image1" ImageUrl="../RadControls/AJAX/Skins/Default/Loading7.gif" BorderWidth="0px" AlternateText="Loading" Runat="server"
style="margin-top: 50px;"></asp:Image>
</
radajax:AjaxLoadingPanel>