|
-
September 15th, 2011, 10:24 AM
#1
web forms 2010
I have a question about a C#.net 2010 asp.net application. I obtained some code from a
contractor that uses web pages. The exisitng code has a main page where the user selects where what web item they want to work with. I would like to add 'web forms' and tie into the
overall company 'web pages'.
Can 'web forms 2010' tie to 'web pages 2010' from the 'main selection page' the user sees? If
so, can you point me to a url and/or explain how this is possbile? If this is not possible, can you can me why?
-
September 21st, 2011, 10:39 AM
#2
Re: web forms 2010
The thing here is, your terminology is not too great ..
A web page is the browser rendering of a ASP web form...
are you perhaps talking about a ASP web user control (.ascx) instead of the regular asp form (.aspx) ???
Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
-
September 22nd, 2011, 09:51 AM
#3
Re: web forms 2010
that is exactly what I mean.
-
September 22nd, 2011, 10:30 AM
#4
Re: web forms 2010
Including User controls into a Web App is easy...
check out this MSDN article for some more in depth details..
however you just need to add the ASCX files to the site, add the related DLL to the bin directory and add reference to it in the respective pages..
Code:
<%@ Register src="NewItem.ascx" tagname="NewItem" tagprefix="uc1" %>
<uc1:NewItem ID="NewItem1" runat="server" />
Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|