|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Creating a 3 State Rollover ButtonCan anyone tell me what I need to do to create a 3 stage rolloever button out of an asp.net image control. I don't know too much about javascript or creating user controls. I'm really hoping that someone can just tell me if there is an easy way to do it. I normally use Dreamweaver for creating the rollover but thats just for normal images, not server side controls. Is there any way I can use the code that dreamweaver generates and somehow incorporate it into the <asp:imagebutton ..... > code? One last thing: I really would like the button to be a 3 state button, so that when you click on it it has that 'pressed' look as well as the standard 2 rollover states Any advice would be greatfully received Kindest Regards tce the easy way is to use dreamweaver. just catch the button postback yourself
in the onload event. just be sure to assign a name and value to the image button. if (Request.Form["mybuttonname'] != null) doButtonClick(); -- bruce (sqlwork.com) Show quoteHide quote "thechaosengine" <none> wrote in message news:5405632494354696250000@news.microsoft.com... > Hi all, > > Can anyone tell me what I need to do to create a 3 stage rolloever button > out of an asp.net image control. > > I don't know too much about javascript or creating user controls. I'm > really hoping that someone can just tell me if there is an easy way to do > it. > I normally use Dreamweaver for creating the rollover but thats just for > normal images, not server side controls. Is there any way I can use the > code that dreamweaver generates and somehow incorporate it into the > <asp:imagebutton .... > code? > > One last thing: I really would like the button to be a 3 state button, so > that when you click on it it has that 'pressed' look as well as the > standard 2 rollover states > > Any advice would be greatfully received > > Kindest Regards > > tce > > >
Uncheck Checkboxes
Repeat web controls in ASPX page How to validate one of two Required TextBox Dynamic loadcontrol of ascx with dll not in bin path how to display records in datagrid GridView Rows collection refresh within an event Open New Window Server Side AddHandler / Remove Handler? DBNull.Value and the dropdownlist Getting values from dynamic TextBox'es |
|||||||||||||||||||||||