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 Quote 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"); Quote 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? Quote 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.