473,503 Members | 2,238 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

dropdown list lost focus

Hi

In asp.net/vb.net is there a trigger for a dropdown list when focus moves to
next control.
I want other fields to be filled after a user selects a account reference
and tabs to the next field

Thanks in advance


---
Outgoing mail is certified Virus Free, so am I.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.677 / Virus Database: 439 - Release Date: 04/05/2004
Nov 18 '05 #1
2 5038
Hi starbuck,

Set the autopostback property of the dropdownlist to true so every time you
change any value in the datagrid the will get posted and on the server you
can do the processing (fill the other fields) in the
DropDownList1_SelectedIndexChanged method.

if the data to be populated on the other fields, is available on the client
when the page is rendered, you can have a javascript attached to the
dropdownlist which does the processing (fill other fields) for you on the
client itself.

You can attach the javascript using following code in the page_load method
dropdownlist.attributes.add("onblur","javascript:F illOtherFields();");

HTH
Regards
Ashish M Bhonkiya

"starbuck" <st******@mbssoft.co.uk> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi

In asp.net/vb.net is there a trigger for a dropdown list when focus moves to next control.
I want other fields to be filled after a user selects a account reference
and tabs to the next field

Thanks in advance


---
Outgoing mail is certified Virus Free, so am I.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.677 / Virus Database: 439 - Release Date: 04/05/2004

Nov 18 '05 #2
Thank Ashish
That did the trick

Cheers

"Ashish M Bhonkiya" <bh******@hotmail.com.nospam> wrote in message
news:uW*************@TK2MSFTNGP10.phx.gbl...
Hi starbuck,

Set the autopostback property of the dropdownlist to true so every time you change any value in the datagrid the will get posted and on the server you
can do the processing (fill the other fields) in the
DropDownList1_SelectedIndexChanged method.

if the data to be populated on the other fields, is available on the client when the page is rendered, you can have a javascript attached to the
dropdownlist which does the processing (fill other fields) for you on the
client itself.

You can attach the javascript using following code in the page_load method dropdownlist.attributes.add("onblur","javascript:F illOtherFields();");

HTH
Regards
Ashish M Bhonkiya

"starbuck" <st******@mbssoft.co.uk> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi

In asp.net/vb.net is there a trigger for a dropdown list when focus moves
to
next control.
I want other fields to be filled after a user selects a account

reference and tabs to the next field

Thanks in advance


---
Outgoing mail is certified Virus Free, so am I.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.677 / Virus Database: 439 - Release Date: 04/05/2004


---
Outgoing mail is certified Virus Free, so am I.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.677 / Virus Database: 439 - Release Date: 04/05/2004
Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
9990
by: Rod Early | last post by:
I need to know when the select element's dropdown list is opened (as when the user clicks on the arrow or does ALT-downarrow from the keyboard). Similarly, I need to known when the dropdown list...
1
8886
by: cksj | last post by:
I have a dropdown control on my web page. When the user has selected an item on the list, I would like to set focus to one of the textboxes. Do you know how I can do this? Thanks for any ideas....
3
2467
by: Dave | last post by:
We are developing a web page that shows large graphics. To provide more screen space for the graphics, we allow the user to popup a window that places itself over the top part of the browser. This...
9
11832
by: Prowler | last post by:
In our current application we have a page whose sole purpose for existence is to permit the user to select from a list (subsequent to our login page). We would like to have the list drop down...
6
7348
by: Rey | last post by:
Howdy, all. Appreciate your help. Have a one to many relation between a client and visit table. In the visit subform, I have a visittype and counselor field which are comboboxes. If I set...
1
1699
by: Dale Geffs | last post by:
I have a form with a combo box and when it (combo) gets focus I issue a .dropdown. Using A2K and SP1 everything works fine and the list drops down under the control as expected. If I use a PC with...
4
4576
by: Paul | last post by:
I have a dropdown list box and a button on a web form, the autopost back is false for the dropdown list box and button. When the button is pushed the selection in the dropdownlist box is lost,...
5
10276
by: Gil | last post by:
Is there a way to tell if a combbox is in dropdown mode. I tried and if statement combobox.dropdown = true but i get an error. dropwndown function doesnt store if its true or false what i am...
3
3830
by: Cagey | last post by:
What I'm trying for: If this selection or if click on selection (highlighted line choice/ which ever selection change) w/in query's combo dropdown list box (on Switchboard), then Open in...
0
7207
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7291
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7357
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7012
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7468
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5023
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4690
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
1
748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
402
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.