473,513 Members | 2,581 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

selectedIndexChanged event not being triggered unless page is refr

and as if that isn't bad enough, if you refresh the page the _Click event on
a button is being executed. What gives?
Nov 21 '05 #1
4 2721
????

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"rr****@800mcmahan.com" <rr*****************@discussions.microsoft.com>
wrote in message news:0E**********************************@microsof t.com...
and as if that isn't bad enough, if you refresh the page the _Click event
on
a button is being executed. What gives?

Nov 21 '05 #2
I have an ASP .NET web page VB. I have an event,
usersDropDownList_SelectedIndexChanged, on a DropDownList which updates the
contents of a textBox. Problem is this code isn't being executed unless the
page is refreshed. Other problem is, if you refresh the page the
submitTicketButton_Click code executes.

"One Handed Man ( OHM - Terry Burns )" wrote:
????

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"rr****@800mcmahan.com" <rr*****************@discussions.microsoft.com>
wrote in message news:0E**********************************@microsof t.com...
and as if that isn't bad enough, if you refresh the page the _Click event
on
a button is being executed. What gives?


Nov 21 '05 #3
Roman,

I think that setting the autopostback property of that dropdownlist to true
will do it..

Cor

"rr****@800mcmahan.com"
...
I have an ASP .NET web page VB. I have an event,
usersDropDownList_SelectedIndexChanged, on a DropDownList which updates
the
contents of a textBox. Problem is this code isn't being executed unless
the
page is refreshed. Other problem is, if you refresh the page the
submitTicketButton_Click code executes.

"One Handed Man ( OHM - Terry Burns )" wrote:
????

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"rr****@800mcmahan.com" <rr*****************@discussions.microsoft.com>
wrote in message
news:0E**********************************@microsof t.com...
> and as if that isn't bad enough, if you refresh the page the _Click
> event
> on
> a button is being executed. What gives?


Nov 21 '05 #4
That sort of worked. However not, instead of showing the name I've selected
and entering the email address into the text box, it's refreshing the form
and selecting the first entry of the dataset and putting that e-mail address
into my textBox.

"Cor Ligthert" wrote:
Roman,

I think that setting the autopostback property of that dropdownlist to true
will do it..

Cor

"rr****@800mcmahan.com"
...
I have an ASP .NET web page VB. I have an event,
usersDropDownList_SelectedIndexChanged, on a DropDownList which updates
the
contents of a textBox. Problem is this code isn't being executed unless
the
page is refreshed. Other problem is, if you refresh the page the
submitTicketButton_Click code executes.

"One Handed Man ( OHM - Terry Burns )" wrote:
????

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"rr****@800mcmahan.com" <rr*****************@discussions.microsoft.com>
wrote in message
news:0E**********************************@microsof t.com...
> and as if that isn't bad enough, if you refresh the page the _Click
> event
> on
> a button is being executed. What gives?


Nov 21 '05 #5

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

Similar topics

3
7984
by: sandman | last post by:
I've got a combo box that has an event handler set for SelectedIndexChanged event. The problem is that it's firing at startup when I load data from the Form_OnLoad event. I tried setting a flag...
1
8344
by: Edward | last post by:
I am having a terrible time getting anything useful out of a listbox on my web form. I am populating it with the results from Postcode lookup software, and it is showing the results fine. What...
0
1040
by: aboivin | last post by:
Hi, I've seen this posted many times but still can't find any answer. I have a number of ddl in my form and only one of them has the SelectedIndexChanged Event fired correctly even if they all...
2
3280
by: jnoody | last post by:
The problem I am having is with the SelectedIndexChanged event not always firing or the SelectedIndex property not being correct when the event does fire. The code is below, but here are some...
2
10496
by: OceanBreeze | last post by:
I am using ASP.Net 2.0 and C# and new to this. I have programmatically added a zip code drop down into web form inside Page_Load method as: ZipDropDown.Items.Add("11111");...
11
36906
by: J055 | last post by:
Hi I have a dropdown control which is constructed in another dropdown control SelectedIndexChanged event protected void ddlParamType_SelectedIndexChanged(object sender, EventArgs e) { //...
7
12049
by: Damien | last post by:
Hi guys, I'm trying to learn ASP.NET and got a problem with DroDownList... SelectedIndexChanged doesn't fire. Maybe you'll be able to suggest something. I think it may be connected with the...
0
1988
by: BillCo | last post by:
I'm a C# Newbie, so if I've missed the obvious here go easy!!! I have a form opened from a MDI parent. The form has a data bound combo box, with a SelectedIndexChanged event (fills a list view...
2
1458
by: ArunDhaJ | last post by:
Hi Friends, I'm using .Net1.1. The SelectedIndexChanged event is generated twice when i change the selection. I think this is because the event is triggered when an item loses focus and the...
0
7260
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
7384
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
7537
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...
0
7525
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...
0
5685
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3222
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1594
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
799
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
456
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.