how to use imagebutton with search button and register ?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
i try to replace search button and register button with image button i get an error :


Parser Error Message: The base class includes the field 'btnSearch', but its type (System.Web.UI.WebControls.Button) is not compatible with the type of control (System.Web.UI.WebControls.ImageButton).

why ?

i want to use image on these buttons , please help
13 years ago
Replace "System.Web.UI.WebControls.Button" with "System.Web.UI.WebControls.ImageButton" (the text) in the *.designer.cs page.

That should do it. Remember to backup your solution before you try this.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.