Please turn on javascript in your browser to play chess.
Developers Forum

Developers Forum

  1. Subscriber Crowley
    Not Aleister
    04 Aug '03 23:06
    Hi, just wanna know if anyone can help me with this one.
    Doing some C#, just playing around, haven't had any training in it (or any .NET for that matter).

    Say I want some dynamic content on a page, changed from outside the form (other classes), for simplicity, say I just wanna change the content of different textboxes on a form, is there any easy way?
    I can't just call a public method inside the form's class, except if it's defined static, but then I can't access any of the content inside the form.

    Any ideas? I can't seem to find anything in the help...
  2. Standard member gregoftheweb
    The Great Gonzo
    05 Aug '03 00:24
    Although .Net is a fancy new product it still relies on http protocol and the variety of limitations inherent in it. So essentially what I would suggest is utilizing the old standby: cookies. Statelessness is still a pain.

    Although the cookie object is more objectized now of course.

    Maybe I don't understand the question quite.
  3. Subscriber Crowley
    Not Aleister
    05 Aug '03 19:30
    I wasn't very clear.
    I want to access content on a windows form from other classes.
  4. Standard member gregoftheweb
    The Great Gonzo
    05 Aug '03 22:38
    ahh I'm a asp.net guy but the differences are disappearing. I don't see why you wouldn't be able to do this theoretically. Let me know what you find out, sorry I can't be any more specific help.