Hi All
I have a dropdown that binds with Database and here is the code:
var stat = db.tb_Status.ToList();
ddltype.DataSource = stat;
ddltype.DataTextField = "Status";
ddltype.DataValueField = "Status_Id";
ddltype.DataBind();
ddltype.Items.Insert(0, new ListItem("Select Vehicle Status"));
I managed to hide them initially like this:
$("[id*=btnAdd]").hide();
I want them to show depending on selected value on the dropdown.
Please Assist.
Midhun TpRank #388 · 6.5K reputationPosted Apr 11, 2017, 12:40 AM EDT
Sbonga Mathobela71 reputationPosted Apr 11, 2017, 12:54 AM EDT
Ramesh PalanivelRank #372 · 6.8K reputationPosted Apr 11, 2017, 1:04 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts