Button click event won't fire from gridview .

Posted by: cpozen on 10 September 2017, 11:50 am EST

  • Posted 10 September 2017, 11:50 am EST

    I have a strange issue with a button click event not firing on the first click of the button after I make comments in a gridview textbox.

    I have a save button on my page and a gridview that displays some data along with a templatefield asp:textbox.

    <wijmo:C1TemplateField HeaderText="Comments">
    <asp:TextBox ID="txtComments" runat="server" TextMode="MultiLine" Rows="10" Columns="40" AutoPostBack="True"></asp:TextBox>

    The problem that I'm having is that users are typing into the textbox and then clicking the save button, but the button click event is not firing unless I click the save button twice. Is this a bug or am I missing something?

    Please help as people are getting upset that they are typing a lot of data in and it's not being saved.

    Thank you.
  • Replied 10 September 2017, 11:50 am EST


    I would like to inform you that I am not able to replicate the issue, I have a C1GridView with a textbox filed and a Save button outside of the grid.
    When I click on the save button, the click event is raised by clicking once itself. See the attached sample and check the same at your end. In case the issue replicates with it as well, I request you to please download the latest build of wijmo from the given below link and try using the same. If the issue persists let me know.


    In case I missed something, please modify the attached sample for replicating the issue and provide it to me so that I can check it at my end and can assist you further.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels