Results 1 to 3 of 3

Thread: Dynamically invisible user control

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2006
    Posts
    91

    Dynamically invisible user control

    hai

    i created 2 user controls with list of controls. in my page i am having dropdown to select for the user control and dynamically creating object for that user control and displaying it.

    When i change the selection to display another User control, i am able to hide or put that dynamically generated control visible to false.

    Please suggest me in this regard

    Thanks and Regards
    Vinay Kumar

  2. #2
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: Dynamically invisible user control

    why not export the usercontrols hide method or visible property?

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Dynamically invisible user control

    The Show, Hide and Visible members of all controls are already public. If you want a control to not be visible then set its Visible property to false or call its Hide method.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width