Clear a GridView's innerHTML from the server?

P

pbd22

I have a gridview with only

<column>
</column>

inside it. Everything gets filled dynamically.

When the user logs out, I want everything inside the Gridview's
<column> tags cleared out.
How do I clear the column tags inside the gridview tags on logout?

I am using ASP.NET 2.0/C#

Thanks.
 
P

pbd22

Peter, thanks.

No, I need to log out and log back in.
I tried visible = false but that doesn't work.

I have a ton of hidden data fields that I am
using on the client that are generated from
the server. When I log out and log back in,
I see the old columns/data and the new ones.
When I log out and log in again, I see three times... and so on.

I need a way of disposing of the old data and leaving a fresh
canvas for the new login.

Visible = false just hides the columns. When they log back
in and I set visible = true, i see the same problem = 2x the amount
of columns/data.

Is innerHTML = "" from the server possible?

thanks.
 
P

pbd22

Anybody?

Anybody have any ideas of how to flush the columns inside the gridview
as
a call from the server?

Peter
 

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

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,814
Latest member
SpicetreeDigital

Latest Threads

Top