An Old Guy and His Dog
An Old Guy and His Dog

Reputation: 499

asp.net event handler not firing

I've been looking for a solution to this for several hours now and cannot find a solution.

The Scenario:

I think I'm doing something stupid. I would appreciate some help.

Thanks!

Upvotes: 0

Views: 765

Answers (1)

KodeKreachor
KodeKreachor

Reputation: 8882

Does the event on your master page class need to be an actual event handler? You should be able to just make it a public method and access it from your page (or user control) event handler like this:

Page.Master.MyPublicMasterPageMethod()

To call a method on your content page from your master page you could use VB's CallByName method: http://msdn.microsoft.com/en-us/library/22x2chfx.aspx

Upvotes: 0

Related Questions