-
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?
-
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) ???
-
Re: web forms 2010
that is exactly what I mean.
-
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" />