T
Tomk
I have a feeling I'm going about this all wrong....
In ASP 2.0 I used includes for common headers, footers, and menus on pages.
Since that concept is outdated I figured it would be a good spot for a
custom web control. I created a new Web Control Library and added a few
properties and then pasted my header HTML code in the render method using
output.Write. This accomplishes my main goal of replacing the include
concept form ASP 2.0 but what about events? My HTML code has links that I
need events for so I'm guessing I need to use the .NET Hyperlink control. I
can't seem to find any examples of web controls that don't start out from an
existing web control. What is the DOTNET way of doing this. I basically
need a custom navigation control that can fire events for each link pressed.
In ASP 2.0 I used includes for common headers, footers, and menus on pages.
Since that concept is outdated I figured it would be a good spot for a
custom web control. I created a new Web Control Library and added a few
properties and then pasted my header HTML code in the render method using
output.Write. This accomplishes my main goal of replacing the include
concept form ASP 2.0 but what about events? My HTML code has links that I
need events for so I'm guessing I need to use the .NET Hyperlink control. I
can't seem to find any examples of web controls that don't start out from an
existing web control. What is the DOTNET way of doing this. I basically
need a custom navigation control that can fire events for each link pressed.