Copied to clipboard

Flag this post as spam?

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


  • Robin 37 posts 109 karma points
    Feb 27, 2013 @ 10:15
    Robin
    1

    Gridview control and buttons in Umbraco

    Hello

    I'm developping a C# asp.net application who needs to be imported in Umbraco. I searched a lot on the web but couldn't find a way to let the buttons of the gridview (created with visual studio) work. When I click on the button nothing happens, there's even no event created. I read about the OnRowCommand, but by clicking on the butten this event is not even called (tested with the debugger). Also, I found that the databind() method could be a problem, so I putted it in if(!postback) so that shouldn't be the problem either. The standard buttond (insert, edit, delete,...) aren't working either. The gridview is not connected by a datasource through visual studio, but I did it in code.

    Is Umbraco handeling this events on an other way?

    -edit-

    SOLVED! It had nothing to do with Umbraco, but it needed to be converted to a templatefield. I don't know why, but I'm glad it works now.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies