473,320 Members | 1,876 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Referencing controls

Hi

Is it possible to reference controls or pages in a seperate ASP.Net website
project?

Thanks
Jun 14 '06 #1
4 1063
"Mantorok" <ma******@mantorok.com> wrote in message
news:e6**********@newsfeed.th.ifl.net...
Is it possible to reference controls or pages in a seperate ASP.Net
website project?


Not really. You can send WebRequest objects and receive WebResponse objects,
but I suspect that's not really what you mean...

What are you trying to do exactly...?
Jun 14 '06 #2

"Mark Rae" <ma**@markN-O-S-P-A-M.co.uk> wrote in message
news:ey**************@TK2MSFTNGP03.phx.gbl...
"Mantorok" <ma******@mantorok.com> wrote in message
news:e6**********@newsfeed.th.ifl.net...
Is it possible to reference controls or pages in a seperate ASP.Net
website project?


Not really. You can send WebRequest objects and receive WebResponse
objects, but I suspect that's not really what you mean...

What are you trying to do exactly...?


Well, for the controls I'm going to tackle a Web Control Libary, but we also
have generic pages that we have to include in multiple projects.

Kev
Jun 14 '06 #3
"Mantorok" <ma******@mantorok.com> wrote in message
news:e6**********@newsfeed.th.ifl.net...
What are you trying to do exactly...?


Well, for the controls I'm going to tackle a Web Control Libary, but we
also have generic pages that we have to include in multiple projects.


LOL! Oh *that*'s what you mean... :-)

In which case, I'd strongly recommend using Visual SourceSafe. Create a
separate project for your generic pages, then simply share them into your
other projects as required. This means that if you modify a shared object in
one project, it will be updated in all other projects which share it.

I have exactly this setup, mainly for base classes e.g. database access,
encryption, validation, registry, event log, FTP, active directory, email
etc, but also some .js files and some test webforms.

All of my shared classes have the same namespace 'sharedCode', which means
all I have to do is write "using sharedCode"; in any class which needs to
use it.
Jun 14 '06 #4

"Mark Rae" <ma**@markN-O-S-P-A-M.co.uk> wrote in message
news:u%****************@TK2MSFTNGP05.phx.gbl...
"Mantorok" <ma******@mantorok.com> wrote in message
news:e6**********@newsfeed.th.ifl.net...
What are you trying to do exactly...?


Well, for the controls I'm going to tackle a Web Control Libary, but we
also have generic pages that we have to include in multiple projects.


LOL! Oh *that*'s what you mean... :-)

In which case, I'd strongly recommend using Visual SourceSafe. Create a
separate project for your generic pages, then simply share them into your
other projects as required. This means that if you modify a shared object
in one project, it will be updated in all other projects which share it.

I have exactly this setup, mainly for base classes e.g. database access,
encryption, validation, registry, event log, FTP, active directory, email
etc, but also some .js files and some test webforms.

All of my shared classes have the same namespace 'sharedCode', which means
all I have to do is write "using sharedCode"; in any class which needs to
use it.


We are using TFS already for our source control, I might have a look at
sharing the pages, sounds like that may work out for us.

Kev
Jun 14 '06 #5

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

Similar topics

3
by: shumaker | last post by:
This code from the subform works for getting the value of a field of the main form named "WorkSheet": MsgBox Form_WorkSheet.Recordset.Fields("Clerk").Value Each record in the mainform datasheet...
4
by: mplogue | last post by:
I have a form (frmMain) with a subform (frmSub), each with enumerated fields of the same name (txt1, txt2, etc). I'm trying to make a function that will take the values for each field in frmMain,...
3
by: 2obvious | last post by:
I have a DataGrid containing a TextBox control and a CustomValidator in each row. The CustomValidator fires a function that compares all TextBoxes for equality. The algorithm for comparison is...
1
by: Felipe Garcia | last post by:
Does makes difference referencing controls inside EVERY page <%@ Register TagPrefix="PC" Namespace="MyControls" Assembly="Personal.MyControls" %> or referencing controls ONCE inside web.config,...
3
by: Lyners | last post by:
I have a table within a cell of a datagrid. I am doing updates without postback to the server using Javascript. I have everything working, except referencing a table within the datagrid cell. ...
2
by: Axel | last post by:
Hi, a question about something that seems very simple at first glance: is it possible to reference other controls of a subform in a query window without referencing through the parent form? I...
21
by: cmd | last post by:
I have code in the OnExit event of a control on a subform. The code works properly in this instance. If, however, I put the same code in the OnExit event of a control on a Tab Control of a main...
2
by: ccsnavy | last post by:
For some reason referencing an unbound control on an active form from a query has ceased to work correctly. While other previously existing references to unbound controls in the same form seem to...
5
kcdoell
by: kcdoell | last post by:
Good Morning: I am using the following code to add new records to a table that is on my Sub Form. Below is the code that I placed in my Before Update event on my Sub Form: Private Sub...
2
by: =?Utf-8?B?SmFtZXMgUGFnZQ==?= | last post by:
Hi all I have a user control - mycontrol.ascx with various controls within it. mycontrol.ascx is utilised in myPage.aspx I have a class (class1) to carry out various functions, subs etc. How...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.