Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mikael Mørup 297 posts 326 karma points
    Feb 25, 2010 @ 21:57
    Mikael Mørup
    0

    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

  • Mikael Mørup 297 posts 326 karma points
    Mar 01, 2010 @ 12:47
    Mikael Mørup
    0

    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

     

  • Ranjit J. Vaity 66 posts 109 karma points
    Mar 02, 2010 @ 17:17
    Ranjit J. Vaity
    0

    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  

  • Mikael Mørup 297 posts 326 karma points
    Mar 03, 2010 @ 09:00
    Mikael Mørup
    0

    Thanks.

     

    Javascript is enabled in both browsers, i have other stuff that depends on JS that works fine in both.

    This is really strange.

     

  • jaygreasley 416 posts 403 karma points
    Mar 06, 2010 @ 08:27
    jaygreasley
    0

    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.

     

  • Tommy Poulsen 514 posts 708 karma points
    Mar 06, 2010 @ 09:11
    Tommy Poulsen
    0

    On a sidenote, I have a new master/detail gridview package coming up - you can download first version here if you are interested.

    >Tommy

Please Sign in or register to post replies

Write your reply to:

Draft