Re: Stipped down form of HTML output

  •  01-06-2005, 9:16 AM

    Re: Stipped down form of HTML output

    Hi,
    Here is the HTML (had to add some / so the code would appear as text):

            /<form id="Form1" method="post" runat="server"/>
                /<asp:button id="Button1" style="Z-INDEX: 101; LEFT: 104px; POSITION: absolute; TOP: 528px" runat="server"
                    Text="Button" Width="80px" Height="48px"/>/</asp:button/>
                /<asp:TextBox id="TextBox1" style="Z-INDEX: 102; LEFT: 288px; POSITION: absolute; TOP: 520px"
                    runat="server" Width="544px" Height="120px"/>/</asp:TextBox/>
                /<ce:Editor id="Editor2" style="Z-INDEX: 103; LEFT: 80px; POSITION: absolute; TOP: 128px" runat="server"
                    Height="296px" Width="696px"/>/</ce:Editor/>/</form/>

    Here is the Code Behind:

        Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Editor2.EditCompleteDocument = False
        End Sub

        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            TextBox1.Text = Editor2.GetFullHtml
        End Sub

    Thanks so much for the help, Carla :)

View Complete Thread