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 HussainRank #423 · 5.9K reputationPosted Aug 28, 2013, 4:07 AM EDT
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
mohammed shamsheerRank #4,152 · 361 reputationPosted Aug 28, 2013, 4:53 AM EDT
mohammed shamsheerRank #4,152 · 361 reputationPosted Aug 28, 2013, 5:11 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Aug 28, 2013, 7:15 AM EDT
Regards,
Iftikar