How to get the columns width?

A

ad

By default, columns in the GridView control are sized automatically.
How can I get the width of each column in a GridView which render to html
 
E

Eliyahu Goldin

Only on client side with javascript. You would need to drill down to a
column cell and get it's width property. Then pass it on to the server in a
hidden input element.

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top