Hi, I have a simple page setup for testing an issue I have found. I have found that if you set EnableHeaderContextMenu on a radgrid it messe with the binding order on the page. For example:
I have a drop down of users. this drop down is used as a controlparameter for the datasource of the radgrid.
on page load, the dropdown is bound, then the selectedvalue is used as a filter in the sqldatasource for the radgrid. this works as expected
the problem arrises if you make one simple change - set EnableHeaderContextMenu="true" on the radgrid.
with this set, the radgrid is now bound BEFORE the drop down, meaning you either get no data (if you have cancelselectonnullvalue on the data source0 or as in my case ALL of the data (2,000+ rows) instead of the 20 expected fort he selected user.
any ideas on how to fix this without doing a manual databind of the radgrid on page load?
I have a drop down of users. this drop down is used as a controlparameter for the datasource of the radgrid.
on page load, the dropdown is bound, then the selectedvalue is used as a filter in the sqldatasource for the radgrid. this works as expected
the problem arrises if you make one simple change - set EnableHeaderContextMenu="true" on the radgrid.
with this set, the radgrid is now bound BEFORE the drop down, meaning you either get no data (if you have cancelselectonnullvalue on the data source0 or as in my case ALL of the data (2,000+ rows) instead of the 20 expected fort he selected user.
any ideas on how to fix this without doing a manual databind of the radgrid on page load?