Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
125
Refresh Problem
posted

Hi Team,

I have a problem with WGD ,if we update a refreshed grid with less number of records than earlier loaded one clears all the styles and icons displayed in the grid..

I have WDG control in a page,whose  cells are allowed to edit but AUTOCRUD is disabled and i will be invoking the change event through javascript

function uwgTransfers_CellEditing_ExitedEditMode(gridName, eventargs)

{

gridName.get_behaviors().get_editingCore().commit();

}

and update will be saved in the server side event

Protected Sub uwgTransfers_RowUpdating(ByVal sender As Object, ByVal e As Infragistics.Web.UI.GridControls.RowUpdatingEventArgs) Handles uwgTransfers.RowUpdating

//Database calls to update is here.

End Sub.

Grid definition and images are attached.

WGD Refresh PRoblem.zip
Parents
No Data
Reply
  • 2535
    Suggested Answer
    Offline posted

    Hi,

    Thank you for using our forum.

    When you are assigning a new data source you need to call ClearDataSource() and also when you have template field it is better to call EnsureTemplates when page is postback.

    If this does not help can you please send a small sample demonstrating the issue to can investigate it in more details?

    Please let me know if I can provide any further assistance.

Children