Hide datagrid

G

Guest

Hi,
I have multiple datagrids on my page. I would like to display only one
datagrid at a time using a tab buttons. I used a client side javascript
function to hide the datagrid which is wrapped by <div> tag. But it didnt
work as i expected. once a datagrid becomes invisible it is not visible
again.

Any suggestions.

Thanks,
Vel.
 
I

IPGrunt

Hi,
I have multiple datagrids on my page. I would like to display only one
datagrid at a time using a tab buttons. I used a client side javascript
function to hide the datagrid which is wrapped by <div> tag. But it didnt
work as i expected. once a datagrid becomes invisible it is not visible
again.

Any suggestions.

Thanks,
Vel.

Have you thought about how much data you'd be sending the client with all
those grids on the page? Perhaps it may make more sense to control this at
the server, and send only the data the user is viewing?

For a server-side solution to your problem, I have had success using
asp:panel controls as a base for the grid control, and using code to
manipulate visibility of the panel.

-- ipgrunt
 

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

Staff online

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,119
Latest member
IrmaNorcro
Top