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
50
FindControl Problem
posted

I want to export UltraWebGrid data to Excel after a button click in my masterpage. The UltraWebGrid is located in a UltraWebTab Tab. I use the following code to find the grid control, which isn't working.

 Infragistics.WebUI.UltraWebTab.Tab tabSelected = UltraWebTab1.SelectedTabObject;

UltraWebGrid ultraWebGrid = (UltraWebGrid)tabSelected.FindControl("UltraWebGrid1");

The ultraWebGrid object is null. What am i doing wrong here?

Parents
  • 7694
    posted

     

    Hello,

    I am trying to reproduce the problem, unfortunately to no avail... when I get UltraWebGrid1 with FindControl() method I  receive all values of control.

    Could you please send a little bit more information about the UltraWebGrid declaration.  ASPX, code-behind - anything that can get us started is welcome. And we try help you.

     

Reply Children
No Data