ext.net

Ext.Net: parent.Ext.net.DirectMethods.NewCard_Click();

妖精的绣舞 提交于 2020-01-16 01:07:06
问题 I have a project.When I click the button inside mainpage, loading newcard.aspx file.inside this file I have a button something like this, <ext:Button ID="Button1" runat="server" Text="Ekle" Icon="GroupAdd"> <Listeners> <Click Handler="parent.Ext.net.DirectMethods.NewCard_Click();"></Click> </Listeners> </ext:Button> NewCard_Click();methon defined inside the mainpage.aspx.(which loadind anaother aspx file) but this event not fired,Did I miss something?Should I add another something? 回答1:

ext.net.row editing ,how to triger update event fire ( OnBeforeRecordUpdated)

浪尽此生 提交于 2020-01-06 23:51:02
问题 I have a srote like this <ext:Store ID="strPos" runat="server" AutoSync="false" OnReadData="StoreChange_Event" OnBeforeRecordUpdated="StorePostGuncelle" OnBeforeRecordInserted="StorePostEkle" AutomaticResponseValues="false" OnBeforeRecordDeleted="StorePosSil"> I can ınserting values like that way, grid.store.insert(0, r); #{strPos}.sync(); grid.store.reload(); but the problem is when updating the value .when clcik the row ,open row editor,then I clcik the update button but no event fire .(I

javascript error on ext.net

橙三吉。 提交于 2020-01-06 07:14:38
问题 I am new on ext.net framework and I require lots of help. To begin with the problem I managed to solve the problem regarding the web.config file. Now I can use the ext.net with ease and no references problem has arrived but now I am having trouble running the code. As I debug and run the desired solution the error pops up regarding the java script. The error says Microsoft JScript runtime error: 'Ext' is undefined . I have no idea about the error and it will be helpful if any of you guys

form validation before direct click event fire

元气小坏坏 提交于 2020-01-02 16:15:23
问题 I have a button,I want to form validation(client side) before direct click event fire.I tryed lots of way but failed. ** I already set textbox like this. <ext:TextField ID="Ad" runat="server" FieldLabel="Dem ad" Flex="1" AllowBlank="false" CausesValidation="true"> </ext:TextField> but still fire direct even before textbox checking <ext:Button ID="Button1" runat="server" Text="save" Icon="Disk"> <DirectEvents> <Click OnEvent="Dem"> <Confirmation ConfirmRequest="true" Title="Title" Message="are

Ext.Net: radiogruop ,make selected radiobutton depend on its InputValue

懵懂的女人 提交于 2019-12-25 01:18:33
问题 I have a radiogruop like this. <ext:RadioGroup ID="rdyIsAktifmi" runat="server" FieldLabel="Aktifmi" Width="150" Flex="1"> <Items> <ext:Radio ID="Radio4" runat="server" BoxLabel="pasif" InputValue="0" /> <ext:Radio ID="Radio5" runat="server" BoxLabel="aktif" InputValue="1" /> </Items> </ext:RadioGroup> I save the cheched input value like this, rdyIsAktifmi.CheckedItems[0].InputValue //0 or one depents on cheched item however when binding it from code behind I failed. I tryed this one :

EXT.NET Accessing ComboBox value at server DirectEvent

此生再无相见时 提交于 2019-12-24 16:18:40
问题 I have Ext.Net MVC form that post values to DirectAction. On server side, In DirectAction CoboBox selected value is always null. public ActionResult Save() { var cmbSender = this.GetCmp<ComboBox>("cmbSender"); var senderID = cmbSender.SelectedItem.Value; } I have checked Request["cmbSender"] but it does not work <form id="form12"> @( X.TabPanel() .Items( X.FormPanel() .Title("New Job") .ID("pnlNewJob") .Layout(LayoutType.Form) .MarginSpec("5 5 5 5") .Items( X.Panel() .Border(false)

ext.net how can i use more than data_index on a same Column

佐手、 提交于 2019-12-24 16:13:46
问题 i have the following : <ext:RecordField Name="ID" /> <ext:RecordField Name="UserName" /> <ext:RecordField Name="FirstName" /> <ext:RecordField Name="LasttName" /> i want use FirstName& LasttName on : <ext:Column ColumnID="Name" Sortable="false" DataIndex="????" Resizable="false" MenuDisabled="true"/> What i need is to use more than data_index on a same Column is that possible, how can i achieve that? thanks in advance! 回答1: Try something like this: //In your head: <script type="text

c# Build a directory tree

▼魔方 西西 提交于 2019-12-24 08:25:49
问题 I am trying to build a directory tree in my application. I am using this Example from Ext.NET . How I can search a given path for directories and sub-directories in order to build this tree? Here is the code given in the example to build the tree from nodes: protected void NodeLoad(object sender, NodeLoadEventArgs e) { if (!string.IsNullOrEmpty(e.NodeID)) { for (int i = 1; i < 6; i++) { AsyncTreeNode asyncNode = new AsyncTreeNode(); asyncNode.Text = e.NodeID + i; asyncNode.NodeID = e.NodeID +

Application Pool Mode Problem: Classic Or Integrated

烂漫一生 提交于 2019-12-22 10:30:03
问题 I am facing an issue and was hoping if you could please provide me with some guidance: I have a Asp.net 4.0 website application that uses spring.net and ext.net libraries. I have deployed it in IIS 7 using classic application pool mode and it works. It doesn't work in integrated mode . I have another Asp.net 4.0 silverlight website application that is deployed in IIS 7 using integrated application mode and it works. It doesn't work in classic mode . I have created a new ASP.net web

Ext.Net RadioGroup CheckedItems is always null

泄露秘密 提交于 2019-12-22 00:55:07
问题 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 =