Current filter:
                                You should refresh the page.

                                1 Solution

                                Creation Date Importance Sort by

                                Handle the WebWindow.CurrentRequestWindow.PagePreRender event as shown below and assign a new value or update the existing value:

                                [C#]
                                public class Controller1 : ViewController<ListView> { private bool isPagePreRenderHandled = false; protected override void OnActivated() { base.OnActivated(); isPagePreRenderHandled = false; } protected override void OnDeactivated() { WebWindow.CurrentRequestWindow.PagePreRender -= CurrentRequestWindow_PagePreRender; base.OnDeactivated(); } protected override void OnViewControlsCreated() { base.OnViewControlsCreated(); if(!isPagePreRenderHandled) { isPagePreRenderHandled = true; WebWindow.CurrentRequestWindow.PagePreRender += CurrentRequestWindow_PagePreRender; } } void CurrentRequestWindow_PagePreRender(object sender, EventArgs e) { ASPxGridView grid = ((ASPxGridListEditor)View.Editor).Grid; ClientSideEventsHelper.AssignClientHandlerSafe(grid, "SelectionChanged", "function(s,e) { alert('hi'); }", "MyKey"); } }

                                See the attached project for more details.