selectedIndexChanged event not being triggered unless page is refr

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

and as if that isn't bad enough, if you refresh the page the _Click event on
a button is being executed. What gives?
 
????

--
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))
 
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.
 
Roman,

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

Cor

"(e-mail address removed)"
...
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top