Sign In  Sign Up Live-Chat

"stream" html into a modal dialog/window

Last post 03-02-2007, 5:22 AM by aatjan2. 2 replies.
Sort Posts: Previous Next
  •  02-26-2007, 1:24 AM 68812

    "stream" html into a modal dialog/window

    Hi,

    I want to show a html formatted text (which is the content of a column in my database) in a modal window. Is this possible without saving the html first into a temp file?

    So the question is not show a aspx in a modal window but show the content of the column ,,,

    Many thanks

     
  •  02-28-2007, 2:31 AM 69053 in reply to 68812

    Re: "stream" html into a modal dialog/window

    Thank you for your post!

    The JavaScript function 'window.showModelessDialog' can open a modal window, and its prototype was showed below:

       window.showModelessDialog(sURL [, vArguments] [, sFeatures])

    The sURL parameter demand for a String that specifies the URL of the document to load and display in the modal window, it will point to an .aspx or html file in usually.

    So in your scenario, I think you should add an .aspx or html page to your web application for displaying the columns, and then the page can be showed with the function.

    If you do not want to add such a page to your application, maybe you can display the content inside a div object above the window instead of using the modal dialog.

    Feel free to post if any questions.

    Thanks


    Dean Deng
    Lead Developer
    Aspose Guangzhou Team
    About Us
    Contact Us
     
  •  03-02-2007, 5:22 AM 69346 in reply to 69053

    Re: "stream" html into a modal dialog/window

    Thanks,

    aat jan

     
View as RSS news feed in XML