reading values between custom controls

Discussion in 'ASP .Net Web Controls' started by MaverickAmit, Oct 2, 2003.

  1. MaverickAmit

    MaverickAmit Guest

    Hi All,

    I have a .ASPX page which consists of two web custom controls.
    I want to declare a global variable which can be given a value in one
    custom control. I want that the other custom controls can read the
    value of this global variable.
    Please let me know how can i do this.

    Regards,
    MaverickAmit
     
    MaverickAmit, Oct 2, 2003
    #1
    1. Advertising

  2. You can add a public property to the custom control.

    /Fredrik Normén NSQUARED2
    http://www.nsquared2.net


    >-----Original Message-----
    >Hi All,
    >
    >I have a .ASPX page which consists of two web custom

    controls.
    >I want to declare a global variable which can be given a

    value in one
    >custom control. I want that the other custom controls

    can read the
    >value of this global variable.
    >Please let me know how can i do this.
    >
    >Regards,
    >MaverickAmit
    >.
    >
     
    Fredrik Normén NSQUARED2, Oct 2, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bijoy Naick
    Replies:
    1
    Views:
    333
    Peter O'Reilly
    May 4, 2004
  2. Replies:
    1
    Views:
    328
    Karl Seguin [MVP]
    Mar 29, 2006
  3. rodchar
    Replies:
    0
    Views:
    410
    rodchar
    Nov 26, 2007
  4. Arulraja

    Passing values between Custom controls?

    Arulraja, Oct 21, 2003, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    165
    Victor Garcia Aprea [MVP]
    Oct 23, 2003
  5. Replies:
    3
    Views:
    395
    Angel
    Feb 6, 2008
Loading...

Share This Page