L
Leaf
Greetings,
I've read all there is on why SortCommand firing can fail in this
group, and haven't found a solution. Essentially the SortCommand
doesn't fire, no matter what I do. I've set the handler in code, put an
OnSortCommand= in the HTML, tried all different initialization
combinations, nothing. Oddly, on one of my pages it works great. On two
others, it doesn't work at all.
Here's what's weird - when I click on the header link for sorting, my
__EVENTTARGET is equal to ",". When I hover over the link, I get the
usual:
javascript:__doPostBack('DataGrid1$_ctl1$_ctl0','')
and when I look at the generated HTML, it all looks fine. But a
breakpoint on Page_Load() reveals __EVENTTARGET is ",". On my working
page, it is the proper "DataGrid1$:ctl1$:ctl0".
I've got EnableViewState=True. Any thoughts?
thanks, Leaf
I've read all there is on why SortCommand firing can fail in this
group, and haven't found a solution. Essentially the SortCommand
doesn't fire, no matter what I do. I've set the handler in code, put an
OnSortCommand= in the HTML, tried all different initialization
combinations, nothing. Oddly, on one of my pages it works great. On two
others, it doesn't work at all.
Here's what's weird - when I click on the header link for sorting, my
__EVENTTARGET is equal to ",". When I hover over the link, I get the
usual:
javascript:__doPostBack('DataGrid1$_ctl1$_ctl0','')
and when I look at the generated HTML, it all looks fine. But a
breakpoint on Page_Load() reveals __EVENTTARGET is ",". On my working
page, it is the proper "DataGrid1$:ctl1$:ctl0".
I've got EnableViewState=True. Any thoughts?
thanks, Leaf