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

x
?
Solved

Drop List Event Handler

Posted on 2011-10-19
2
Medium Priority
?
256 Views
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

First
Second
Third

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

Accepted Solution

by:
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
0
 

Author Closing Comment

by:jordanhelen
ID: 36993934
Thank you so much.  It Works!
0

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