Using CuteEditor in .NET 3.5 project with master pages

  •  10-08-2008, 3:07 PM

    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
View Complete Thread