Question about TextBox with Autopostback=true

Last post 10-13-2006 10:54 AM by Sajib. 0 replies.

Sort Posts:

  • Question about TextBox with Autopostback=true

    10-13-2006, 10:54 AM
    • Loading...
    • Sajib
    • Joined on 10-13-2006, 10:29 AM
    • Posts 1

    Hi

    I have developed an intranet site in C# and Ajax. It is not fully AJAX, but a combination of AJAX and ASP.net code behind. I have few text boxes & dropdownlist with AutoPostBack=true. When I am saving data using AJAX, and clear the textboxes from JavaScript code, I am facing a problem. The problem is that - after claring the textboxes from javascript, the next time the dorpDown's SelectedIndexChanged Event is not firing. The event is firiong the second time. But If I don;t clear the textboxes from javascript, it works for the first time. I think it is because of AutoPostBack=true. I don't knwo how to solve this problem.

    Can anyone have ideas? Please let me know. It'll be really appreciated.

    Thanks in advance.

    Sajib

     

Page 1 of 1 (1 items)
Microsoft Communities
Page view counter