Check all checkboxes in Gridview using jQuery [More]
It was the first event in beautiful city Chandigarh from C#Corner. In June month only, I took the initiative and started Chandigarh Chapter with approval from Mahesh Chand sir. Soon, I met Lokesh Vij with reference of Brij Bhushan and then Aman jain as an Executive team member.
Official Recap of Cha... [More]
JSON(Java Script Object Notation) is syntax and can be said a data transfer pattern like XML but it is very simple as compare to XML’s structuring with nodes and attributes. [More]
If we have defined Update Progress with Update Panel, this magic works automatically. In case, you want to show this explicitly, you need to write some code with help of Script Manager. The below lines of script code will do the job what we want. We need to place below script inside a <script typ... [More]
26. October 2012
Asp.Net , jQuery
We can use window.open() to export table data into Excel or any required format. It is the easiest and simplest way of creating a file with data without server side trip. window.open() requires 2 input parameters for this, (1) the required MIMEtype and (2) element that contains our data table .If you want to export your Gridview data, then place that Gridview inside a container like DIV and supply the DIV to winodw.open(). Also, be noted that window.open() has its scope and limitations in terms of browser vendors and customizing output file name. [More]