Home Search Member List Faq Register Login  
UltimateSearch
TIP: label UI

Thread Starter: MADCookie   Started: 08-13-2008 3:14 PM   Replies: 0
 Karamasoft Support Forums » General Discussions » UltimateSearch » TIP: label UI
 Printable Version    « Previous Thread   Next Thread »
  13 Aug 2008, 3:14 PM
MADCookie is not online. Last active: 9/10/2009 3:36:53 PM MADCookie

Top 10 Posts
Joined on 05-30-2008
Posts 49
 TIP: label UI
I just figured this out and thought I'd share with you. I hope you all like it and find it useful. I feel it just adds a real nice touch to the user interface.

Here is my HTML

<label for="<%=UltimateSearchInput1.SearchTextBox.ClientId %>">Enter Search Words:</label>        <karama:UltimateSearchInput id="UltimateSearchInput1"  runat="server" /> 
 


The cool factor is the 'for' attribute on the 'label' tag. If the user clicks on the text "Enter Search Words:", then the cursor will go active on the textbox. This is nice because the user could be trying to click inside the textbox, but miss and the cursor still goes to the textbox. This is also very handy on larger forms when you tab between entry points. The tab takes focus to the text but the 'label' sends focus to the textbox.

Thanks Karamasoft for exposing

  
 Page 1 of 1 (1 items)
Karamasoft Support Forums » General Discussions » UltimateSearch » TIP: label UI

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2010 Karamasoft LLC. All rights reserved.