locked
issue with Textchanged - vb.net RRS feed

  • Question

  • User-1578974752 posted


    I placed the insert code in the text changed event of a text box so that when user enter the value insidet the text box and press tab,will fire that insert.But it is not working. Thanks

    Wednesday, November 21, 2018 5:09 AM

All replies

  • User503812343 posted

    have you set Autopost back property to true?

    https://meeraacademy.com/textbox-autopostback-and-textchanged-event-asp-net/

    Wednesday, November 21, 2018 6:23 PM
  • User-1578974752 posted

    Yes

    Thursday, November 22, 2018 1:55 AM
  • User-271186128 posted

    Hi shsu,

    I placed the insert code in the text changed event of a text box so that when user enter the value insidet the text box and press tab,will fire that insert.But it is not working.

    When press the tab menu, does the page refresh? Please check your code, whether you are using JQuery script to prevent this event?

    Besides, can you share the related code? I have created a sample as you said, it seems that everything works well, you could try to re-add a text box to test whether it works well.

    Best regards,
    Dillion

    Thursday, November 22, 2018 2:41 AM
  • User-1578974752 posted

    It was due to a code which is in page load. That code prevent the postback .

    Tuesday, November 27, 2018 2:49 AM