Click here to Skip to main content
13,150,385 members (30,565 online)
Rate this:
Please Sign up or sign in to vote.
I am trying to dynamically generate checkbox controls in web part (SP 2010) but the number of checkboxes that has to be created depends on the value from previous web part. Abiding by the web part communication infrastructure, I can get that value only on "onprerender" stage. But if I try to create checkboxes with that value count, I cannot get the selected values of the checkbox on postback! I am aware that dynamically created controls should be placed either in page_load or oninit. But, here am supposed not to put there since am getting the particular value in prerender stage. Please help! Am struck with this!
Posted 19-Mar-13 18:49pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170924.2 | Last Updated 20 Mar 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100