locked
GridView click event is overtaking AdControl RRS feed

  • Question

  • I have an AdControl in a GridView. The problem is the GridView's click event is not allowing the AdControl to display the web page for the ad when the user clicks it. Instead it fires the GridView click event code.

    Any way to disable the click event for specific cells that have the AdControl in it?

    Saturday, September 14, 2013 2:02 AM

Answers

  • Disregard. Managed to figure it out.

    I had to open the ItemTemplate and for the AdControl entry add the IsEnabled=true to it. This resolved the problem.

    I assume that by "touching" the IsEnabled property it repositions the click event priority?

    Saturday, September 14, 2013 3:09 AM