Posts

Showing posts from October, 2010

PR1.3 update Nokia N900

I had been waiting for this update since a long time and there had been lot of buzz about this. Yesterday I had upgraded my Nokia N900 software to PR1.3. I have heard that it is now having QT 4.7 runtime inbuilt but didnt got a chance to test the same. Here is my verdict on this software update. I really didnt find any major changes, but it is said that 100+ maemo minor bus had been fixed. You can download it using the Nokia Software Updator. The only visible difference is it certainly have some performance improvement, seems to be very smooth now. Many application like mediabox have now awesome portrait support and they are looking good too. One more noticeable fact is web browser is really smooth now. I love Maemo and Nokia N900 and looking forward to have some more applications to be developed for N900. I will be trying to port Meego 1.1 image on my Nokia N900. Will keep you posted on the same.

Postback not working in Sharepoint Web Part after GridView Excel Export

Recently I had been developing a web part which display data in gridview and then export the grid to excel using following code. protected void ExportGridToExcel() { HtmlForm form = new HtmlForm(); string attachment = "attachment; filename=UserList.xls"; Page.Response.ClearContent(); Page.Response.AddHeader("content-disposition", attachment); Page.Response.ContentType = "application/ms-excel"; StringWriter stw = new StringWriter(); HtmlTextWriter htextw = new HtmlTextWriter(stw); form.Controls.Add(GridViewSiteDetails); this.Controls.Add(form); form.RenderControl(htextw); Page.Response.Write(stw.ToString()); Page.Response.End(); } But found that the export utility once called will disable other control to postback. Then after some search over net I found the following solution. Windows SharePoint Services JavaScript has a “form onSubmit wrapper” which is used to override the default form action. This work is put in place to ensure t