koraykazgan
Programmer
Hi there,
I have programmed a Web User Control Button. I am Rendering the control in the Render method of the class with only html tags. The button is made of a table with 3 rows and 3 cells per row. I have 8 small images for drawing the border of the button. I put the images in the cells. Only the middle cell is empty. This cell is the largest one, which will contain my button caption.
( my button table is like the following:
***
* *
***
a 3x3 table, with images on its sides and an empty cell in the middle.)
So far, everything is working fine. But now it's time to create the events of the control. I don't really know, how to put events to my control.
I want to add 3 or 4 events to my button, but my control is a pure html control. How can I get my control to reload the page and raise any defined events?
I have programmed a Web User Control Button. I am Rendering the control in the Render method of the class with only html tags. The button is made of a table with 3 rows and 3 cells per row. I have 8 small images for drawing the border of the button. I put the images in the cells. Only the middle cell is empty. This cell is the largest one, which will contain my button caption.
( my button table is like the following:
***
* *
***
a 3x3 table, with images on its sides and an empty cell in the middle.)
So far, everything is working fine. But now it's time to create the events of the control. I don't really know, how to put events to my control.
I want to add 3 or 4 events to my button, but my control is a pure html control. How can I get my control to reload the page and raise any defined events?