I am confused what functionality you are think you are gaining from the include 
that you couldn't do in a manner more compliant with best practice people are 
using?  I guess I am still confused as to what you want to accomplish.  Sorry I 
guess I am being a little dense on this one.  Can you please reiterate what you 
are trying to accomplish for me?

Travis D. Falls | Consultant   RAFT.Net   IT | 860.547.4070 | [EMAIL PROTECTED]


-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] Behalf Of glovitz
Sent: Wednesday, November 30, 2005 11:03 AM
To: [email protected]
Subject: [AspNetAnyQuestionIsOk] Re: Need confirmation


First, thanks for the reply Charles.  

So going on what you wrote, since our "Standard" is to have this look 
up page be a pop-up, it could not be written as a UserControl, 
correct?  My take on UserCOntrols is they will actually reside on the 
page. (Correct me if I 'm wrong)

Not sure I totally understand option B.

Lastly, after viewing option C examples, it still appears that 
calling it this way produces results in the same window.  As I 
mentioned, our standard is to have the search window displayed as a 
popup.  So, would it best to just compile the search page in a 
seperate app, call it via the /include directroy, ensuring I copied 
the compile DLL either to my app bin directory or making sure it is 
in the root bin directory.  (I hope I made this clear)

Once again, thanks for your help/advise.  Newsgroups are the best for 
those of us in the "growing stages" on .net .  



Geo... 

--- In [email protected], Charles Carroll 
<[EMAIL PROTECTED]> wrote:
>
> Includes are rarely if ever used in .net because better mechanisms 
exist.
> The ways to re-use code are:
> a. make the page into a UserControl i.e.
> 
> http://learnasp.com/freebook/learn/?
caller=utilitybelt&section=User+Controls
> b. call the page directly via it's class name and instantiate it 
and call
> it's methods
> c. Common code can be put in a DLL in the \bin directory or 
compiled using
> the SRC directive
>    http://learnasp.com/freebook/learn/cs_firstlib.aspx (C#)
>    http://learnasp.com/freebook/learn/vb_firstlib.aspx (VB.net)
> 
> 
> On 11/28/05, glovitz <[EMAIL PROTECTED]> wrote:
> >
> >  Although not brand new to ASP.NET, new enough to need alittle
> > confirmation on a few things.
> >
> > I have created an asp.net page that is called as a pop-up page 
that
> > allows a user to search for employees via last name.  When 
selected,
> > it returns the user name selected.  Now I use this page in several
> > web apps but have always just copied it into my current project
> > directory and did an "Add existing item".
> >
> > Question is this:  Since there is code behind on this page, if I
> > wanted to just reference this page via code using an "include"
> > directory ("/include/employee_Serach.aspx"), avoiding having to 
copy
> > to my working directory each time, would I need to create this 
form
> > on it's own (thus creating a dll) and then just referenece the 
page
> > but include the DLL in the bin directory of my current app?
> >
> > (I hope that make sense)  Thanks to any for all help on this.
> >
> 
> 
> [Non-text portions of this message have been removed]
>







 
Yahoo! Groups Links



 




*************************************************************************
This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to