2

Guys how to access content page's method from master page in ASP.NET C#?

The code in content page (usageDuration.aspx.cs):

public void renderChart()
{
   // xxxxx
}
jotik
  • 17,044
  • 13
  • 58
  • 123
  • see this http://stackoverflow.com/questions/887178/content-page-class-method-calling-from-master-page-class – Ashley John Jun 27 '16 at 07:41
  • Possible Answer http://stackoverflow.com/questions/887178/content-page-class-method-calling-from-master-page-class – mmushtaq Jun 27 '16 at 07:41

1 Answers1

0

You can do this using delegates, for more information go through the below link

Calling Content Page Method from MasterPage Method

your can find answer.

Community
  • 1
  • 1