RadTreeList's item template binding RadTextBox

2 posts, 0 answers
  1. Sophia
    Sophia avatar
    2 posts
    Member since:
    Oct 2014

    Posted 16 Feb 2015 Link to this post


    I have met issues for binding RadTextBox as TreeListTemplateColumn.
    1. Which sever side event can be triggered when text box value changed?
    2. How to auto select current tree list row as well when the text box is focused?
    3. This tree list is in the radwizard as one step. Every time I have to press enter key to fire RadTextBoxSN_TextChanged, ance once it fired, the page will automatically move to next wizard step. I wrote the manual next button event for wizard and no idea how this happened. Please help.

    <telerik:TreeListTemplateColumn HeaderStyle-Width="170px" DataField="LotSerialNumber" UniqueName="LotSerialNumber" HeaderText="Lot/Serial Number">
                                                            <div style="text-wrap: none; word-break: keep-all; table-layout: fixed">
                                                                <telerik:RadTextBox ID="RadTextBoxSN" runat="server" OnTextChanged="RadTextBoxSN_TextChanged" ToolTip='<%# Eval("TXN_ID")%>' Text='<%# Eval("LotSerialNumber")%>' Width="125px">
                                                                <asp:LinkButton ID="btnSearch" runat="server">
                                                        <img style="border: 0px; vertical-align: bottom" src="~/../Images/search.gif" />
                                                                <asp:LinkButton ID="btnValid" runat="server" Visible="false" Enabled="false">
                                                        <img id="ImgValid" style="border: 0px; vertical-align: bottom" src="~/../Images/success.gif" />
                                                                <asp:LinkButton ID="btnInvalid" runat="server" Visible="false" Enabled="false">
                                                        <img id="ImgInvalid" style="border: 0px; vertical-align: bottom" src="~/../Images/error.gif" />

  2. Eyup
    Eyup avatar
    3620 posts

    Posted 19 Feb 2015 Link to this post

    Hi Sophia,

    You will need to enable the AutoPostBack property to true when using the OnTextChanged server-side event handler. I've created a sample RadTreeList sample to demonstrate how you can achieve the first two requirements. As for the issue from the third point, you can place a temporary button before the wizard definition and see whether this will change something.

    Hope this helps.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top