won't save the edited html

  •  05-17-2005, 2:18 PM

    won't save the edited html

    when i tried to save the edited template, it saves the original format of the template, not the copy i have just edited... here's an excerpt of my code below, please help!!!  thank  you so much!!
     

    PrivateSub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesMyBase.Load

    'Put user code to initialize the page here

    Editor1.LoadHtml("~/Templates/career.html")

    Editor1.HelpUrl = "http://localhost/brousaCMS/Help/help1.aspx"

    EndSub

    PrivateSub btnSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSubmit.Click

    IfNot txtFilename.Text IsNothingThen

    Editor1.SaveFile("~/brousaCMS2/doc/career/" & txtFilename.Text & ".html")

    btnSubmit.Visible =

    False

    Editor1.Visible =

    False

    lbSubmit.Visible =

    True

    Panel1.Visible =

    False

    Label2.Visible =

    False

    EndIf

    EndSub
View Complete Thread