Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
985
Add attribute to a button on a band of WHDG
posted

I want to add an attribute to a button that is displayed on a band in the WHDG. The problem is that I don't know how to do this. I have tried the FindControl method at several levels, but I haven't been able to locate the control I am looking for (instead I just got an error).

 

The configuration of the grid is pretty simple: I have parent items that contain just one level of bands. In those bands I need to add ann attribute to the first item.

Parents
  • 33839
    Suggested Answer
    posted

    Hi dvanmil,

    If you are trying to use FindControl, make sure you use it on an actual container grid, not on a band.  Is your button in an item template or templated column?  Could you post the code you are trying?

    regards,
    David Young 

Reply Children
No Data