[Last Call] Learn how to a build a cloud-first strategyRegister Now


Drop List Event Handler

Posted on 2011-10-19
Medium Priority
Last Modified: 2012-05-12
I have a drop list on a web page with the below values and need an event handler

Values are


If the user selects “Third”  I want a value in a lablel to show “100”
Question by:jordanhelen
LVL 13

Accepted Solution

Jesus Rodriguez earned 2000 total points
ID: 36993826
On the Event SelectedIndexChanged() for the DropDownlist write this

If YourDropDownlist.SelectedValue="Third" then
  'Do the Action that you want
End if

 Be sure that your autopostback property is set to tru for the control

Author Closing Comment

ID: 36993934
Thank you so much.  It Works!

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question