cannot implicitly convert system type to event handler
I created two properties for button in master page
public Button test { get { return Button1; } }
public Button print { get { return Button4; } }
in child page:
Master.print.Click += DesignationGridLoad(); showing error cannot implicity covert system type to event handler.

Iftikar HussainPosted Aug 28, 2013, 11:15 AM
Regards,
Iftikar
mohammed shamsheerPosted Aug 28, 2013, 9:11 AM
mohammed shamsheerPosted Aug 28, 2013, 8:53 AM
Iftikar HussainPosted Aug 28, 2013, 8:07 AM
The best way to use master page control by creating one interface and inherit it in master page.
Create one interface
Inherit it and assign the property value
in your child page
Regards,
Iftikar