c# - Populating multiple dropdowns from single source and changing data dynamically -
i have table named employee. fetching data table 5 drop-downs fields empno, unit, location, onsite/offshore etc., when selecting value in of drop-downs values in drop-downs have change. can pls me how can acheive this??
server side solution
there selectedindexchanged
event dropdown control. in event, need reset other dropdowns or reload other data.
client side solution (with jquery)
listen change
event of first dropdown , clear other dropdown content in event.
$(function(){ $("#idoffirstdropdown").change(function(e){ $("#idofsecond").html(""); }); });
Comments
Post a Comment