iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
why do I keep getting this error when I try to update a cell using WTE?
http://www.screencast.com/t/FSIqeh8DjS7e
Hello George,
Please look into our sample, CustomEditor_WebTextEditor.aspx. Notice that, it also allows multiline.You were missing to add MaxHeight properties for the cell.
e.g Please see my page structure below.
<%@ Page Language="VB" AutoEventWireup="true" CodeFile="TextEditorWithMultilineWebGridColumn.aspx.vb" Inherits="TextEditorWithMultilineWebGridColumn" %> <%@ Register Assembly="ISNet.WebUI.WebGrid" Namespace="ISNet.WebUI.WebGrid" TagPrefix="ISWebGrid" %> <%@ Register Assembly="ISNet.WebUI.WebTextEditor" Namespace="ISNet.WebUI.WebTextEditor" TagPrefix="ISWebTextEditor" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <html> <head runat="server"> <title>Untitled Page</title> </head> <body id="body" runat="server" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0"> <form id="form1" runat="server"> <div> <ISWebGrid:WebGrid ID="WebGrid1" runat="server" DataSourceID="AccessDataSource1" Height="328px" UseDefaultStyle="True" Width="778px"> <LayoutSettings AllowEdit="Yes" RowHeightDefault="-1px"> </LayoutSettings> <RootTable DataKeyField="EmployeeID"> <Columns> <ISWebGrid:WebGridColumn Caption="EmployeeID" DataMember="EmployeeID" DataType="System.Int32" Name="EmployeeID" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="LastName" DataMember="LastName" Name="LastName" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Notes" AllowMultiLine="true" DataMember="Notes" Name="Notes" CustomEditorName="WebTextEditor" MaxHeight="200px" CustomEditorServerId="wte1" EditType="Custom" Width="100px"> </ISWebGrid:WebGridColumn> </Columns> </RootTable> </ISWebGrid:WebGrid> <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/Northwind.mdb" SelectCommand="SELECT [EmployeeID], [LastName], [Notes] FROM [Employees]"></asp:AccessDataSource> </div> <ISWebTextEditor:WebTextEditor ID="wte1" runat="server" AllowResize="Yes" Height="300px" Width="500px" DefaultStyleMode="ElegantBlackStyle" MinimumSize="300, 200"> <RootTextEditor> </RootTextEditor> <ToolBarSettings ToolBarMode="Minimal" /> <ViewSettings EnableSplitView="false" /> </ISWebTextEditor:WebTextEditor> </form> </body> </html>
Regards,Handy
Unfortunately, Our WebGrid sample runs well without issue. Please confirm if you followed the same settings with CustomEditor_WebTextEditor.aspx. It would be more helpful if you can provide a simple runable sample.
Handy,
This issue occurs when the "Allow Multiline" property is set to true for the cell.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname