CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Threaded View

  1. #3
    Join Date
    Feb 2007
    Posts
    14

    Re: Sys is undefined ?

    sorry ........
    I didnt mean to do what i did...

    the source code it as follow....as it started giving errors....so i stoped extending it and created another which worked finely....
    Code:
    <%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>
    
    <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
        Namespace="System.Web.UI" TagPrefix="asp" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title>Untitled Page</title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
        
        </div>
            &nbsp; &nbsp; &nbsp;&nbsp;
            <asp:UpdateProgress ID="UpdateProgress1" runat="server">
                <ProgressTemplate>
                    &nbsp;<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="183px">
                        <Columns>
                            <asp:BoundField DataField="ID" HeaderText="Department ID" SortExpression="ID" />
                            <asp:BoundField DataField="DeptName" HeaderText="Department" SortExpression="DeptName" />
                            <asp:TemplateField HeaderText="Teachers">
                                <EditItemTemplate>
                                    &nbsp;
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                        <ContentTemplate>
                                            <asp:GridView ID="GridView2" runat="server">
                                                <Columns>
                                                    <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="name" />
                                                    <asp:BoundField DataField="subject" HeaderText="Subject" SortExpression="subject" />
                                                </Columns>
                                            </asp:GridView>
                                            &nbsp;
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </ProgressTemplate>
            </asp:UpdateProgress>
        </form>
    </body>
    </html>
    can u plzzz check my other thread also.....
    Last edited by Dr. Script; February 26th, 2007 at 08:02 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured