I have a gridview in the update panel and I use the jQuery dialog to add records.
The AJAX / JSON function is called in the dialog box, which adds the entry. Upon successful execution of this function, I have a jQuery trigger with a mouse button on a hidden button
...
success: function(msg) {
$("[id$='_btnUpdateGrid']").trigger('click');
$("#new_dialog").dialog('close');
},
...
which the event handler in the code must hit in order to update the data source and update the gridview.
<asp:Button ID="btnUpdateGrid" runat="server" OnClick="btnUpdateGrid_Click"
Text=" " Width="1px" Height="1px" Style="background-color:#F5F3E5; border:none;" />
This works great with 1.3.2. Updated to 1.4.1, and it no longer gets into the code. AJAX still works, but I need to refresh the page manually to refresh the grid.
, (, OnClientClick = "alert ('hello')" ), , - . jquery, . , script .
, ?