Apr 03, 2015, 8:24 AM
[FIXED] [#778] [3.2.0] ImageButton issue
Code below throws "Uncaught RangeError: Maximum call stack size exceeded"
but it does not seems to have any effect to the exception
note that removing Align="Stretch" solves the problem
Thanks
Regards
Zdenek
<%@ Page Language="C#" %>
<!DOCTYPE html>
<html>
<head runat="server">
<script>
Ext.net.ImageButton.override({
onRender: function (ct, position) {
this.callParent(arguments);
this.btnWrap = this.el;
}
});
</script>
</head>
<body>
<ext:ResourceManager runat="server" />
<ext:Viewport ID="Viewport1" runat="server" >
<LayoutConfig>
<ext:HBoxLayoutConfig Align="Stretch"/>
</LayoutConfig>
<Items>
<ext:ImageButton runat="server" ImageUrl="button.gif" />
</Items>
</ext:Viewport>
</body>
</html>
note that override is taken from http://forums.ext.net/showthread.php...431#post267431but it does not seems to have any effect to the exception
note that removing Align="Stretch" solves the problem
Thanks
Regards
Zdenek
Last edited by Daniil; Apr 03, 2015 at 2:08 PM.
Reason: [FIXED] [3.2.0]