Re: How to set Autoconfigure property in codebehind?

  •  04-18-2007, 7:00 PM

    Re: How to set Autoconfigure property in codebehind?

    hi Adam,
     
    When a user logs into the admin side of this app, they either are a super admin or not.  If a SA, then I want to have the editor config'd to use the Full toolbars; if not a SA, then config'd to use the Simple toolbars.
     
    Currently, I have a couple fields and the editor set into a detailsview control, as the dv makes the data manipulation fairly easy to get done.  The editor is set as preview only in the dv for the default view of read-only; then editable when the dv is in insert or edit mode.
     
    So, from what I've been able to gather, the dv must exist prior to the editor so that dvContent.FindControl("Editor1") can be assigned to a Cutesoft.Editor variable, ce in this case.
     
    I know that the AutoConfigure property will work with no problem by removing the editor from the dv, but that basically destroys the structure of my content management section, and I will have to spend more time revamping the page (trying to avoid this path, if possible).
     
    Certainly open to ideas or possible ways to solve while maintaining the dv if you have any.
     
    Thanks again for your assistance with this!
     
    -wrsowner
View Complete Thread