Click here to Skip to main content
15,844,155 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear sir/ma'am

i am using vb.net,asp.net with sqlserver 2000.
in one of my website form i make an autosuggestion box with using code in aspx page is
C#
function LoadList()
    {
        var ds=null;
        ds = <%=listFilter %>;
            $( "#tb_empid" ).autocomplete({
              source: ds
            });
    }
  var Txt = document.getElementByID("tb_empid");
function tb_empid_onclick() {

}


the autosuggest box is an input box when i write a then all the values having a show in a list and then i select one value among them.
now i want to save this value in my database but when i try to access this value from my vb page then no such a input control i find so how can i access this inputbox value in my vb page variable

now sir i want the selected value redirect in my .vb page .
but i am failed to access the selected value .
Posted
Updated 3-Apr-13 1:40am
v3
Comments
kishore sharma 3-Apr-13 6:22am    
"i want the selected value redirect in my .vb page how can i do it "
can you littler more clear this line
ankur789 3-Apr-13 6:28am    
sir i make a auto suggest box with using java script tha auto suggestion box is working properly but when i select the value from a list of values and that selected value i want to fetch in a variable in my .vb page ,how can i redirect this selected value in the variable

1 solution

Dear correct
C#
<![CDATA[<%=listFilter %>]]>
to :

C#
<![CDATA[<%= listFilter.ClientID %>]]>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900