E60 Posted July 22, 2007 Report Share Posted July 22, 2007 Hi there, I'm trying to get access to a DropDownList I have in a SideBar and can't seem to get it... DropDownList payeeList = (DropDownList)Grid1.FindControl("DropDownList1"); Is this not supposed to work? Thanks Link to comment Share on other sites More sharing options...
E60 Posted July 22, 2007 Author Report Share Posted July 22, 2007 Oops, this is the line I figured should work: DropDownList payeeList = (DropDownList)Grid1.SideBars[0].FindControl("DropDownList1"); Link to comment Share on other sites More sharing options...
E60 Posted August 4, 2007 Author Report Share Posted August 4, 2007 Am I missing something obvious? Link to comment Share on other sites More sharing options...
IGSFX Posted August 8, 2007 Report Share Posted August 8, 2007 Where are you invoking this code from? Are you calling it from the Page_Load event? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.