|
Rank: Advanced Member
Groups: Registered
Joined: 9/1/2010 Posts: 136
|
I have the following ASP.NET code in a user control:
<keyoti:SearchBox ID="sbxRwdSearch" runat="server" AutoCompleteQuery="True" AutoCompleteQueryFailSilent="True" AutoCompleteQueryMaxSuggestions="5" AutoCompleteQueryRunSearchOnSelect="True" AutoCompleteQueryShowNumberOfResults="True" OnSearch="sbxRwdSearch_OnSearch" RememberQuery="True"> <QueryTextBox ID="qtbRwdSearch" runat="server" CssClass="text-box init" type="text" /> <SearchButton ID="sbRwdSearch" runat="server" CssClass="go-button" type="button" Value="Go" /> </keyoti:SearchBox>
I would like to use an image for the search button instead of text. Is there a way to do this? I'm sorry I haven't been able to see how to do it in the documentation.
Thanks for your help!
|
|
Rank: Administration
Groups: Administrators
Joined: 8/13/2004 Posts: 66
|
Hi. Thanks for posting.
You can set the ImageMouseDown ImageMouseOut and ImageMouseOver properties of the SearchButton to your button image URL.
Let us know how that goes.
Dan Keyoti
|
|
Rank: Advanced Member
Groups: Registered
Joined: 9/1/2010 Posts: 136
|
That worked. Thanks very much!
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.