How to find a child control nested in div tags in ASP.NET
<p>Hi i want to find an image button control which is in a table which is nested in 3 div tags actually it returns null if i use the below code</p>

<pre><code>for (int j = 1; j &lt; 38; j++)
{
    string s = "ib_s" + j;
    ImageButton img = (ImageButton)FindControl(s.ToString());
    if (status[j] == "B")
    {
        img.ImageUrl = "~/graphics/Booked.jpg";
        img.Enabled = false;
    }
    else
    {
        img.ImageUrl = "~/graphics/Available.jpg";
    }
}
</code></pre>

<p>as i wanted to find image buttons with id's ib_s1, ib_s2 .... and change the image url.</p>

<p>And i use a master page for this page, so please help me.</p>
