Home Home page » » Dot Net Dot Net

Accelerator keys you should avoid for Asp.Net 2.0 controls Acceleratore tasti che si dovrebbe evitare di Asp.Net 2.0 controlli

Asp.Net 2.0 server Controls like Label, TexBox etc. now c an be quickly accessed from keyboard by assigning accelerator keys to them at design time . Asp.Net 2.0 Controlli server come Label, ecc TexBox ora c uno essere rapidamente accessibili da tastiera assegnando chiavi di acceleratore a loro volta in fase di progettazione. Accelerator keys or Hot keys allows controls to be accessed and get focused by specific hot key press ( for example ALT + N) similar to CTRL + C is used for copy. Acceleratore chiavi o chiavi calde controlli permette di essere letta e ottenere da specifiche incentrate caldo alla pressione di un tasto (ad esempio ALT + N) simile a CTRL + C è utilizzato per copiare.

So now if you have made a text box for entering username and assign Hot key as ALT + E, What happens ? Quindi se ora hai fatto una casella di testo per l'inserimento di nome utente e assegnare come tasto hot ALT + E, cosa succede? The users will access the edit menu of IE or Firefox but not that text box. L'accesso degli utenti dal menu Modifica di Internet Explorer o Firefox, ma non che della casella di testo.

Note: Hot keys are assigned using AccessKey syntax , see the bold part of below code. Nota: Hot tasti sono assegnati utilizzando AccessKey sintassi, vedere il grassetto parte inferiore del codice.

 < asp : TextBox ID =”TextBox1″ AccessKey =”E” runat =”server”></ asp : TextBox > <Asp: TextBox ID = "TextBox1" AccessKey = "E" runat = "server"> </ asp: TextBox> 

Assigning Hot-Keys or accelerator keys to asp.net 2.0 controls which is same as Browsers Hot-keys is one of the major mistake you will do if you are designing web based applications or web sites. Assegnazione di Hot-Keys o acceleratore chiavi di asp.net 2.0 controlli che è uguale a quello Browser Hot-keys è uno dei principali errore si farà se si sta progettando applicazioni basate su Web o siti web. AVOID IT. Evitarlo. Here is the list of hot keys you should not use Ecco l'elenco delle chiavi calde non si dovrebbe utilizzare

  • ALT + F ALT + F
  • ALT + E Alt + E
  • ALT + V ALT + V
  • ALT + I ALT + I
  • ALT + O ALT + O
  • ALT + T Alt + T
  • ALT + A Alt + A
  • ALT + W Alt + W
  • ALT + H Alt + H

If you use any of these IE or Firefox actions supersede any actions you place on page. Se si utilizza uno qualsiasi di questi IE o Firefox azioni sostituiscono qualsiasi azione si colloca sulla pagina.

Tags: Tag: , , ,

Translate to EnglishÜbersetzen Sie zum Deutsch/GermanПереведите к русскому/RussianΜεταφράστε στα ελληνικά/GreekVertaal aan het Nederlands/Dutchترجمة الى العربية/Arabic中文翻译/Chinese Traditional中文翻译/Chinese Simplified한국어에게 번역하십시오/Korean日本語に翻訳しなさい /JapaneseTraduza ao Português/PortugueseTraduca ad Italiano/ItalianTraduisez au Français/FrenchTraduzca al Español/Spanish
SMS abbonarsiPrint This Post

Posted on 27th October 2007 by Pubblicato il 27 ottobre 2007 dalla Ashish Mohta Ashish Mohta , A tech blogger who writes about solving day to day problems of people who use computer. , Una tecnologia blogger che scrive circa la risoluzione di giorno in giorno i problemi delle persone che usano i computer. He also writes on How to use the applications like Office, PC tips, Online tools,Browsers and more. All posts by Egli scrive anche su come utilizzare le applicazioni di Office come, PC suggerimenti, strumenti on-line, browser e molto altro ancora. Tutti i posti da Ashish Mohta Ashish Mohta | Connect with me @ | Collegare con me @ Twitter Twitter | | Linkedin LinkedIn | | Facebook Facebook | | Stumble Stumble | Need more help? | Serve ulteriore aiuto? Ask your Questions at our Le vostre domande al nostro Support Center Support Center




Leave your response! Lascia la tua risposta!

Be nice. Sii gentile. Keep it clean. Tenere pulito. Stay on topic. Rimani in argomento. No spam. N. spam.

You can use these tags: È possibile utilizzare questi tag:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>