Hi,
how can i set focus on textbox (TextboxFindTreeNode), after opening ContextMenu with right click.
I user the ItemTemplate in RadMenuItem
Thanks
how can i set focus on textbox (TextboxFindTreeNode), after opening ContextMenu with right click.
I user the ItemTemplate in RadMenuItem
Thanks
<
telerik:RadTreeView
ID
=
"RadTreeViewFileShare"
runat
=
"server"
>
<
ContextMenus
>
<
telerik:RadTreeViewContextMenu
ID
=
"RadTreeViewContextMenuFs"
runat
=
"server"
>
<
Items
>
<
telerik:RadMenuItem
>
<
ItemTemplate
>
<
asp:Panel
ID
=
"PanelFindNode"
runat
=
"server"
style
=
"padding:5px;"
DefaultButton
=
"ButtonFindTreeNode"
>
<
asp:Label
ID
=
"LabelFindNode"
runat
=
"server"
Text
=
"Find Node:"
AssociatedControlID
=
"TextBoxFindTreeNode"
></
asp:Label
>
<
asp:TextBox
ID
=
"TextBoxFindTreeNode"
runat
=
"server"
AutoCompleteType
=
"Search"
></
asp:TextBox
>
<
asp:ImageButton
ID
=
"ButtonFindTreeNode"
runat
=
"server"
ImageUrl
=
"~/Images/Search/Search.ico"
ToolTip
=
"Search for node"
OnClick
=
"ButtonFindTreeNode_Click"
ImageAlign
=
"Middle"
/>
</
asp:Panel
>
</
ItemTemplate
>
</
telerik:RadMenuItem
>
</
Items
>
</
telerik:RadTreeViewContextMenu
>
</
ContextMenus
>
</
telerik:RadTreeView
>