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 4 1179
>>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?
"Rick Csucsai" <ri**@NOSPAMHER E.energyunited. com> wrote in message
news:ex******** ********@TK2MSF TNGP12.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
Thanks. I will give it a try!
"Phillip Ian" <ph****@comcast .net> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.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.
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/MikhailArkhipo...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
"Rick Csucsai" <ri**@NOSPAMHER E.energyunited. com> wrote in message
news:Oy******** ******@TK2MSFTN GP09.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" <ri**@NOSPAMHER E.energyunited. com> wrote in message news:ex******** ********@TK2MSF TNGP12.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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Steve Barker |
last post by:
Hi guys!
In Visual Studio .NET, I like to enable auto-generation of XML documentation
on the project properties screen, by adding an XML file name under
"Configuration Properties" --> "Build" --> "XML Documentation File". This
way, I get warnings in the task list about public methods I have written that
do not have XML comments (launched by typing "///") associated with them.
This works really well, and I get a list of methods I still...
|
by: Samuel |
last post by:
Hi,
I am running into a problem of mixing UICulture = auto and allowing users to
select culture using a dropdown list.
I am detecting a querystring, "setlang", and when found, setting the
CurrentUICulture to what's specified in the querystring. Since I want to
allow UICulture auto detecting, I add UICulture = "auto" to page directive on
each page.
|
by: Bill Rust |
last post by:
I've created an "Add Item" wizard for VB.NET 2003 that allows a user to add a
specialized class that works with my application framework. In the wizard,
the user can select the interfaces they would like to support. During the
code generation phase, I add an "Implements Ixxx" for each interface they
select, but I've not yet figured out how to add the skeleton implementation
for those interfaces. Once the user opens the class in the VS...
|
by: John |
last post by:
Hi,
I am developing an application using VB.Net and hope that the textbox can
process features which are similar to auto-complete features in Window. For
example, when user types "ap" in a textbox and the data associated to the
textbox contains ("apple", "applet", "application"......), the application
will suggest "apple" to the user to select and user can either select the
suggestion or continue to type another word he disires.
How...
|
by: Matik |
last post by:
Hello everybody,
First: SQL Server 2000 sp3a, HP cluster server, MS 2003 server,
database recovery model simple
Torn page detection:
When I have this option turned on, processes conected with updating and
writing in database, was MUCH more slower, than if I've this option
turned off.
| |
by: Phil Latio |
last post by:
I have 2 virtually identical tables and wish to move data between them.
Basically one table is called "live_table" and the other is named
"suspended_table" and the only difference is that the primary key in the
"suspended_table" is an auto incremented integer where as "live_table"
primary key is just a standard integer.
Here's the life-cycle:
1. Record gets entered into "suspended_table"
2. Record checked and then inserted into...
|
by: vul |
last post by:
In VB6 there is Auto Increment check box in Project Properties, which allow
you have a new version every time you compile the project.
Is there any easy way to have this feature in VB 2005?
Some of my blocks of code check and compare versions of EXE and DLLs located
on the local workstation and the server. So it's very important for me to
have an incremented number in case the project was rebuilt. It can be done
manually, of course, but I...
|
by: reycri |
last post by:
I have a page that works as I intend in IE but not in Firefox:
<html>
<head>
<title>Overflow Test</title>
</head>
<body style='overflow:hidden; margin:0; padding:0;'>
<table border='0' cellpadding='0' cellspacing='0'
style='border-collapse:collapse; width:100%; height:100%;'>
<tr><td colspan='2' style='height:3em; border-bottom:1px solid
|
by: prasannashet |
last post by:
hi
i am using access 2000 and vb 6 as front end
i have used auto increament number field in one of the my talble
during some error the transaction will rollback but auto number in a table will skiped
please suggest
regards
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |