.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> VB.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Display the result based on dropdownlist

Posted By: Catherine     Posted Date: September 06, 2011    Points:5   Category :VB.Net
Hi, In my module I am using dropdownlist in that i bind two process that is process 1 and process 2. I would like to do that the user should not select process 2 before selecting the process 1. First the user select process 1 and process 2. how to give the condition to do this. please tell

Responses
Author: Narayanan             
Posted Date: September 06, 2011     Points: 20   

Hi,
try this,

in Process1 SelectedIndexChanged
if (prcoess1.text =="")
{
}
else

{
//Do something
}

My code is in C#.net .Please change to VB.Net
Regards,
Lakshmi Narayanan.S

Regards, Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/
Author: Sasi Prabhu             
Posted Date: September 13, 2011     Points: 20   

Try :

Select the AutoPostback property as true for dropdown1.
On Page_Load Clear the Items in Dropdown2.
After selecting the value DropDown1,bind the items in dropdown2.



Thanks & Regards,
Sasi Prabhu.


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend