Hi,
I have created the usercontrol with radgridview in it and defined some columns for the grid,Then i have added the user control to the other page.I am able to access the properties of the grid view(like itemsource,visibilty) in the page but, when i am trying to access the column properties like IsVisible property of specific column in the page( usercontrolname.gridname.columns["columnname"].IsVisible=false ) i am getting the object reference error at runtime.I tried in creation creation of new grid by finding the gridname in usercontrol and accessing the properties still i got same object reference error.
Thanks,
Nav
I have created the usercontrol with radgridview in it and defined some columns for the grid,Then i have added the user control to the other page.I am able to access the properties of the grid view(like itemsource,visibilty) in the page but, when i am trying to access the column properties like IsVisible property of specific column in the page( usercontrolname.gridname.columns["columnname"].IsVisible=false ) i am getting the object reference error at runtime.I tried in creation creation of new grid by finding the gridname in usercontrol and accessing the properties still i got same object reference error.
Thanks,
Nav