Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ext.Net.Plugin inherits from WebControls which gives an #1250

Open
fabriciomurta opened this issue Feb 3, 2016 · 0 comments
Open

Ext.Net.Plugin inherits from WebControls which gives an #1250

fabriciomurta opened this issue Feb 3, 2016 · 0 comments

Comments

@fabriciomurta
Copy link
Contributor

Plugins like the Badge, CellEditing, RowEditing and CellDragDrop all intherit from Ext.Net.Plugin which ultimately inherits from WebControls.

WebControls in turn registers a property called Enabled. This suggests that giving to any plugin the Enabled="false" property will effectively disable the plugin, what does not happen at all.

It is possible to reproduce with at least the Badge and CellDragDrop plugins in a TableView, but potentially happens with all and any plug ins Ext.NET supports.

It is necessary either to hide this property (as it is not supported at all) or create an appropriate handling for every plugIn.

A possible candidate if handling would be the Ext.Net.Plugins class having a generic handler, emitting enabled : <true/false> to JavaScript depending on the setting. Specific plugins might require specific behavior depending on the Enabled state.

Related forum issue: CelllDragDrop should override Enable property

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant