Aug 11, 2017, 7:17 AM
[CLOSED] Window UI config set from javascript Ext.Net 4.3.0
Hello,
I have a page that contains only a button and this button will create an EXT window from javascript with a UI value 'primary'.
It was working fine on 4.2.2, but when upgrading to 4.3.0 the window can't take the UI. please check the attached screenshot.
Here is a sample code. (.net framework 4.6)
I have a page that contains only a button and this button will create an EXT window from javascript with a UI value 'primary'.
It was working fine on 4.2.2, but when upgrading to 4.3.0 the window can't take the UI. please check the attached screenshot.
Here is a sample code. (.net framework 4.6)
<%@ Register assembly="Ext.Net" namespace="Ext.Net" tagprefix="ext" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript">
function createWindow()
{
var win1 = new Ext.Window({
id: 'Window1',
title: 'Window1',
closeAction: 'destroy',
width: 750,
height: 500,
ui: "danger",
});
win1.show();
}
</script>
</head>
<body>
<form id="form1" runat="server">
<ext:ResourceManager runat="server" ID="ResourceManager1" />
<ext:Button runat="server" Text="Create Window" OnClientClick="createWindow()" />
</form>
</body>
</html>
Last edited by fabricio.murta; Oct 20, 2017 at 6:30 PM.
Reason: no feedback from the user in 7+ days