CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2007
    Posts
    14

    Re: Sys is undefined ?

    I am also having the same problem.....i was not using master pages ...... but when i used the same code and controls in other project ... it worked...
    I coulnd understand y same code behaves differently on two seperate projects.......

    its not a solution..... as mine project was verry small so i re-created it the same way.....but i too wana know the reason

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: Sys is undefined ?

    Welcome to the forums, aamirhabibkhan. Please remember to create a new thread when you have a question and not post over someone else's. This will help to avoid confusion. Also, you have posted the same thing twice in just 2 minutes. I will have a moderator remove the second.

    Can you show some source code and maybe we can get this worked out?
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #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.

  4. #4
    Join Date
    May 2002
    Posts
    10,943

    Re: IE7 ScriptManager

    What exactly is your problem? You did not state it other than having the same problem as someone else. After the thread split, I am confused.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

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