Using CuteEditor in .NET 3.5 project with master pages

Last post 10-20-2008, 11:37 AM by carin.l@razorsolutions.com. 3 replies.
Sort Posts: Previous Next
  •  10-08-2008, 3:07 PM 44703

    Using CuteEditor in .NET 3.5 project with master pages

    Hi there,
     
    I am trying to run a web application where I have a site.master , several other.master pages and finally a default.aspx page.
     
    I switch masterpage in global.asax on preinit for each page request.
     
    I then have 2 places where I want to use the CuteEditor, once on the default.aspx page and once on the other.master page
     
    When I use the CuteEditor control in one of the other.master pages, as a way of editing data in a DataList's EditItemTemplate I get a quick flash of an error and then the correct content loading up.
     
    I then thought, OK, maybe it's not possible to use it in a master page and so I tried using it in the default.aspx page, but then I get the error:

    "Content controls have to be top-level controls in a content page or a nested master page that references a master page."

    and the right content doesn't come up at all, error stays.
     
    Any ideas of why this is?? Any help would be greatly appreciated.

    Cheers,
    Carin

    carin
  •  10-09-2008, 6:39 AM 44725 in reply to 44703

    Re: Using CuteEditor in .NET 3.5 project with master pages

    Hi Carin,
     
    Please add a textbox replace the editor and try again.
     
    Ken
  •  10-10-2008, 5:14 AM 44772 in reply to 44725

    Re: Using CuteEditor in .NET 3.5 project with master pages

    Hi Ken,
     
    Using a textbox works fine in both the page and the masterpage, it's only when I replace that with a CuteEditor that I get the problem.
     
    Any ideas??
     
    Cheers,
    Carin

    carin
  •  10-20-2008, 11:37 AM 44989 in reply to 44725

    Re: Using CuteEditor in .NET 3.5 project with master pages

    Hi,
     
    Just bumping this one up as I still haven't found a solution.
     
    Cheers,
    Carin

    carin
View as RSS news feed in XML