Hi all,
I have a WebdialogWindow, set ContentUrl="Wizards/AddCustomers.aspx" the AddCustomers.aspx page contains a Web tab, inside the tab I have some data fields (WebTextEdit controls) such as First Name, Last Name,...
When I click the left menu item, the Web dialog will be showed (WindowSate: Hidden to Normal) and I want the First Name field should be focused.
My Web Dialog:
<ig:WebDialogWindow ID="WebDialogWindow1" runat="server" Height="325px" Width="550px" Modal="true" WindowState="Hidden" MaintainLocationOnScroll="true" InitialLocation="Centered" StyleSetName="Default" BorderStyle="solid" BorderColor="transparent">
<ContentPane ContentUrl="Wizards/AddCustomers.aspx">
</ContentPane>
<Header Height="25px" CaptionText="Add New Customer" ImageUrl="./images/uppermarkIcon32.ico" ImageCssClass="icon" CaptionAlignment="Left" Font-Bold="True" CaptionTextCssClass="wizardCaption" Font-Size="8pt" ></Header>
</ig:WebDialogWindow>
I set the FocusOnInitialization of WebTextEdit to True, wrote JavaScript, Server side but not successful. :(
Anyone suggest the best solution to resolve this problem?
Please help me!
Thanks.