how to access page controls from a class RRS feed

  • Question

  • is there any way to access a page control from inside a Class?

    for example:

    from my page i call: mclass.AddSessionVar("myval1","Myval2")
    then after that, i want to refresh a gridview. but i wanna do it from the class instead of the page.

    i'm asking because i'm playing w/ Web User Controls, and i basically wanna refresh a grid vew after the user hits the ADD button on the user control button. but the grid view is on the web form... follow?

    • Edited by Albert Kohl Friday, March 12, 2010 10:20 PM type-o
    • Moved by Martin_XieModerator Friday, March 19, 2010 8:22 AM Redirect to ASP.NET forums for better support. (From:Visual Basic General)
    Friday, March 12, 2010 9:56 PM