PDA

View Full Version : Ext.NET - makes sense?



Kigorw
23 Mar 2007, 3:17 AM
I have created Server controls for BorderLayout so now possible to create layouts like in examples for layouts.
How do you think if there some sense to create .NET library for Ext?

mdissel
23 Mar 2007, 4:32 AM
Absolutely!!

There are a bunch of .NET guys (or girls ;-) here that are (trying) integrating .NET with Ext.. Sharing ideas / code is always welcome..

We could create a codeplex / googlecode project for this, starting with some design discussions.. for example:
= how to communicatie with the backend, MS Ajax / AjaxPro / HttpHandlers / , etc.
= support viewstate / postback or not
= ...


Thanks

Marco

Kigorw
23 Mar 2007, 4:50 AM
thx for response.
In the next few days I'll try to publish on my site example with source. And place here the link.

gedw99
23 Mar 2007, 2:41 PM
I am using the .NET WebReosurce technique to load the css and javascript.
The javascript works fine, but for some reason the css does not work.

Example c# code:
private string GetUrlOfEmbeddedResource(string embeddedName)
{
// type can be any type within the assemlby. The assemby MUST contain the embedded resources
Core.Util.AssemblyResource.EnsureWebResourceValid(embeddedName, typeof(AdminFrameSetTemplate).Assembly, true);
return Page.ClientScript.GetWebResourceUrl(typeof(AdminFrameSetTemplate), embeddedName);
}

As you can see i have a helper util that allows me to get an exception if it does not find the embedded resource. Much better than the silent 404 error code you get back.


Anyway, if anyone has found a way of using embedded css that would help.

Kigorw
26 Mar 2007, 12:13 AM
gedw99
Your reply outside the topic. Look please msdn, there clear example how to use css

rodiniz
26 Mar 2007, 6:57 AM
Where can I get the code?
I am developing some components to wrap Ext ..but I am using Microsoft asp.net ajax
(this way the code is cleaner). But I am thinking on leaving this dependy behind.

mdissel
26 Mar 2007, 10:21 AM
I just had a look at MonoRail, a MVC framework for asp.net.. It doesn't use any of the asp.net features (viewstate, controlstate, etc.).. They currently have an ajax integration with prototype so you can create AjaxActions inside the Controller..

Anyone else have some experience with MonoRail? A combination of Ext and Monorail is maybe a solution for building solid (design, testing) webapplication..

ps.. a little off topic, so i posted this is a separate thread.
http://www.yui-ext.com/forum/viewtopic.php?p=19474#19474

Thanks

Marco

tigger2
28 Sep 2008, 4:58 AM
I was looking at using ExtJs as a front end for our .Net system so I developed a prototype which included some core code to help generate javascript and json data on the fly.

I thought it would be nice to share this with the community, in case it fits the needs of others.

ClockWork Script Builder .Net (http://www.mccreath.org.uk/Article/ClockWork-Script-Builder--Net_43.aspx) is an article introducing my ScriptBuilder project and I've also created An ASP.Net based ExtJs Demo using the ClockWork ScriptBuilder (http://www.mccreath.org.uk/ScriptBuilder/) to demonstrate its use to create ExtJs code.

If its of any use I will consider developing it further.

LiXin
28 Sep 2008, 6:34 AM
Anyone else have some experience with MonoRail? A combination of Ext and Monorail is maybe a solution for building solid (design, testing) webapplication..

Marco

You can use LatticeFramework Studio to generate ExtJS + Castle MonoRail MVC + ActiveRecord application, the following screencast shows how to use it:

http://www.latticesoft.com/product/video.aspx

MonoRail views (ExtJS), models and controllers can be generated, also you can modify the xslt style sheets to generate the code you want.

You can use LatticeFramework Studio's Code Generation Wizard to generate complex ExtJS UI such as combo boxs, search form etc.

Here is the screenshot of generated sample code:
http://www.latticesoft.com/product/screenshot/ExtJSMonoRail.JPG


More info at this thread:
http://www.extjs.com/forum/showthread.php?t=41296

roundcrisis
17 Dec 2008, 6:27 AM
hi there
did anyone tried latice
I m doing development with Ext and Monorail
what are your experinces so far?
Cheers