Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,

I have bind data for gallery with the help of itemtemplate in datalist control. In one itemtemplate have take table for next previous button and another item template have bind data (image). and now i want to Next button visible false in page load event and after clicking the previous button, Next button should be visible true in datalist. So how to find linkbutton in click event(linkbutton). Please suggest me.

Thanks in advance,
Narendra Kumar
Posted

1 solution

try out this one,
LinkButton lb = this.FindControl("LinkButtonID") as LinkButton;

Whereas this your Page..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900