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 parameter.

Web user control parameter.

Scheduled Pinned Locked Moved ASP.NET
sysadmintutorial
3 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.
  • P Offline
    P Offline
    priyank_ldce
    wrote on last edited by
    #1

    Hi all, I have made one web user control. Now I know how to pass string parameters in it but I am not able to pass server control as user control parameter. It is like we can pass data source to gridview. Thanks in advance, Priyank

    J S 2 Replies Last reply
    0
    • P priyank_ldce

      Hi all, I have made one web user control. Now I know how to pass string parameters in it but I am not able to pass server control as user control parameter. It is like we can pass data source to gridview. Thanks in advance, Priyank

      J Offline
      J Offline
      John ph
      wrote on last edited by
      #2

      You don't have to pass the Server-Control as a parameter to the User-Control. You can place it on the User-Control. User Control is similar to a container Control. It can contain any server control/any number of server controls.

      Regards
       - J O N -


      1 Reply Last reply
      0
      • P priyank_ldce

        Hi all, I have made one web user control. Now I know how to pass string parameters in it but I am not able to pass server control as user control parameter. It is like we can pass data source to gridview. Thanks in advance, Priyank

        S Offline
        S Offline
        Sandeep Akhare
        wrote on last edited by
        #3

        priyank_ldce wrote:

        Now I know how to pass string parameters in it but I am not able to pass server control as user control parameter.

        As you said you are passing the string parameter then how can you pass control as parameter to your control i think am confused :confused:

        Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

        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