Posted on: 6/7/2015 7:42:31 AM | Views : 682

Hi all,
           I have one dropdown on web page which i used to bind using stored procedure but User type search dropdown is showing leading white spaces what to do solve this problem,
please see below code and design code as well as given below :-
Design:-
<span class="page-heading">User</span> <hr class="horizontal-ruler"/> <table id="Usertable" cellspacing="20" align="center"> <tr><td class="txtfieldname">Branch :</td><td> <asp:DropDownList ID="ddlbranchname" CssClass="dropdownlist" runat="server" DataTextField="Branch_name" DataValueField="Branch_Id" AutoPostBack="True" onselectedindexchanged="ddlbranch_selectedindexchange"> </asp:DropDownList></td> <td class=&qu ...

Go to the complete details ...