|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
how to make VS auto suggest properties during devcompany into letting me build a useable app in .NET instead of classic. Now I have to play catch up. i would really appreciate answers to the following (hopefully easy) questions. I have the web created (well, in dev) and the pages process fine. How can I get VS (2003) to auto suggest properties for web controls. For example, I created a new page called junkpage.aspx (outside of VS, direct into folder where web pages exist). When I open the page in VS, and start typing something like : <asp:label id="mylabel" " At this point I would expect VS to pop up a list suggesting all of the properties of a label such as forecolor, text etc. On my pages however, there is nothing. Also, in the left pane where the "toolbar" is, there are no server controls. Just regular HTML which if you drag into the aspx page, simply put in HTML instead of the server control (for example, Select instead of DropDownList). What am I missing here? thanks Rick >>For example, I created a new page called junkpage.aspx (outside of VS, direct into folder where web pages exist).<< I think that's the cause of the missing controls. Despite naming it..aspx, your page really isn't an asp.net page yet. You'll need to either add the <%@ Page ... > line at the top, or (what I'd do) only create asp.net pages from within VS.NET. That should fix the intellisense problem as well. Thanks. I will give it a try!
Show quoteHide quote "Phillip Ian" <phl***@comcast.net> wrote in message news:1118411681.316883.175310@g14g2000cwa.googlegroups.com... >>>For example, I created a new page called junkpage.aspx (outside of VS, >>>direct into folder where web pages exist).<< > > I think that's the cause of the missing controls. Despite naming it > .aspx, your page really isn't an asp.net page yet. You'll need to > either add the <%@ Page ... > line at the top, or (what I'd do) only > create asp.net pages from within VS.NET. > > That should fix the intellisense problem as well. > Looks like VS does not see this aspx page as a web form. Anyone know what I
need to do to tell VS that anytime I open this page, consider it a web form and make all of the associated tools available to me? Show quoteHide quote "Rick Csucsai" <rick@NOSPAMHERE.energyunited.com> wrote in message news:ex%23BnGcbFHA.3240@TK2MSFTNGP12.phx.gbl... > After a year and a half of not touching ASP.NET, I have finally talked my > company into letting me build a useable app in .NET instead of classic. > Now I have to play catch up. i would really appreciate answers to the > following (hopefully easy) questions. > > I have the web created (well, in dev) and the pages process fine. How can > I get VS (2003) to auto suggest properties for web controls. For example, > I created a new page called junkpage.aspx (outside of VS, direct into > folder where web pages exist). When I open the page in VS, and start > typing something like : > > <asp:label id="mylabel" " > > At this point I would expect VS to pop up a list suggesting all of the > properties of a label such as forecolor, text etc. On my pages however, > there is nothing. Also, in the left pane where the "toolbar" is, there are > no server controls. Just regular HTML which if you drag into the aspx > page, simply put in HTML instead of the server control (for example, > Select instead of DropDownList). > > What am I missing here? > > thanks > Rick > You may find that VS.NET 2003 does a terrible job of working with ASPX pages
(html in particular). This explains specifically what I'm talking about: http://blogs.msdn.com/MikhailArkhipov/archive/2004/05/16/132886.aspx Many of us use FrontPage or Dreamweaver for all HTML-specific work (i.e., ASPX and ASCX file development) and use VS.NET only for programming/code-behind work. -HTH Show quoteHide quote "Rick Csucsai" <rick@NOSPAMHERE.energyunited.com> wrote in message news:OyoCNUcbFHA.1384@TK2MSFTNGP09.phx.gbl... > Looks like VS does not see this aspx page as a web form. Anyone know what > I need to do to tell VS that anytime I open this page, consider it a web > form and make all of the associated tools available to me? > "Rick Csucsai" <rick@NOSPAMHERE.energyunited.com> wrote in message > news:ex%23BnGcbFHA.3240@TK2MSFTNGP12.phx.gbl... >> After a year and a half of not touching ASP.NET, I have finally talked my >> company into letting me build a useable app in .NET instead of classic. >> Now I have to play catch up. i would really appreciate answers to the >> following (hopefully easy) questions. >> >> I have the web created (well, in dev) and the pages process fine. How can >> I get VS (2003) to auto suggest properties for web controls. For example, >> I created a new page called junkpage.aspx (outside of VS, direct into >> folder where web pages exist). When I open the page in VS, and start >> typing something like : >> >> <asp:label id="mylabel" " >> >> At this point I would expect VS to pop up a list suggesting all of the >> properties of a label such as forecolor, text etc. On my pages however, >> there is nothing. Also, in the left pane where the "toolbar" is, there >> are no server controls. Just regular HTML which if you drag into the aspx >> page, simply put in HTML instead of the server control (for example, >> Select instead of DropDownList). >> >> What am I missing here? >> >> thanks >> Rick >> > >
Other interesting topics
Is there a way to detect user screen resolution in server side code?
ASP.NET stopped working Do i loose the power of asp.net if i use a custom extension (not .aspx) with IHttpHandlerFactory what is Request.ServerVariables Microsoft Bug Render multiple images Post-Daten aus HttpSendReuqest auslesen Textbox inside a repeater. how to access datarow in post back event. Getting user password from Active Directory Controling table layout dynamically. |
|||||||||||||||||||||||