GridHtmlColumnEditor not binding in editform template

2 posts, 0 answers
  1. NVB
    NVB avatar
    39 posts
    Member since:
    Apr 2009

    Posted 28 Jun 2012 Link to this post


    I have GridHTMLEditorColumn to display a notes_description.  I want to use Editform for update and insert, but for somereason I don't see the editform is not displaying the GridHtmlEditorColumnEditor defined in FormTemplate .  

    Am I missing something in declaration  of this editor in FormTemplate


    <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1" LoadingPanelID="RadAjaxLoadingPanel1">

    <telerik:RadGrid ID="RadGridC" DataSourceID="SqlDataSourc1e" runat="server" skin="Windows7"

    Height="500px" CellSpacing="0" GridLines="None" NoDetailRecordsText="No records to display"


    <MasterTableView AllowAutomaticInserts="true" AllowAutomaticUpdates="true"AutoGenerateColumns="false"

    CommandItemDisplay="Top" DataKeyNames="YEAR" EditMode="PopUp" ShowHeader="false" ShowFooter="false">
    <CommandItemSettings AddNewRecordText="Add New record"></CommandItemSettings>
    <telerik:GridEditCommandColumnUniqueName="EditCommandColumn" HeaderStyle-Width="20px" ButtonType="ImageButton" >

    <telerik:GridHTMLEditorColumn UniqueName="Notes" DataField="NOTE_DESC" SortExpression="NOTE_DESC"

    HeaderStyle-Width="600px"  ItemStyle-Wrap="true" >


    <EditFormSettings PopUpSettings-Modal="true"
    InsertCaption="Adding New record"
    EditFormType="Template" >
     <table id="Table2">
     <telerik:GridHTMLEditorColumnEditor runat="server" ID="noteseditor" Editor-Content='<%# Bind("NOTE_DESC") %>'
     Editor-EditModes="Design" Editor-OnClientLoad="LimitCharacters" Editor-Height="300px" Editor-Width="200px" >

    <Selecting AllowRowSelect="true"/>
    <Scrolling AllowScroll="true" UseStaticHeaders="true" />


  2. Tsvetoslav
    Tsvetoslav avatar
    1823 posts

    Posted 03 Jul 2012 Link to this post

    Hi Vemula,

    What you need in your form template is a RadEditor control, not a GridHTMLColumnEditor. Just replace it, bind it to the corresponding DataField and retest your project.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top