Textbox binding does not work ,when changes are made -


hoping have object (skuform),whose property(skucode) bound textbox. if run form , change value in textbox (say "test123"), , hit button, notice object's (skuform) property not reflect new value ("test123"), please suggest wrong.

<td>     <telerik:radtextbox runat="server" id="txtskucode"                      text='<%# skuform.skucode %>'                     enableviewstate="true"                    wrap="false"                     ontextchanged="txtskucode_textchanged">     </telerik:radtextbox> </td></tr>   <telerik:radbutton id="radbutton1"                     runat="server"                     onclick="radbutton1_click"> </telerik:radbutton> 

try set radtextbox datacontext property class wich implemented inotifypropertychanged interface. when propertychanged event occurs, radtextbox change value.

you can see sample of on msdn page.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -