hello i want to hide some controls in repeater asp.net using c# how its possible...??

i want to hide or disable linkbuttton and edit or delete button in repeater control of asp.net..how its possible kindly tellme as soon as possible...

thanks in advance.....

You can iterate through a repeater using the foreach loop and the findControl() method to search for the control you want to change, disable, etc. You will probably need to run through the repeater to find the row you want to alter (based on whatever makes that row the target) and then find the particular control in that row that you want to edit. I don't have a good example to hand but if that isn't enough to go on I can post one later for you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.