Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating events in a web control library

Status
Not open for further replies.

koraykazgan

Programmer
Jan 11, 2005
17
DE
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top