I have nested GridViews on my page (Default) and I need to get the ID of the GridView inside but it's returning null. I have an UpdatePanel outside the nested GridViews. It's using a masterpage.
GridView gv = (GridView)UpdatePanel1.FindControl("GridViewSchedule");