javascript - Passing the values of server controls to ASPx client side events -


i have combobox in page:

<dx:aspxcombobox id="combositeid" runat="server" style="margin-bottom: 0px" valuefield="name" width="120px"></dx:aspxcombobox> 

when user select item combobox, want query mssql , show returning value on label:

<dx:aspxlabel id="aspxlabel1" runat="server" text="value here"></dx:aspxlabel> 

it seems client side event appropriate 1 put code

<clientsideevents textchanged="function(s, e) {     // do? }" /> 

what best way succeed task?

if client-side, need call web service, have web service query database, , return results via json. looking do? if are, webservice trick.

or, can set autopostback="true", page posts server, , there query db , load results in label.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -