Re: DataBase relation

  •  01-19-2007, 11:57 AM

    Re: DataBase relation

    I see what's happening here... You're putting the URL of the file you want to edit into the editor rather than the CODE for the page.  This is why it works when you create an <iframe> with it, because the <iframe> is calling the page using the URL.  editor.Text will not take a URL and edit the code from it.  editor.Text wants the code itself.  You'll have to pull the CODE from your database and use editor.Text = <%=variable_with_code_in_it %>
     
    Good luck,
     
    Max
View Complete Thread