For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > November 2004 > Accessing Datagrid properties within a user control from the outside









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Accessing Datagrid properties within a user control from the outside
Craig G

2004-11-30, 9:04 am

i have a user control which is basically a datagrid, which has
add/edit/delete buttons on the grid

is there anyway of accessing the actual datagrid from the form itself?

basically i want to set the add/edit/delete options visble/invisible on the
datagrid depending on the users's role, but found that i cannot access the
grid to do this.

is the only way of setting it in the page load of the usercontrol itself?

Cheers,
Craig


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com