Hello,
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
Thanks
<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"
AutoGenerateEditColumn="false">
<MasterTableView AllowAutomaticInserts="true" AllowAutomaticUpdates="true"AutoGenerateColumns="false"
CommandItemDisplay="Top" DataKeyNames="YEAR" EditMode="PopUp" ShowHeader="false" ShowFooter="false">
<CommandItemSettings AddNewRecordText="Add New record"></CommandItemSettings>
<Columns>
<telerik:GridEditCommandColumnUniqueName="EditCommandColumn" HeaderStyle-Width="20px" ButtonType="ImageButton" >
</telerik:GridEditCommandColumn>
<telerik:GridHTMLEditorColumn UniqueName="Notes" DataField="NOTE_DESC" SortExpression="NOTE_DESC"
HeaderStyle-Width="600px" ItemStyle-Wrap="true" >
</telerik:GridHTMLEditorColumn>
</Columns>
<EditFormSettings PopUpSettings-Modal="true"
PopUpSettings-Height="400px"
PopUpSettings-Width="800px"
PopUpSettings-ShowCaptionInEditForm="false"
InsertCaption="Adding New record"
EditFormType="Template" >
<FormTemplate>
<table id="Table2">
<tr>
<td>
<telerik:GridHTMLEditorColumnEditor runat="server" ID="noteseditor" Editor-Content='<%# Bind("NOTE_DESC") %>'
Editor-EditModes="Design" Editor-OnClientLoad="LimitCharacters" Editor-Height="300px" Editor-Width="200px" >
</telerik:GridHTMLEditorColumnEditor>
</td>
</tr>
</table>
</FormTemplate>
</EditFormSettings>
</MasterTableView>
<ClientSettings>
<Selecting AllowRowSelect="true"/>
<Scrolling AllowScroll="true" UseStaticHeaders="true" />
</ClientSettings>
</RadGrid>
</telerik:RadAjaxPanel>
IList<VT.LibNHSILdb.EntityFAB> myList = SILDB.FabsList();GRD_messages.DataSource = myList[0].LST_MESSAGE;GRD_messages.DataBind();if(IsPostBack) { GRD_messages.DataSource = myList[0].LST_MESSAGE; GRD_messages.DataBind(); }
| function onClientSelectedIndexChanged(item) |
| { |
| var combo = item.ComboBox; |
| var comboInput = document.getElementById(combo.InputID); |
| //here ItemColor is a custom attribute that you can assign in ItemDatabound event |
| comboInput.style.backgroundColor = item.Attributes.ItemColor; |
| } |
| </script> |
function onClientSelectedIndexChanged(sender, eventArgs) { var combo = eventArgs.get_item(); var comboInput = document.getElementById(combo.InputID); //here ItemColor is a custom attribute that you can assign in ItemDatabound event comboInput.style.backgroundColor = item.Attributes.ItemColor; }<NoRecordsTemplate>
<center> <iframe src='<%= GetTrainingVideo("RiskManagement.Options") %>' class="EmbededVimeo" width="400" height="300" frameborder="0"> </iframe>
</center></NoRecordsTemplate>Error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.Details: Error parsing near 'hidden" /> </div>|0|updatePanel|ctl0'.