


onitemdatabound="categoryimageRepeater_ItemDataBound1">



Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vikas AhlawatPosted Aug 1, 2011, 1:29 AM
Vikas AhlawatPosted Jul 27, 2011, 7:30 AM
static int i=0;
protected void categoryimageRepeater_ItemDataBound1(object sender, RepeaterItemEventArgs e)
{
i++;
if (i == 2)
{
Image img = (Image)categoryimageRepeater.Items[0].FindControl("categoryImageButton");
// img.Style = "display:block;";
img.Style.Add("display", "block");
}
}
But it is not working the result is below.
Suthish NairPosted Jul 27, 2011, 5:46 AM
Vikas AhlawatPosted Jul 27, 2011, 4:33 AM
Suthish NairPosted Jul 27, 2011, 1:35 AM
http://forums.asp.net/t/1343265.aspx/1