ext.net

Loading another Page in Content Page is not Working in ASP.NET with EXT.NET

て烟熏妆下的殇ゞ 提交于 2019-12-13 02:42:04
问题 I am working with Asp.Net 3.5 and Ext.Net 1.0. I had created One Master Page(Site.master) and one content page(User.aspx) in my Application and I am loading one page(UserManager.aspx) into content page If I put normal HTML tags into UserManager.aspx that works fine but if i put EXt.NET controls in it I wont work.. MasterPage <ext:Panel ID="Panel6" runat="server" Region="Center" CollapseMode="Mini" Margins="0 0 4 4"> <Content> <asp:ContentPlaceHolder ID="cntMainCenter" runat="server"> </asp

Gridpanel auto Height inside TabPanel

血红的双手。 提交于 2019-12-12 03:17:31
问题 I am trying to get a gridpanel inside a tabpanel to display with proper height. The tab in question is maincontentpanel3 . Right now, the width does 100%, but the height seems to go until the panel is filled, way past the bottom of the page. Scroll bars do not appear, even if autoscroll is set to auto. If I give GridPanel1 a height, everything works properly except for (obviously) the height. Here is the stripped down code: <ext:Viewport runat="server" Layout="FitLayout"> <Items> <ext:Panel

Default Value in RecordField throws JavaScript error on execute

时光总嘲笑我的痴心妄想 提交于 2019-12-11 09:24:36
问题 Adding following Record Fields to the GridPanel Store makes the site throw a JavaScript Error Uncaught SyntaxError: Unexpected identifier to the Chrome Console <ext:RecordField Name="listname" AllowBlank="false" DefaultValue="Listname" /> <ext:RecordField Name="recipients" AllowBlank="false" DefaultValue="Listmembers" /> <ext:RecordField Name="usage" AllowBlank="true" /> <ext:RecordField Name="responsible" AllowBlank="false" DefaultValue="please add Responsible Person(s)/ Group(s)" /> Firebug

Load usercontrol from client side

落花浮王杯 提交于 2019-12-11 06:46:34
问题 I am loading my user control like below.How I can achive that from client side. same code but client side request what I need private void LoadUserControlTab(string num, string title = "") { Ext.Net.Panel pn = new Ext.Net.Panel(); pn.Title = title; pn.ID = num; string pnid = num; pn.Closable = true; pn.Flex = 1; pn.Height = 500; currentUC = (UserControl)this.LoadControl(string.Format("Controls/UserControl{0}.ascx", num)); currentUC.ID = "UC" + num; pn.ContentControls.Add(currentUC); pn.AddTo

Get the current Data Item (row) on DataBinding an Ext.NET GridPanel

守給你的承諾、 提交于 2019-12-11 00:31:29
问题 I need to setup each row in an ext.NET GridPanel in the OnDataBinding event. How can I get the current data item at server side ? <uc:GridPanel ID="egrBills" runat="server" Border="false" Layout="Fit"> <Store> <ext:Store runat="server" OnDataBinding="OnDataBinding_EventHandler" ID="MainStore"> <!-- ............ --> protected void OnDataBinding_EventHandler(object sender, EventArgs e) { //How do I get current data item? } 回答1: With Ext.NET, there is no server-side row databinding event. The

Ext.Net中文随机乱码修复记

…衆ロ難τιáo~ 提交于 2019-12-09 19:23:23
Ext.Net各版本在渲染脚本的时候有一定概率会产生中文随机乱码。这个问题已经困扰笔者很长时间,网上也有很多人在问,而且也有人将问题提交到了Ext.Net官方论坛上,这个问题直到2.5版本的时候才被官方修复。虽然问题已经修复了,但是还是有个问题,那就是对于至今还在用v1版本的老工程怎么办? 还能怎么办,自己动手呗! 翻阅Ext.Net官方论坛,发现跟帖中只写明了2.5版本修复问题,修复过程还得看SVN,但是像笔者这种只能用免费版的人来说,看SVN下载源代码简直是个白日梦。看来只能自己发现问题的根源了。 废话不说了,马上抄起Reflactor大法一窥究竟。 经过笔者对1.6版本进行了一上午的比对、调试和跟踪,发现问题出在了InitScriptFilter和AjaxRequestFilter这两个类上。 摘入InitScriptFilter类的代码片段如下: public class InitScriptFilter : BaseFilter { private readonly StringBuilder html; private readonly Stream response; public override void Write(byte[] buffer, int offset, int count) { this.html.Append(HttpContext

Why is the file not downloading?

梦想与她 提交于 2019-12-08 11:58:27
问题 I followed this link to download file that are in the file system. Except I did it using Ext.net link button, and in the click event of that button I added the same Download code. The design part is: <ext:LinkButton ID="lnkDownload" Text="Download" runat="server"> <DirectEvents> <Click OnEvent="lnkDownload_Click"> <EventMask ShowMask="true" /> </Click> </DirectEvents> </ext:LinkButton> And the codebehind is: protected void lnkDownload_Click(object s, DirectEventArgs e) { string filePath = //

How-to setup Ext.NET 2.0 in a VS2012 MVC4 Project?

半腔热情 提交于 2019-12-07 11:17:29
问题 i have high doubts that my question will be answered, but i'll try here since my frustration levels are so high that maybe it will help myself lower them! So, what i want to do is: Install VS2012 from scratch (okey, click .exe and go!) Create a new MVC4 project Use Razor View Engine (it's the default nowadays) MAKE EXT.NET 2.0 WORK WITH THE ABOVE This is gonna be a feature of Ext.NET 2.1, as all the requirements will be packetized in a nuGet package, the only problem is that me, as other few

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

北慕城南 提交于 2019-12-06 05:01:32
问题 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

Application Pool Mode Problem: Classic Or Integrated

本小妞迷上赌 提交于 2019-12-05 20:06:08
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 application that combines both of the 1 and 2 web applications above. It uses Ext.Net, Spring.Net and Silverlight