Results 1 to 9 of 9

Thread: RESOLVED: How to call a public method from Page Prerender event of master page?

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member Utpal's Avatar
    Join Date
    Feb 2002
    Location
    Mumbai, India
    Posts
    393

    RESOLVED: How to call a public method from Page Prerender event of master page?

    Hi Everybody,

    I am using ASP.NET 3.5. In my ASP.NET project, I have created a master page, which I have used in all my web forms. I also have code modules in which I have public procedures and functions.

    I have written some code in the PreRender page event in the master page, so that it is executed on all my web forms that are web content forms of the master page. However, in that event I am not able to call public functions that I have declared in my code modules, because if I do so, I get a run-time error which says that the function is not declared.

    Is it possible to do that. If so how?
    Last edited by Utpal; Oct 27th, 2009 at 01:50 AM.
    It is easy when you know it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width