ext.net

Ext.Net RadioGroup CheckedItems is always null

只愿长相守 提交于 2019-12-04 19:24:57
I'm seeing strange behaviour from Ext.Net 2.0: RadioGroup.CheckedItems is always zero in my change handler callback. In my code below RadioGroup1.CheckedItems is ALWAYS zero after checking. What am I doing wrong / how can I solve this? [DirectMethod] public void TxtVisibility() { foreach (var item in RadioGroup1.CheckedItems) { if (item.ID == "rdHourly") { txtPerHour.Hidden = false; txtAtTime.Hidden = true; } else if (item.ID == "rdAtHourly") { txtPerHour.Hidden = true; txtAtTime.Hidden = false; } } } My calling code: <ext:RadioGroup ID="RadioGroup1" runat="server" FieldLabel="" ColumnsNumber=

How to get values from the currently selected row within a Ext.Net.GridPanel outside of the SelectionModel?

久未见 提交于 2019-12-04 09:09:44
I have the following code within my .aspx file <ext:GridPanel runat="server" ID="GridPanel1" Height="450" Title="EmployeeList" Width = "850" Header = "false" StyleSpec = "margin: 25px;" StripeRows="true" TrackMouseOver="true" Border="true" ClicksToEdit="2"> <Store> <ext:Store ID="Store1" runat="server" DataSourceID="LinqDataSource1"> <Reader> <ext:JsonReader IDProperty="id" > <Fields> <ext:RecordField Name="id" /> <ext:RecordField Name="shortcode" /> <ext:RecordField Name="lastname" /> <ext:RecordField Name="firstname" /> <ext:RecordField Name="roomnumber" /> <ext:RecordField Name="landline" /

SqlDependency issue with the asp.net

情到浓时终转凉″ 提交于 2019-12-04 03:17:52
问题 I am trying get the changed values from the sqlserver using the server_broker feature. my code is like below protected void Page_Load(object sender, EventArgs e) { GetData2(); } private void GetData2() { List<Masa> lst = new List<Masa>(); using (SqlConnection con = Baglan.Sql) { string sql = "SELECT [Id],[Ad],[Durum] FROM [dbo].[Masa]"; using (SqlCommand cmd = new SqlCommand(sql, con)) { con.Open(); SqlDependency dependency = new SqlDependency(cmd); dependency.OnChange += new

Ext.Net,loading 2 child page ,and reach from one child to another

僤鯓⒐⒋嵵緔 提交于 2019-11-29 18:12:58
My main.aspx <ext:ResourceManager ID="ResourceManager1" runat="server" Theme="Gray" /> <form id="form2" runat="server"> <ext:Panel runat="server" ID="anaPanel" Title="OSO" Icon="Car"> <TopBar> <ext:Toolbar runat="server" Layout="FitLayout"> <Items> <ext:Menu ID="Menu1" runat="server" Floating="false" Layout="HBoxLayout" ShowSeparator="false" AnimCollapse="true" Cls="horizontal-menu"> <Defaults> <ext:Parameter Name="MenuAlign" Value="tl-bl?" Mode="Value" /> </Defaults> <Items> <ext:MenuItem ID="MenuItem1" runat="server" Text="" Icon="Group"> <Menu> <ext:Menu ID="Menu2" runat="server"> <Items>

Ext.Net,loading 2 child page ,and reach from one child to another

拈花ヽ惹草 提交于 2019-11-28 12:13:54
问题 My main.aspx <ext:ResourceManager ID="ResourceManager1" runat="server" Theme="Gray" /> <form id="form2" runat="server"> <ext:Panel runat="server" ID="anaPanel" Title="OSO" Icon="Car"> <TopBar> <ext:Toolbar runat="server" Layout="FitLayout"> <Items> <ext:Menu ID="Menu1" runat="server" Floating="false" Layout="HBoxLayout" ShowSeparator="false" AnimCollapse="true" Cls="horizontal-menu"> <Defaults> <ext:Parameter Name="MenuAlign" Value="tl-bl?" Mode="Value" /> </Defaults> <Items> <ext:MenuItem ID