Completed
Last Updated: 03 Dec 2024 14:31 by ADMIN
ADMIN
Veselin Tsvetanov
Created on: 24 Jun 2016 13:46
Category: Navigation
Type: Bug Report
0
RadNavigation does not dispose appropriately, after a postback from control in a NodeTemplate, when Navigation is placed in a CommandItemTemplate of an axaxified RadGrid, and its mobile (sandwich) mod

		
1 comment
ADMIN
Rumen
Posted on: 03 Dec 2024 14:31

Hi everyone,

You can use the below override of the dispose() method of the RadNavigation to solve the issue:

<script>
Telerik.Web.UI.RadNavigation.prototype.dispose = function () {
                    this._collapseSandwich();
                    var element = $telerik.$(this._sandwichAnimationcontainer);
                    element.parent().remove();

                    // Specify the ID of the button element
                    $find('grid1_ctl00_ctl02_ctl00_ctl00_RadButton1').dispose();
                    this._detachEvents();
                    Telerik.Web.UI.RadNavigation.callBaseMethod(this, 'dispose');
                }
</script>