I have a grid inside an updatepanel, I added the event UpdateRowBatch. A given change in a cell, click the Save button that generates the PostBack, the page grid and recharges with the values before and does not enter in the UpdateRowBatch. Can you tell me how to solve? Thank you
Do you have the grid's AJAX functionality turned on (DisplayLayout.LoadOnDemand=XML)? If so, I recommend turning it off. UpdateRowBatch won't be raised in this scenario. Moreover, the grid's AJAX functionality isn't compatible with Microsoft's ASP.NET AJAX Extensions, since it's built atop its own AJAX framework.
Another possible cause is that you may be databinding the grid on every postback, such as in the Page_Load event handler. This can cause update-related events to not be raised.
ajax disabled no AJAX Extensions I check in pageload: If Not Page.IsPostBack Then end if and reloading the grid. But the event is not triggered UpdateRowBatch. I noticed that if I put UpdateRow, in exchange for a given row in the pageload part but not the event of the grid. I do not know how to solve.
This sounds like it will require more in-depth research to determine what's occuring here.
Can you reproduce this behavior in a sample application that we can run and debug? If so, then please submit a support request and attach your sample to the request. A Developer Support Engineer will research your issue, using your sample as a basis, to determine what's happening and to provide a solution.
From various tests I have come to understand that depends on a PrimaryKey that I create the dataset. If I hide, the event, it works if I put no. The PrimaryKey is correct. I do not understand
Dim K_LIVELLO_VALORI_GRIGLIA(5) As DataColumn
K_LIVELLO_VALORI_GRIGLIA(0) = DS_GRIGLIA.Tables("LIVELLO_VALORI_GRIGLIA").Columns("FK_ANNO") K_LIVELLO_VALORI_GRIGLIA(1) = DS_GRIGLIA.Tables("LIVELLO_VALORI_GRIGLIA").Columns("FK_MESE") K_LIVELLO_VALORI_GRIGLIA(2) = DS_GRIGLIA.Tables("LIVELLO_VALORI_GRIGLIA").Columns("FK_ID_LIV0") K_LIVELLO_VALORI_GRIGLIA(3) = DS_GRIGLIA.Tables("LIVELLO_VALORI_GRIGLIA").Columns("FK_ID_LIV1") K_LIVELLO_VALORI_GRIGLIA(4) = DS_GRIGLIA.Tables("LIVELLO_VALORI_GRIGLIA").Columns("FK_ID_LIV2") K_LIVELLO_VALORI_GRIGLIA(5) = DS_GRIGLIA.Tables("LIVELLO_VALORI_GRIGLIA").Columns("FK_ID_LIV3")
DS_GRIGLIA.Tables("LIVELLO_VALORI_GRIGLIA").PrimaryKey = K_LIVELLO_VALORI_GRIGLIA
We had an issue where using compound primary keys weren't causing certain events to be raised. This issue was fixed as of the current service release; I don't recall the development issue number for reference.
Please test with the latest service release to see if this addresses your issue.
You can download the current service release from the My Keys and Downloads page of our website, so long as you have a license key registered to your member profile.
If the problem persists, then I again recommend that you submit a support request, including a sample that demonstrates the issue you're seeing. We'll need such a sample to be able to investigate in more detail.
At this point, the issue you're describing will require more in-depth research than I can provide through the forums. Please submit a support request with a sample to reproduce, as I've suggested in previous posts on this thread.
I have the latest version. With the previous year, 2008, the same routine work. I do not know what to do and I can not return to the previous version of the grid. How can I fix? Thank you