c# - Ajax Control Toolkit PopupControl: Get the ID of the PopupControl from the clicked button -
currently i'm working on project requires me make asp.net page contains schedules. whole page schedules week in total. every day represented table (in updatepanel) has rows hours , columns auditoriums. auditoriums places scheduled events take place. filling cells i'm creating quick , handy overview user.
i've added nice tools ajax control toolkit, modal popup adding events , popupcontrols every cell (and button inside capturing click) can show possible actions/functionality user.
i'm generating on fly, guys know.
because every hour or row contains 2 cells every half hour, , there possible between 2 , 10 auditoriums per day, means each button there needs panel containing buttons , popupcontrol connects button panel. every day there 390 controls generated per day. takes long time , application needs performant.
to make performant, i'm trying use threads. makes me gain few seconds not enough. i'm thinking, don't need generate new panel pops controls every button/cell in day overview. 1 panel, popupcontrol every button , that's it. save me loading time , it'll more performant.
my question following: is there way detect popupcontrol has been activated , shows panel on screen. if possible, me much.
and other suggestions welcome, i'm open them, fire away!
you use javascript set hidden control value when user clicks button. can use value determine button used open panel.
Comments
Post a Comment