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
20
UltraWebGrid with AJAX and OnUpdateRow event with IE9
posted

Software: IE9, ASP.NET 4.0, Infragistics UltraWebGrid 11.1

Scenario: Page uses hierarchical UltraWebGrid (Infragistics) with AJAX (LoadOnDemand = Xml)

 

Feature-1: One column is for checkboxes along with a header checkbox - on click of header checkbox, should do automatic check/uncheck of row level checkboxes (done through JS).

 

Feature-2: New editable rows can be added / deleted along with zero or more non-editable rows fetched from DB (done using OnUpdateRow event and temparory dataset in session for unsaved data).

 

Case-1:

If OnUpdateRow is handled (server-side), then Feature-2 works, but Feature-1 does not work.

 

Case-2:

If OnUpdateRow is NOT handled, then Feature-1 works, but Feature-2 does not work.

 

Information (from Infragistics):

 

1.       Documentation of OnUpdateRow event:

 

Public Event UpdateRow

Occurs when a rows' cell values are updated. Called by OnUpdateRow.

In a grid that is not using Xml LoadOnDemand, the web application developer may wish to use the UpdateRowBatch event instead of UpdateRow, for batch update processing.

If this event is handled on the server, then it will cause a PostBack to occur every time a row is edited on the client.

Note that if LoadOnDemand is set to Xml, UpdateRow is raised out-of-band.

If UpdateRow is handled on the server, all intermediate events (UpdateCell and AddRow) are postponed until the event has been raised and handled.

 

2.       Related Links:

http://blogs.infragistics.com/forums/t/38711.aspx - tried, but does not work

http://blogs.infragistics.com/forums/p/20286/73231.aspx - one post says its a problem in grid itself

 

Right now I am not having enough time to prepare a sample code for this, but if any of you have encountered this before and resolved it somehow let me know