There was an error rendering the control.

Last post 09-05-2008, 1:23 PM by jmchughla. 10 replies.
Sort Posts: Previous Next
  •  03-04-2008, 10:19 AM 37535

    There was an error rendering the control.

    I'm testing CuteEditor to purchase a license, but stil receive the next error in Visual Studio 2005 Express Edition:
     
    "There was an error rendering the control. Exception has been thrown by the target of the invocation."
     
    I've read the post at http://cutesoft.net/forums/thread/26518.aspx  but this is not giving a solution.
     
    I installed the control in my toolbox as mentioned in:
     
    I receive the error when I place the control in the edittemplate of a Detailsview. The Detailsview is in VWS replaced with a box containing the errror. At runtime everything works well.
     
    The preinstalled example datagrid-example.aspx gives the same error.
     
    Do you have a solution for me? Thanks in advance, Greetings, Adrey
     
    My page looks likes this:
     

    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="testpage6.aspx.vb" Inherits="testpage6" %>

    <%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" >

    <head runat="server">

    <title>Untitled Page</title>

    </head>

    <body>

    <form id="form1" runat="server">

    <div>

    <asp:DetailsView ID="DetailsView1" runat="server" Height="50px" Width="125px" AutoGenerateRows="False" DataKeyNames="app_id" DataSourceID="SqlDataSource1" DefaultMode="Edit">

    <Fields>

    <asp:BoundField DataField="app_id" HeaderText="app_id" InsertVisible="False" ReadOnly="True"

    SortExpression="app_id" />

    <asp:BoundField DataField="user_id" HeaderText="user_id" SortExpression="user_id" />

    <asp:BoundField DataField="cdt_id" HeaderText="cdt_id" SortExpression="cdt_id" />

    <asp:BoundField DataField="app_price" HeaderText="app_price" SortExpression="app_price" />

    <asp:CheckBoxField DataField="app_reserve" HeaderText="app_reserve" SortExpression="app_reserve" />

    <asp:CheckBoxField DataField="app_confirmed" HeaderText="app_confirmed" SortExpression="app_confirmed" />

    <asp:TemplateField HeaderText="app_remark" SortExpression="app_remark">

    <EditItemTemplate>

    <CE:Editor ID="Editor1" runat="server" Text='<%# Bind("app_remark") %>' >

    </CE:Editor>

     

    </EditItemTemplate>

    <InsertItemTemplate>

    <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("app_remark") %>'></asp:TextBox>

    </InsertItemTemplate>

    <ItemTemplate>

    <asp:Label ID="Label1" runat="server" Text='<%# Bind("app_remark") %>'></asp:Label>

    </ItemTemplate>

    </asp:TemplateField>

    <asp:BoundField DataField="app_remark2" HeaderText="app_remark2" SortExpression="app_remark2" />

    <asp:BoundField DataField="app_createdby_user_id" HeaderText="app_createdby_user_id"

    SortExpression="app_createdby_user_id" />

    <asp:BoundField DataField="app_created_date" HeaderText="app_created_date" SortExpression="app_created_date" />

    <asp:BoundField DataField="evt_id" HeaderText="evt_id" SortExpression="evt_id" />

    <asp:BoundField DataField="crs_id" HeaderText="crs_id" SortExpression="crs_id" />

    </Fields>

    </asp:DetailsView>

    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:testdbConnectionString %>"

    SelectCommand="SELECT * FROM [tbl_application] WHERE ([app_id] = @app_id)">

    <SelectParameters>

    <asp:Parameter DefaultValue="5" Name="app_id" Type="Decimal" />

    </SelectParameters>

    </asp:SqlDataSource>

    </div>

    </form>

    </body>

    </html>

     
  •  03-04-2008, 10:53 AM 37539 in reply to 37535

    Re: There was an error rendering the control.

    I just downloaded today and am going to buy. Love the tool.
     
    However I wanted to say I have this issue too.
     
     
    To reproduce simply place the cute editor in an ajax update panel and then click on the design tab in
    visual studio 2008.  The error mentioned is produced.
     
    The tool seems to work fine at runtime but it cannot be seen on the designer in visual studio.
  •  03-04-2008, 11:09 AM 37540 in reply to 37535

    Re: There was an error rendering the control.

    We are investigating this issue. If it's a bug, we will fix it in the coming version 6.1.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  03-04-2008, 12:06 PM 37544 in reply to 37540

    Re: There was an error rendering the control.

    I have more info for you.
     
    I cannot even place cuteEditor on the same page as a TabbedContainer control that ships with the AJAX toolkit.
    If I do, the screen jerks around like crazy and a quick javascript error flashes at the bottom of IE and disappears so fast I can't catch it for you guys.
     
    I have tried placing the cuteEditor inside of the tabbed container and outside of the tabbed container. Either way causes the problem.
     
    Please keep us updated on this issue because I am looking at this tool for AJaX functionality primarily because other editors like freetextbox don't work with AJAX update panels or tabContainers.
     
    thanks
  •  03-04-2008, 12:15 PM 37545 in reply to 37544

    Re: There was an error rendering the control.

    coredrive,
     
    >>>TabbedContainer control that ships with the AJAX toolkit.
     
    This issue with AJAX toolkit has been reported by a few developers before. We are working on the solution right now.
     
    >> other editors like freetextbox don't work with AJAX update panels
     
    This is an update penel example:
     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  03-04-2008, 12:28 PM 37549 in reply to 37545

    Re: There was an error rendering the control.

    I'll tell you one thing.
    After dealing with these other asp.net textbox companies..it is so great to get responses and help from a real company like you guys!
     
    Problems aren't a big deal..its how you guys take care of the issues that matters and I really appreciate the information so far.
     
     
  •  03-04-2008, 2:50 PM 37569 in reply to 37545

    Re: There was an error rendering the control.

    Thanks for your reply to my question. It's good to read that its a known problem and that it will be fixed.
     
    Also thanks to the other people that have made a reply. I agree with them that you are having a excellent service of replying/helping/advising people, without waiting for days,  while using the software.
     
    Looking forward to a fix for this problem, and greetings from The Netherlands
     
     
  •  04-08-2008, 4:47 PM 38881 in reply to 37569

    Re: There was an error rendering the control.

    "I receive the error when I place the control in the edittemplate of a Detailsview. The Detailsview is in VWS replaced with a box containing the errror. At runtime everything works well."
     
    I am in the exact same situation!  I too like CuteEditor a lot and will be getting licensed.  And I have the same problem with using the editor in a template field of the DetailsView in an AJAX updatepanel.  It seems to work ok though and will continue using it unless something detrimental becomes evident with use.
     
    I will be watching to see if any progress is made to resolve the issue.
  •  05-02-2008, 10:34 PM 39987 in reply to 37535

    Re: There was an error rendering the control.

    Hi all,
     
    We have found the reason and fixed this issue. And would upload the new version soon.
     
    Regards , Terry.
  •  07-09-2008, 1:51 AM 42041 in reply to 37535

    Re: There was an error rendering the control.

    This issue is resolved in version 6.1.
     
    Please download the latest build.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  09-05-2008, 1:23 PM 43659 in reply to 42041

    Re: There was an error rendering the control.

    I'm having this problem with version 6.1.  I'm using Visual Studio 2008 vb.  The control will render fine in design view the first time I place it, but if I close the file and re-load it the control will not render. 

    The page will run fine, but I have to remove and re-insert the control each time I re-load the file in Studio in order to work in design view.  Not sure if it makes a difference, but I have not purchased the product yet and am running the evaluation key.

View as RSS news feed in XML