473,788 Members | 2,721 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

web user control - sharing

Hi ..

I´m using web user control on my project group.
Now i´m using web user control for each project and it
works fine, but now I want to share some controls for
various project and I dont know how? I have created a
folder beside all my project and put one control there. I
know how to go up one folder with the "~/" tag but how can
I go up two folders? I´ve tried ~/~/, ~/../, ../~/ but I
cant make it work.

can somebody please help me.

Best regards
brynja
Nov 18 '05 #1
3 1374
you can create a virutal directory and place all your user controls
there....

and share that directory cross as a vritual directory to the new app

you should then be able to use it in your projects... though VS.NET has no
concept of understanding IIS virtual dirs so you wont see it...

--
Regards,

HD

"brynja" <pa**@ru.is> wrote in message
news:04******** *************** *****@phx.gbl.. .
Hi ..

I´m using web user control on my project group.
Now i´m using web user control for each project and it
works fine, but now I want to share some controls for
various project and I dont know how? I have created a
folder beside all my project and put one control there. I
know how to go up one folder with the "~/" tag but how can
I go up two folders? I´ve tried ~/~/, ~/../, ../~/ but I
cant make it work.

can somebody please help me.

Best regards
brynja
Nov 18 '05 #2
User controls weren't really designed to be shared between projects. For
advanced functionality such as that you should create custom controls.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"brynja" <pa**@ru.is> wrote in message
news:04******** *************** *****@phx.gbl.. .
Hi ..

I´m using web user control on my project group.
Now i´m using web user control for each project and it
works fine, but now I want to share some controls for
various project and I dont know how? I have created a
folder beside all my project and put one control there. I
know how to go up one folder with the "~/" tag but how can
I go up two folders? I´ve tried ~/~/, ~/../, ../~/ but I
cant make it work.

can somebody please help me.

Best regards
brynja
Nov 18 '05 #3
Actually Steve is right... they werent designed to be used in that way
If you have use of controls across projects consider using Custom Controls..

But i actually found that method (using virutal dir to share user control)
out on this NG... lol

--
Regards,

HD

Once a Geek.... Always a Geek

Once a Geek... Always a Geek
"Hermit Dave" <he************ @CAPS.AND.DOTS. hotmail.com> wrote in message
news:eX******** ******@TK2MSFTN GP09.phx.gbl...
you can create a virutal directory and place all your user controls
there....

and share that directory cross as a vritual directory to the new app

you should then be able to use it in your projects... though VS.NET has no
concept of understanding IIS virtual dirs so you wont see it...

--
Regards,

HD

"brynja" <pa**@ru.is> wrote in message
news:04******** *************** *****@phx.gbl.. .
Hi ..

I´m using web user control on my project group.
Now i´m using web user control for each project and it
works fine, but now I want to share some controls for
various project and I dont know how? I have created a
folder beside all my project and put one control there. I
know how to go up one folder with the "~/" tag but how can
I go up two folders? I´ve tried ~/~/, ~/../, ../~/ but I
cant make it work.

can somebody please help me.

Best regards
brynja

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3521
by: Tom | last post by:
I have created a C# User Control which house my header information. I have another development group that would like to use this but they are VB developers. Is their a way to leverage my C# User Control in a VB.NET application? If so can you please provide me with instructions.
2
1393
by: Matze | last post by:
I have setup Visual Studio to work with a VSS-Server. (Source Off Site) I dont see a way to share and later branch my project. File -> Source Control -> Share is grayed out. What is the best way then to share/branch? SOS-Client is 3.5.3 / Server is 3.5.2 I had some bad experiences doing VSS-actions with a client different than VS.NET for VS .NET projects. So i realy would like to use VS .NET
0
830
by: Vignesh | last post by:
Iam Having 3 separate VB.NET Windows projects (MainProject, Project1, Project2). From MainProject iam calling Project1 & Projct2. Project1 contains a user control.Project2 also contains a User control. MainProject Contains a WindowsForm where i want to host a User Control. In the MainProject (WindowsForm) i want to load the usercontrol in project1 & project2 depending on some condition.
5
1946
by: Tony Johansson | last post by:
Hello! I have one solution file that consist of three project. One project that build the exe file called A One project that build a user control dll. Here we have a class called B One project that build a class library dll. Here we have a class called C We have one dependency and that is from the user control to the class library because in the constructor for class B in the user control we have a call to
9
4297
by: moondaddy | last post by:
I'm using asp.net 2.0 and c# and would like to share some user control between several websites. these websites are on the same server and have a physical location right next to each other like this: D:\Websites\Website1 D:\Websites\Website2 I'm thinking of putting the controls for sharing in a common directory like this: D:\Websites\CommonControls
8
4851
by: mc | last post by:
I would like to be able to send from an ASP.NET page an email which when recieved takes the form of a "Sharing Invitation for a RSS Feed" (http://office.microsoft.com/en-us/outlook/HA101595391033.aspx) I've found a MSDN article about it (http://msdn2.microsoft.com/en-us/library/bb176432.aspx) but that example is presented as a vb(a) script from within outlook. Can this functionality be emulated from sending an email from C#? TIA
2
1027
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, i have a cold case here: my original question was this: "hey all, when i create my user control (not custom control) how do you generally make it available to other solutions or for other team members to use? i'm thinking in a new solution, i say "Add an existing item..." and just put the user control into the project? thanks, rodchar" and then the reply i got was this:
11
3622
by: limperger | last post by:
Hello everybody! I have just found out that the sharing properties of a single database (mdb file on a network), accessed by 3 users, change depending on the user accessing the database. That is, with the file opened by 2 users at the same time, in my computer, the sharing properties appeared as set to share (not exclusive) and single entry-lock. Nevertheless, in the computer of the other user, the sharing properties are set to exclusive mode...
5
1932
by: =?Utf-8?B?U2FsYW1FbGlhcw==?= | last post by:
Hi, I have a user control which I like to use in several projects (winforms) in the same solution. Inside lets say Winapp1 , When adding a reference to this control, I can dynamically or statically create it and when running the application it is correctly drawn on the form. But when I take out the reference to this control in Winapp1, reference it in a utility project, then reference the utility project in Winapp1 or Winapp2, instantiate...
0
9656
marktang
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...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10370
Oralloy
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...
0
10177
jinu1996
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...
1
10113
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,...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5402
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5538
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.