web controls paging, sorting and selection from other controls

J

Jason

I've got a gridview with built in paging and sorting and a datasource
tag in the aspx.

I wanted to change the selection criteria based on a dropdrown list
selection, so I created even

_SelectedIndexChanged event, and now I get an event was not handled
when I select paging or sorting links.

Before that there were issues where having a datasource in the asp.net
code conflicted with attempts to set a datasource in the gridview I am
generating and would like to have multiple ways of impacting.

Here's how I was binding it in code:

xGridView.DataSource = somedataset
xGridView.DataBind()

Also, is there a way to bindbased on the exsisting datasourceid?
 

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,968
Messages
2,570,154
Members
46,702
Latest member
LukasConde

Latest Threads

Top