finally i solved this Problem:
<script type="text/javascript">
$(document).ready(function(){
var btn1 = $("#<%=Button1.ClientID%>");
var btn2 = $("#<%=Button2.ClientID%>");
var Sel=$("#<%=DropDownList1.ClientID %>");
var $information=$("#lbl_Info");
$(Sel).change(function() {
if ($(Sel).val() == "*")
{
$(btn1).attr("disabled", true);
$(btn1).removeClass("ButtonStyle");
$(btn1).addClass("ButtonDisabled");
$(btn2).attr("disabled", true);
$(btn2).removeClass("ButtonStyle");
$(btn2).addClass("ButtonDisabled");
$information.html("Please Select Your Options");
} else {
$(btn1).attr("disabled", false);
$(btn1).removeClass("ButtonDisabled");
$(btn1).addClass("ButtonStyle");
$(btn2).attr("disabled", false);
$(btn2).removeClass("ButtonDisabled");
$(btn2).addClass("ButtonStyle");
$information.html("Your Option");
}
}).change();
});
</script>
<asp:DropDownList ID="DropDownList1" runat="server" Width="75px">
<asp:ListItem Value="*">Select</asp:ListItem>
<asp:ListItem Value="Route">Route</asp:ListItem>
<asp:ListItem Value="Bus No">Bus No</asp:ListItem>
<asp:ListItem Value="Shift">Shift</asp:ListItem>
<asp:ListItem Value="Conductor">Conductor</asp:ListItem>
<asp:ListItem Value="Driver">Driver</asp:ListItem>
</asp:DropDownList>
and One More thing:
we need specify Master Page with Button selector
like this
var btn1 = $("#<%=Button1.ClientID%>");
and textbox selectors
like this format:
$("input[id$='FCDate']").datepicker();
regards
sarva