Last post Apr 13, 2008 06:11 PM by jpuckett
Apr 12, 2008 08:15 PM|jpuckett|LINK
Hello ladies and gentlemen, this should be a fun one.
Here's the ultimate objective: <prefix:SomeControl runat="server" ID="someID" divBackground="someImageURL" NavigateUrl="someURL" Target="_blankORnot" Text="SomeTextRenderedOverTheDiv" Height="someHeight" Width="someWidth" CssClass="someClass" MouseOverImage="someImageURL"
And teh resulting HTML markup on the page:
<div style="background-image: url(someImageURL); height: someHeight; width: someWidth; line-height: someHeight;" class="someClass">
The reason would be thus: My designer does not have to create images for EVERY button in the site, but rather only each state of each type of button. The Text could be added in and changed easily.
What I need is help setting this up, this is my very first venture into Web Custom Controls and thus far google hasn't been much help. :(
If you could direct me to a starting point I would appreciate it, I'm just at a loss right now.
Apr 13, 2008 06:11 PM|jpuckett|LINK