Re: evaluation expires..

  •  05-17-2005, 1:58 PM

    Re: evaluation expires..

    thanks for your reply.. however when i tried to save the edited template, it is still saving 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