Pages

Showing posts with label Call Javascript in Gridview Header. Show all posts
Showing posts with label Call Javascript in Gridview Header. Show all posts

Wednesday, June 6, 2012

To Get Gridview Header using Javascript Function

Hi All,

Some situation we need to get dynamic header names..For example if you use gridview and show your db values. The below example will you explain how is it possible get gridview header name in javascript.

Step 1: Create New Project

Step 2: Create a new webpage. Its name like 'girdvheader.aspx'

Sample Code snapshot


Build and run the application.. we will get the girdview header names like this