Archive for August, 2010

ExtJS and ASP.NET part 7 – Data store and wcf

Well in part 2 of this series, I demonstrated how to make direct ajax calls to wcf service from Extjs, knowing that is not enough to kick the whole extjs ball off yet, as the most attractive aspect of extjs is its colourful ui controls, these controls do not normally use ajax data directly, but through data store to handle the tedious work of data parsing and binding. Read the rest of this entry »

Tags: ,

ExtJS and ASP.Net Part 6- Asynchronous File Download

In another blog, I talked about how to upload file asynchronously, using ExtJS FileUploadField control together with FormPanel.

A recap of file upload, I used a formpanel and set fileUpload to true, this basically tells the formpanel to do a series of hard work behind scenes like creating frame and form, in this blog, I am going to show you how to do those heavy lifting myself without the help of a formpanel, even the example here is about file download, but you can use the same code to do file upload too as an option of not using formpanel. Read the rest of this entry »

Tags:

ExtJS and ASP.Net Part 5- Asynchronous File Upload

When talking about file upload, we know that we have asp.net fileupload control, the file upload is done through a post back, this does not quite fit into our ajax web applications in terms of following deficiencies:
1.It is an asp.net server control, very hard to style
2.It is done through post back, if we want it done in ‘ajax’ way?
3.If we want to upload several files at the same time?
4.If we want to provide a progress bar to indicate the progress?
Read the rest of this entry »

Tags:

IE Javascript Regex bug Fails Jquery trim

If you are using $.trim(astring) in IE, even in IE8, the leading and trailing spaces are not trimmed at all.

This is due to a bug of javascript regex implementation by ie not including \xa0 into \s.
Read the rest of this entry »

Tags:

ExtJS and ASP.NET part 4 -Generic Progress Bar Control

Very often that server is asked to do a long running procedure, it poses a challenge to both scenarios as ASP.Net post back and even ajax call . It is possible that the synchronous call to server timed out the postback, to an ajax request, the call back is also possible timedout if it is not made in a short period of time. Read the rest of this entry »

Tags: ,

Page 2 of 3123