Home > DeveloperSection > Forums > How to find control inside of Repeater
Chris S
Chris S

Total Post:48

Posted on    December-27-2010 8:49 AM

 ASP.Net ASP.Net 

 1 Reply(s)
 5403  View(s)
Rate this:
Hello Everyone!
I have a repeater control on application where I have to use 3 buttons and these buttons should be displayed when any specific user logged on...user could be like Admin or Operator..
Please help with sample of code..

Thanks in advance!!!

Uttam Misra

Total Post:125

Posted on    December-27-2010 8:57 AM

Try this code...might help you...

Button save=(Button)rptSample.Items[0].FindControl("btnSave");
save.Visible = true;
Button update= (Button)rptSample.Items[0].FindControl("btnUpdate");
update.Visible = true;

Don't want to miss updates? Please click the below button!

Follow MindStick