Jan 28, 2014, 2:32 PM
[CLOSED] widget - Ext.Net.Column
Zdravtsvuite,
I have a column set locked="true". i need it to be locked.
however when the locked attribute is removed, the function of the button is working.
I need the locked attribute but after clicking the button, i am having an exception
please find attached a snap about the exception
I have a column set locked="true". i need it to be locked.
however when the locked attribute is removed, the function of the button is working.
I need the locked attribute but after clicking the button, i am having an exception
please find attached a snap about the exception
<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<script runat="server">
[DirectMethod]
public void testColumnName()
{
clnTest.Text = "Test";
}
</script>
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
</head>
<body>
<form id="Form1" runat="server">
<div>
<ext:ResourceManager ID="ResourceManager1" runat="server" Namespace="testNS">
</ext:ResourceManager>
<ext:GridPanel Icon="ApplicationViewColumns" Height="420" AutoWidth="true" ButtonAlign="Right"
ID="gridPanelTest" runat="server" StripeRows="true" TrackMouseOver="true"
Title="testGrid" Frame="true">
<TopBar>
<ext:Toolbar ID="Toolbar1" runat="server">
<Items>
<ext:ToolbarFill ID="ToolbarFill1" runat="server" />
</Items>
</ext:Toolbar>
</TopBar>
<ColumnModel ID="ColumnModel1" runat="server">
<Columns>
<ext:Column ID="clnTest" Locked="true" Text=" test column" runat="server" />
</Columns>
</ColumnModel>
<SelectionModel>
<ext:RowSelectionModel ID="rowSelectionModel" Mode="Single" runat="server" />
</SelectionModel>
<BottomBar>
<ext:PagingToolbar ID="PagingToolbar1" runat="server" HideRefresh="true">
</ext:PagingToolbar>
</BottomBar>
</ext:GridPanel>
<ext:Button runat="server" Text="test Column Name">
<Listeners>
<Click Handler="testNS.direct.testColumnName()" />
</Listeners>
</ext:Button>
</div>
</form>
</body>
</html>
Last edited by Daniil; Feb 10, 2014 at 5:57 AM.
Reason: [CLOSED]