no content being sent when save button pressed ASP.NET 2.0

Last post 07-26-2006, 11:53 PM by [email protected]. 0 replies.
Sort Posts: Previous Next
  •  07-26-2006, 11:53 PM 21292

    no content being sent when save button pressed ASP.NET 2.0

    I have a file with the following content
     

    <%@ Page Language="VB" MasterPageFile="~/Admin.master" AutoEventWireup="false" CodeFile="edit.aspx.vb" Inherits="Admin_edit" title="Untitled Page" %>

    <%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>

    <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <form method="post" action="edit.aspx?pgId=<%=Request.queryString("pgId") %>">

    <CE:Editor ID="Editor1" runat="server">

    </CE:Editor>

    </form>

    </asp:Content>
     
    The code file being
     

    Public Sub Editor1_PostBackCommand(ByVal Sender As Object, ByVal e As System.Web.UI.WebControls.CommandEventArgs) Handles Editor1.PostBackCommand

    Response.Write(Editor1.XHTML & "here<br>")

    Response.Write(Request.Form("Editor1_HTMLContent") & "here")

    End Sub
     
    and nothing comes up ?  any idea - I'm testing so I can write to a db table but it won't even write the contents of the editor - working on this all day and read every single forum post.  Perhaps if I could see the code on this page http://cutesoft.net/example/database-example.aspx I might be able to work it out.
     
    Paul
View as RSS news feed in XML