linkbutton command event deletes grid

R

Rubble

Hello,

Ive got a datagrid that is created on a user control(ascx) page. My
web form calls the user control and passes some property values to it,
then the user control takes those and creates the datagrid.

Everything works well, but I have a template column in the grid that
has a linkbutton. I want the commandevent of the linkbutton to run an
event that redirects to another page, depending on what the data is
for that particular row. For some reason, whenever I click the link
in the grid, it just refreshes the page and the grid disappears.

Any suggestions?

Thanks!
B. Rubble
 

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,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top