Re: newbie problem with ASP.NET
From: Dennis Myrén (dennis_at_oslokb.no)
Date: 03/07/05
- Next message: Eric Johnson: "InstrumentaitonClass inheritance across assembly boundary possible"
- Previous message: Scott Allen: "Re: Server too busy error"
- In reply to: Gary Coutts: "Re: newbie problem with ASP.NET"
- Next in thread: Cor Ligthert: "Re: newbie problem with ASP.NET"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 7 Mar 2005 17:08:52 +0100
Gary,
because the asp:button is still there in the generated HTML, this indicates
that the tag is not
processed at all(if it had been processed, there would be an <input> element
instead of the asp:button element by now).
As i mentioned, i recognize this type of error from some place, i will look
into that.
But otherwise i cannot help you, because i do not know how, i would hope
someone else might had a clue.
-- Regards, Dennis JD Myrén Oslo Kodebureau "Gary Coutts" <garyco@btopenworld.com> wrote in message news:d0htju$kbb$1@titan.btinternet.com... > Hi Dennis, > > Find enclosed the generated HTML from a web form with a single button. > > <%@ Page language="c#" Codebehind="WebForm1.aspx.cs" > AutoEventWireup="false" > Inherits="button.WebForm1" %> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > > <HTML> > <HEAD> > <title>WebForm1</title> > <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1"> > <meta name="CODE_LANGUAGE" Content="C#"> > <meta name="vs_defaultClientScript" content="JavaScript"> > <meta name="vs_targetSchema" > content="http://schemas.microsoft.com/intellisense/ie5"> > </HEAD> > <body MS_POSITIONING="GridLayout"> > <form id="Form1" method="post" runat="server"> > <asp:Button id="Button1" style="Z-INDEX: 101; LEFT: 624px; POSITION: > absolute; TOP: 288px" runat="server" > Text="Button"></asp:Button> > </form> > </body> > </HTML> > > > Best Regards > > Gary Coutts > > > "Dennis Myrén" <dennis@oslokb.no> wrote in message > news:eI6bMByIFHA.572@tk2msftngp13.phx.gbl... >> Hmm that is strange.. >> Although i am sure i recognize this kind of problem, i cannot remember. >> >> Also verify the controls is in a form tag that has runat="server", >> and your application is run from a web folder. >> >> It is interesting to see the HTML generated. >> You can create an empty web form, put a single asp:button into it, take >> View->Source or similar in your browser window and copy it into a new > post. >> >> Otherwise.. Jon, any ideas? >> >> -- >> Regards, >> Dennis JD Myrén >> Oslo Kodebureau >> "Gary Coutts" <garyco@btopenworld.com> wrote in message >> news:d0hmi2$aen$1@sparta.btinternet.com... >> > Hi Dennis, >> > >> > Each of the controls has the attribute "runat" set to "server". I have > not >> > modified the web form in any way, it has been completely genrated by > .NET. >> > >> > >> > Best Regards >> > >> > Gary Coutts >> > >> > >> > >> > >> > "Dennis Myrén" <dennis@oslokb.no> wrote in message >> > news:ezXFgixIFHA.2420@TK2MSFTNGP14.phx.gbl... >> >> Gary, >> >> >> >> Verify that each of those server controls has the attribute "runat" >> >> set >> >> to >> >> "server", like this: >> >> <asp:Button id="okButton" runat="server" text="OK"></asp:Button> >> >> >> >> >> >> >> >> -- >> >> Regards, >> >> Dennis JD Myrén >> >> Oslo Kodebureau >> >> "Gary Coutts" <garyco@btopenworld.com> wrote in message >> >> news:d0hjuj$b1s$1@hercules.btinternet.com... >> >> > Hi, >> >> > >> >> > I have just started developing web application using ASP.Net and I >> >> > am >> > have >> >> > a >> >> > problem. >> >> > >> >> > I have generated a web form (using .NET 2003) with various buttons, >> >> > labels, >> >> > drop-downs etc ( just to see what they would look like on screen) >> >> > but >> > when >> >> > I >> >> > run it in Explorer the various controls are not where the are in the >> >> > design >> >> > form. >> >> > >> >> > Explorer has all the current updates and everything is running under >> >> > Windows >> >> > 2K. >> >> > >> >> > Has anyone come across this problem or know what I am doing wrong? >> >> > >> >> > >> >> > Best Regards >> >> > >> >> > Gary Coutts >> >> > >> >> > >> >> >> >> >> > >> > >> >> > >
- Next message: Eric Johnson: "InstrumentaitonClass inheritance across assembly boundary possible"
- Previous message: Scott Allen: "Re: Server too busy error"
- In reply to: Gary Coutts: "Re: newbie problem with ASP.NET"
- Next in thread: Cor Ligthert: "Re: newbie problem with ASP.NET"
- Messages sorted by: [ date ] [ thread ]
Loading