CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML





Zone: > NEWSGROUP > Asp.Net Forum > migration_to_asp.net.migrating_from_asp.net_1.x_to_asp.net_2.0 Tags:
Item Type: NewsGroup Date Entered: 5/20/2005 9:42:55 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 6 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
kaspertsw
Asp.Net User
A namespace related problem?5/20/2005 9:42:55 AM

0/0

Hello all,

I'm having a bit of a strange problem, related to folders and namespaces, I guess. When working with VS.NET 2k3 and ASP.NET 1.1, I could put a UserControl in a subfolder, or even a subfolder to a subfolder (and so on), and still reference it from code. I could access the UserControl CodeBehind class by writing code like MyNamespace.MyProjectName.MySubFolder.MyUserControl control = new MyNamespace.MyProjectName.MySubFolder.MyUserControl(); and so on.

However, this doesn't seem possible in VS 2k5. For one, the namespaces are not included by default, and if I do try to include them, I get weird errors. I guess this is okay, if it was still possible for me to access CB classes for UserControls (or pages, or whatever) placed in subfolders. But how in the world do I do that? It simply MUST be possible, but I can't seem to find the solution! It really seems like I'm missing something obvious, as this should be a piece of cake - who places everything in their website root? :)

Any help on this subject would be greatly appreciated!

1 Items, 1 Pages 1 |< << Go >> >|



Search This Site:


Meet Our Sponsors:



Other Resources:

search module and app path problem, date problem - ng.asp-net-forum ... ... cannot read the .ccs in the apppath and gives related errors. ... problem with import / namespace : problem with import / namespace Laszlo Nagy gandalf ...
Tech:Special page namespace with accented characters - Wikitravel Shared When I click on a page whose namespace contains a special character ("Speciális" ... Ja: has the same problem. ... There is another problem related this. ...
XML.com: Namespace Trouble This week XML Deviant reports on a Namespace-related debate holding up XML work at the W3C, and the final release of SAX2/Java.
SPARK Build Process and Problem Driver API: SPARK::Problem Namespace ... ... Namespace Members | Class Members | File Members | Related Pages | Examples ... either with a call to SPARK::Problem::StaticBuild::Load() or ...
SPARK Build Process and Problem Driver API: SPARK::Problem::StaticBuild ... ... Namespace Members | Class Members | File Members | Related Pages | Examples ... Definition of the functions used to load a statically-built SPARK problem. ...
Internet Explorer May Lose the First 2,048 Bytes of Data That Are Sent ... This problem occurs if a program has registered a namespace handler for any of the following... Then, you can restore the registry if a problem occurs. ...
XML.com: Namespace Trouble ... week XML Deviant reports on a Namespace-related debate holding up XML work at ... The author colorfully described the problem as a "mind virus infecting the W3C ...
Wikipedia:Gallery namespace - Wikipedia, the free encyclopedia Problem: Including all images is a long process. ... Problem: The tutorial specifies that finding an image begin by searching into related articles. ...
rpbourret.com - Namespace Myths Exploded In practice, this is not a problem -- the points are not actually important and ... means that the namespace lacks a number of interesting name-related capabilities. ...



 
All Times Are GMT