EditorWysiwygModeCss question

  •  08-18-2006, 10:19 AM

    EditorWysiwygModeCss question

    Currently I have EditorWysiwygModeCss set as below.

    EditorWysiwygModeCss = "~/styles/previewpage.css"
     
    However, I would like to dynamically change the styles in the toolbar dropdown based on the selected item of another dropdown in the menu bar.
     
    I would also like to get the style from a database.

    The following page handles getting the styles from the database
    previewpage.ashx

    If I use this code in a web page, the css style works fine:
    "<link href="http://cutesoft.net/Site/PreviewPage.ashx?PageID=62263" rel="stylesheet" type="text/css">"
     Except I do not have your domain included in may actual code.
     
    I would like to use previewpage.ashx with EditorWysiwygModeCss  - like:
    EditorWysiwygModeCss = "PreviewPage.ashx?pageid=" & pageID
    OR
    EditorWysiwygModeCss = "PreviewPage.ashx" if I use another method to get the pageid into  PreviewPage.ashx
     
    I have tried it. I get no error, but I don't get the styles in the toolbar dropdown either.
     
    Any suggestion/help would be appreciated.
    Thank you.
View Complete Thread