Ask a Question related to ASP.NET General, Design and Development.
-
Manan #1
Accesskey option
hi All,
I'm using a web application. On my .aspx pages I want to
add shortcut keying option to textbox, dropdown, and
button. I know i can use AccessKey to add shortcuts but
I'm having problem with Button control. I want, when user
uses Alt + P. I want to give focus to a button control. I
have tried button1.Text = "&Print"; didn't work.
Any help is appreciated.
Thanks
Manan
Manan Guest
-
env Config option and LockDetect option not working with Berkeley DB RPC
I am currently using Berkeley DB 4.4.20 with Berkeley DB perl module 0.28. I am running the client/server version of Berkeley DB. Here is what my... -
Help with HELP option
I am running a G5 on OS. 10.3.3 and am trying to learn to use PhotoShop 7. When I open the Help section, the application launches Internet Explorer... -
If You have an option to move from 7.3 to 9.3 or 9.4. Which one you
9.4 .. since a) 2 GB chunk limits are gone ... b) 2GB disk offsets can be used to create chunks .. c) its performance is compatible with 7.31 code... -
no PNG option?
hello, i've got an image set to RGB and when i try to save as... PNG is not in the list. what might i be doing wrong? i'm using 2.0. also, why is... -
RUN AS doesn't appear as an option...
When I shift + right-click on an EXE, I don't get a RUN AS option. Secondary logon is enabled and started. The RUN AS option is there when I'm... -
Lewis Wang [MSFT] #2
RE: Accesskey option
Hi Manan,
You can add an AccessKey property on the Button control. The following
simple ASPX page works properly on my side. You can test the page on your
side:
<HTML>
<HEAD>
<title>WebForm1</title>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<INPUT style="Z-INDEX: 101; LEFT: 112px;
POSITION: absolute; TOP: 184px" type="button"
value="Type Alt+n" accesskey="N">
<asp:Button id="Button1" style="Z-INDEX: 102; LEFT:
112px; POSITION: absolute; TOP: 96px" runat="server"
Text="Type Alt+p" AccessKey="P"</form>></asp:Button>
</body>
</HTML>
Does this answer your question?
Best Regards,
Lewis Wang
Support Professional
<mailto:v-lwang@microsoft.com>
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "Manan" <Anand125@hotmail.com>
| Sender: "Manan" <Anand125@hotmail.com>
| Subject: Accesskey option
| Date: Tue, 15 Jul 2003 07:34:48 -0700
| Lines: 13
| Message-ID: <0af801c34ade$3e5a3440$a501280a@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcNK3j5arcUPE4tnRpCdQHhpfYUbfQ==
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:159236
| NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| hi All,
|
| I'm using a web application. On my .aspx pages I want to
| add shortcut keying option to textbox, dropdown, and
| button. I know i can use AccessKey to add shortcuts but
| I'm having problem with Button control. I want, when user
| uses Alt + P. I want to give focus to a button control. I
| have tried button1.Text = "&Print"; didn't work.
|
| Any help is appreciated.
|
| Thanks
| Manan
|
Lewis Wang [MSFT] Guest



Reply With Quote

