Copied to clipboard

Flag this post as spam?

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


  • Deepa 14 posts 71 karma points
    May 21, 2015 @ 08:45
    Deepa
    0

    Gridview Not hitting to code behind

    I created a webform user controller and added a gridview inside the user control.

    In Umbraco i created a macro for this usercontrol and used this macro in one of my content page.The events of grid view not hitting to my code behind.

    I have tried most of the solutions in the forum.

    Please help me...

     

     

  • Urvish 252 posts 776 karma points
    May 21, 2015 @ 09:31
    Urvish
    0

    Hi Deepa,

    Do one thing.

    Make new usercontrol. Copy the code in the new usercontrol. And make new macro for that usercontrol.

    May it work. and try to debug it with attaching the process.

    Regards,

    Urvish Mandaliya

  • Deepa 14 posts 71 karma points
    May 21, 2015 @ 11:46
    Deepa
    0

    I have tried this but the issue exists.Pageindex changed event and all other events from grid is not fired.

    Thanks for your help.Could you please suggest another solution.

    In umbracoSettings.config

    <defaultRenderingEngine>Mvc</d

    efaultRenderingEngine>

    DefaultRendering Engine is MVC but we created webform usercontrol .Is there any issue for that?.

  • Urvish 252 posts 776 karma points
    May 21, 2015 @ 13:28
    Urvish
    0

    Yes, it definately makes impact.

    In Umbraco 7 DefaultRendering Engine is MVC.

    But if you want to run Umbraco totally in webform (i.e, your call code is in webform) than you must change you DefaultRenderingEngine to WebForms.

    Check after changing the DefaultRendering Engine to WebForms. Hope it will solve your problem.

    Regards,

    Urvish Mandaliya

Please Sign in or register to post replies

Write your reply to:

Draft