Showing posts with label build. Show all posts
Showing posts with label build. Show all posts

Wednesday, March 28, 2012

asp.net Ajax datagrid?

Hi,

I am looking for a tutorial sort of thing that can guide me to build ajax enabled datagrid with functionalities like editing,deleting, sorting, paging etc in ajax mode. Right now I am able to load the datagrid ajax way but not able to find way to get other things in ajax manner. any help will be appreciated.

Regards,

Sunil

Hi Sunil,

Maybe this link can be helpfull:

http://weblogs.asp.net/rajbk/archive/2007/01/17/master-details-using-ajax-introducing-the-updatepanelpopupextender.aspx

regards,


Hi Dennis,

Thanks for your link but it is not what i want. I want that I should be doing all sort of things (editing, sorting,deleting) in grid with the help of ajax. If user does any sorting, then page should not get posted back and use ajax. same for other functionalities.I have searched google for it but didnot find any good help.

Regards,

Sunil


Maybe you just need an <asp:GridView> control inside an <asp:UpdatePanel>? (Then all the sorting/paging/editing/etc. will go through the server, but asynchronously and without reloading the page. That's the magic of the UpdatePanel!)

Saturday, March 24, 2012

ASP.NET / AJAX - FILE UPLOAD

Hi,

I am trying to build a web based application using asp.net and i need to have a file upload that will upload somehow in the in the background and report to the asp.net page once uploaded.

i tried one example for an ajax/webservice upload but it required interaction of an activex object that required browset setting changes that would not be suitable for the target installation for the customer.

is it possible to do a succesful 'background' upload using asp.net and ajax?

thanks in advance!

regards,

kq2

Yes it is, you can see it working here:http://www.telerik.com/products/aspnet/controls/upload/overview.aspx


Hi,

Thanks for your reply.

Anyone got any way of doing the upload without buying someone else's existing component?

Thanks again.


Hi, kitquo2

An Ajax Alternative for FileUpload!!!!

We've all embraced Ajax as a revolutionary technology, but many of us forget (or are not aware) of asynchronous posts in the times before XmlHttp requests. Our good old friend the IFrame used to be the preferred option for asynchronous http communications. Because an iframe is in essence it's own browser window, it can be used to fire off asynchronous requests (both POST and GET). However, even more important is an IFrame's ability to be a 'target' of a form POST. By adding an IFrame to the page and setting it as the target of the form post, you can in essence create an asynchronous file transfer.

For more help about Ajax Alternative for FileUpload, Please check: http://blogs.infragistics.com/blogs/tony_lombardo/archive/2007/04/09/file-uploads-where-s-the-ajax.aspx

You can also see this thread for more help:http://forums.asp.net/t/1117746.aspx There is a demo in my reply to that thread.

Let me know if you need more info.

If this help you,don't forget mark it as a answer.Thanks!