View Single Post
  #3 (permalink)  
Old May 27th, 2004, 02:23 AM
yaip yaip is offline
Registered User
 
Join Date: May 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I looked at my code-behind file and I don't see it there. All it has is:

Public Class forum
    Inherits System.Web.UI.Page

#Region " Web Form Designer Generated Code "

    'This call is required by the Web Form Designer.
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()

    End Sub
    Protected WithEvents dotForumDisplay As System.Web.UI.WebControls.DataGrid
    Protected WithEvents messageCenter As System.Web.UI.HtmlControls.HtmlGenericControl

    'NOTE: The following placeholder declaration is required by the Web Form Designer.
    'Do not delete or move it.
    Private designerPlaceholderDeclaration As System.Object

    Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
        'CODEGEN: This method call is required by the Web Form Designer
        'Do not modify it using the code editor.
        InitializeComponent()
    End Sub

#End Region

    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'Put user code to initialize the page here
    End Sub
End Class

The I looked at my html source. It has ...

<%@ Page language="vb" Inherits="SLDC.forum" CodeBehind="forum.aspx.vb" AutoEventWireup="false" %>

<script language="VB" runat="server">





</script>
<form runat="server">
    <p>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td>
                    <b>Forum Topics</b>
                </td>
                <td height="15"></td>
            </tr>
        </table>
    </p>
    <p>
        <asp:datagrid id="dotForumDisplay" runat="server" BorderWidth="0" CellPadding="0" CellSpacing="0"
            Width="100%" AutoGenerateColumns="False" AllowPaging="True" PageSize="15" OnPageIndexChanged="dotForumDisplay_Paged"
            CssClass="forum">
...

Now where could it be?