G
Guest
I want to create a C# class where I'll have a bunch of static functions which
will use the ClientScript object to dump out some JavaScript dynamically.
But I can't figure out how to get a hold of the "ClientScript" object in
those other classes. I guess it's that I have to get the current Page object
and work down to the Page's ClientScript object. But I don't know how to do
that either. I tried HttpContext.Current... but that doesn't get me to the
Page or the ClientScript object.
So how to I get a hold of the Page object from another class?
Alex
will use the ClientScript object to dump out some JavaScript dynamically.
But I can't figure out how to get a hold of the "ClientScript" object in
those other classes. I guess it's that I have to get the current Page object
and work down to the Page's ClientScript object. But I don't know how to do
that either. I tried HttpContext.Current... but that doesn't get me to the
Page or the ClientScript object.
So how to I get a hold of the Page object from another class?
Alex