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
1000
WebNumericEdit ValueChange doesn't AutoPostBack
posted

Hi, I am playing arround with the WebNumericEdit Control. See below for the configuration:

<igtxt:WebNumericEdit ID="WebNumericEdit1" runat="server" ReadOnly="true" BackColor="transparent" BorderStyle="None" Font-Size="Large" HorizontalAlign="Center" ForeColor="#404040" AutoPostBack="true">
<SpinButtons Display="OnRight" SpinOnReadOnly="true"  Width="20"  />
</igtxt:WebNumericEdit>

I would like to perform an AutoPostBack when the value has been changed by the SpinButtons. But it doesn't seem to work. I even set the AutoPostBack to True and I have the following code on the server side:

Protected Sub WebNumericEdit1_ValueChange(ByVal sender As Object, ByVal e As Infragistics.WebUI.WebDataInput.ValueChangeEventArgs) Handles WebNumericEdit1.ValueChange
        ' ... Code ... '
End Sub

What am I missing here?
Note that I set the WebNumericEdit to Read-Only and that I would like to use the SpinButtons to count one value up or down, and every time I count one value up or down, I would like to have a postback.

Thanks.

Parents Reply Children