Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
I have a searchbox in a radwindows. Id like to focus my searchbox on opening the radwindows in javascript. Is it possible?
Hi Gilberto,
You can set the focus in the OnClientShow client event of RadWindow as shown below:
<telerik:RadWindow ID="RadWindow1" runat="server" VisibleOnPageLoad="true" OnClientShow="focusSearchBox"> <ContentTemplate> <telerik:RadSearchBox ID="RadSearchBox1" runat="server"></telerik:RadSearchBox> </ContentTemplate> </telerik:RadWindow> <script type="text/javascript"> function focusSearchBox() { var searchbox = $find("<%=RadSearchBox1.ClientID %>"); searchbox.get_inputElement().focus() } </script>
Regards, Rumen Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.