I'm using a standard gridview control as part of a usercontrol i use in an Umbraco page.
The gridview loads fine and databinds as expected, but it doesent react to selection / paging / sorting commands at all.
I checked that the features are enabled, and when i put the mouse over a sortable columnheader the bottom line in the browser shows the dopostback javascript stuff, but when i click, nothing happens. Same thing with the select buttton in each row of the grid.
Does anbody here have an idea what i have done wrong ?
Problem with gridview in usercontrol
I'm using a standard gridview control as part of a usercontrol i use in an Umbraco page.
The gridview loads fine and databinds as expected, but it doesent react to selection / paging / sorting commands at all.
I checked that the features are enabled, and when i put the mouse over a sortable columnheader the bottom line in the browser shows the dopostback javascript stuff, but when i click, nothing happens. Same thing with the select buttton in each row of the grid.
Does anbody here have an idea what i have done wrong ?
Thanks
Mikael
I just doublechecked my problem.
The gridview control works finer in IE, but not in Firefox.
It looks like the postback javascripts attached to the controls (the events) in the gridview control are not executed in Firefox.
does anybody know why this happens and what i can do to make it work in FF as well ?
thanks
Mikael
Hi Mikael,
Gridview control behavior is one and same for both IE and FF, Unless you have javascript disabled in FF. Just for safer side get that verified.
Ranjit
Thanks.
Javascript is enabled in both browsers, i have other stuff that depends on JS that works fine in both.
This is really strange.
Have you tried turning on Firebug in Firefox to debug the javascript action?
I'd also run the site through the w3 css and html validators, see if that throws up any bad markup.
On a sidenote, I have a new master/detail gridview package coming up - you can download first version here if you are interested.
>Tommy
is working on a reply...