Results 1 to 4 of 4

Thread: Help With Web User Controls

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2002
    Location
    Chicago
    Posts
    30

    Question Help With Web User Controls

    Hi,

    Does any no how to pass attributes or parameters to Web User Controls

    It looks like they are just snippits of HTML/ASP and can't use any outside params except Request.form/Querystring or Session.contents???? Is this true???

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    you can creat properties/ public variables in them within the script tag for the control.
    then

    <yourobject:tag property1="blah" property2="blah again" runat-"server"/>
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jun 2002
    Location
    Chicago
    Posts
    30

    Access

    Awesome !! How do you access them inside the control code?

  4. #4
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    mmm..not to sure about that one..I know it is possible..saw the code sometime ago..but dont remember what it was.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

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