Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
770
ValueChange and TextChanged events are not fired when I set the value using setValue() method
posted

ValueChange and TextChanged events are not fired when I set the value using setValue()  method

check the bellow code

 

 

 

 

 

 

 

 

 

 

 

<script type

="text/javascript">

 

 

function

TextBoxTextChanged(sender, e) {

alert(

 

'text changed'

);

}

 

 

 

function

ValueTextChanged(sender, e) {

alert(

 

'Value changed'

);

}

 

 

function

buttonOnClinetClick() {

 

 

 

var obj = igedit_getById('WebTextEdit1'

);

obj.setValue(

 

'test'

);

 

 

 

return false

;

}

 

 

 

</script

>

 

 

 

 

 

 

 

 

<

 

ig:WebTextEdit ID="WebTextEdit1" runat="server" Height="34px" Width="225px"

>

 

 

<ClientSideEvents TextChanged="TextBoxTextChanged" ValueChange="ValueTextChanged"></ClientSideEvents

>

 

 

</ig:WebTextEdit

>

 

 

 

<br

/>

 

 

 

 

 

<asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="return buttonOnClinetClick();"

/>

 

 

Parents Reply Children
No Data