GridView problem

  • Thread starter Jan Erik Hansen
  • Start date
J

Jan Erik Hansen

I have a gridview with a sqldatasource and an aspx web form that enables the
user to search on different criterias. Based upon that I generate dynamic
sql
and programmitically feed this into selectcommand and selectparameter of the
sqldatasource. I get the desired result in the gridview but when i enable
paging and sorting I get an empty grid when i try to page or sort.
Another thing: when I click on a link field in the grid for detail
information on another
aspx page and return with the browser back I also get an empty grid.

Any suggestions?

regards
Jan E Hansen, Oslo
 
J

Jan Erik Hansen

Thanx that helped!

But I still have a problem when leaving the grid page to show some extended
details for a row and return with javascript:history.back() the page is in
initial state. I use masterpage with content pages.

Regards

Jan E.Hansen
 

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

Top