Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. web user control

web user control

Scheduled Pinned Locked Moved ASP.NET
design
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kvijayajyothy
    wrote on last edited by
    #1

    i want create ascx page . i want to create lookup design vijaya

    vijaya

    K V 2 Replies Last reply
    0
    • K kvijayajyothy

      i want create ascx page . i want to create lookup design vijaya

      vijaya

      K Offline
      K Offline
      kubben
      wrote on last edited by
      #2

      Not sure what your question is here. In your web project add a new item it is called web user control. Inside that control do your lookup design. Then when you want to include it into a web page you need two lines of code: First you register the user control, so at the top of the page right below the <@ Page directive you need something similar to this: <%@ Register TagPrefix="uc1" TagName="LookupControl" Src="~/Controls/LookupDesign.ascx" %> Then in your code you need to add this: Don't know if that answered your question or not. Ben

      K 1 Reply Last reply
      0
      • K kvijayajyothy

        i want create ascx page . i want to create lookup design vijaya

        vijaya

        V Offline
        V Offline
        Vasudevan Deepak Kumar
        wrote on last edited by
        #3

        kvijayajyothy wrote:

        i want create ascx page

        From the solution explorer, navigate to the folder and right click 'Add New Web User Control'.

        kvijayajyothy wrote:

        i want to create lookup design

        Your web designer should be able to advise this on. Or if you are a web designer yourself, try using Dreamweaver or Frontpage.

        Vasudevan Deepak Kumar Personal Homepage Tech Gossips

        1 Reply Last reply
        0
        • K kubben

          Not sure what your question is here. In your web project add a new item it is called web user control. Inside that control do your lookup design. Then when you want to include it into a web page you need two lines of code: First you register the user control, so at the top of the page right below the <@ Page directive you need something similar to this: <%@ Register TagPrefix="uc1" TagName="LookupControl" Src="~/Controls/LookupDesign.ascx" %> Then in your code you need to add this: Don't know if that answered your question or not. Ben

          K Offline
          K Offline
          kvijayajyothy
          wrote on last edited by
          #4

          i have form which displays data in grid based on query passed and condition selected. now i want to call that page in any page when i click on button so what is the best method? so i thought ascx is best method i used lookup page goes off when i place currsor out side the pan and even when i click on any option in the lookup panel like dropdown list

          vijaya

          K 1 Reply Last reply
          0
          • K kvijayajyothy

            i have form which displays data in grid based on query passed and condition selected. now i want to call that page in any page when i click on button so what is the best method? so i thought ascx is best method i used lookup page goes off when i place currsor out side the pan and even when i click on any option in the lookup panel like dropdown list

            vijaya

            K Offline
            K Offline
            kubben
            wrote on last edited by
            #5

            If you have multiple places where you want to have the same control, yes it is a good idea to use a user control. That would be a good solution. Ben

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups