Access page from class

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

I have a class in a DLL library with a method named Initialize.

I want to add a few things to Page Header when this method runs.

How can I access the page header from my class?

Thanks,

Miguel
 
Why not to do vice versa?
Just request necessary info from your class before page is loaded and add it
to header?
 
shapper said:
Hello,

I have a class in a DLL library with a method named Initialize.

I want to add a few things to Page Header when this method runs.

How can I access the page header from my class?

Thanks,

Miguel
hello,
you can use : HttpContext.Current.Page.Header

steph
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top