dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: web forms 2010

  1. #1
    Join Date
    Sep 2011
    Posts
    34

    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?

  2. #2
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    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.

  3. #3
    Join Date
    Sep 2011
    Posts
    34

    Re: web forms 2010

    that is exactly what I mean.

  4. #4
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)