[CLOSED] Disable AutoPostBack

  1. #1

    [CLOSED] Disable AutoPostBack

    Last edited by Baidaly; Nov 29, 2012 at 10:44 PM. Reason: [CLOSED]
  2. #2
  3. #3
    Hello again.

    Unfortunately this behavior doesn't depend on Ext.NET or ExtJS and build in browsers. Therefore, we cannot change it. As a solution for your problem you can use try add hidden textfield like this:

    <ext:TextField runat="server" SubmitValue="False" Hidden="True"></ext:TextField>
  4. #4
    Ok, I don't know why but the hidden textfield solved the problem. Thank you!
  5. #5
    Well, it is the default browser's behavior. If there is a single input in a <form>, then this form is automatically submitted on Enter.
  6. #6
    Last edited by RCN; Nov 30, 2012 at 4:24 PM.
  7. #7
    Quote Originally Posted by Baidaly View Post
    Hello again.

    Unfortunately this behavior doesn't depend on Ext.NET or ExtJS and build in browsers. Therefore, we cannot change it. As a solution for your problem you can use try add hidden textfield like this:

    <ext:TextField runat="server" SubmitValue="False" Hidden="True"></ext:TextField>
    In my opinion this is a "dirty" approach to overcome the issue
  8. #8
    Thank @RCN for good solution!

    The main point here what do you mean under the "dirty solution" because both solutions actually are tricks to change default browser behaviour like CSS-tricks.
    However, thank you very much your solutions always make sense and very useful. :)
  9. #9
    When i wrote "dirty" i meant that it's not a good approach add a control that will never be used.
    Last edited by RCN; Dec 01, 2012 at 3:35 AM.
  10. #10
    However, thank you very much your solutions always make sense and very useful. :)
    You're welcome Baidaly. Unfortunately i do not have much free time to answer questions on the forum, but be sure that i do and i will keep doing my best.

Similar Threads

  1. TabPanel and autopostback button
    By kritter in forum 1.x Help
    Replies: 1
    Last Post: Jan 11, 2010, 9:05 PM
  2. ComboBox with AutoPostBack
    By Maia in forum 1.x Help
    Replies: 1
    Last Post: Jun 24, 2009, 2:25 PM
  3. ComboBox AutoPostBack
    By methode in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 09, 2009, 5:45 AM
  4. Button AutoPostBack to "false"
    By geoffrey.mcgill in forum Open Discussions
    Replies: 11
    Last Post: Sep 19, 2008, 4:55 PM

Tags for this Thread

Posting Permissions