Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all
i want to open a modal pop up on command of a linkbutton which is inside datalist and the datalist is inside marquee.
There is a running flash banner on the page. I hve supplied all the target id and pop up id but the pop up is not shown.
Please help
Posted
Comments
Nilesh Patil Pune 26-Dec-11 6:56am    
You Can Use UpdatePanel For that & check on page Load Ispostback .
You take panel .

I faced the same problem.


The solution is really simple..You will have to place the AJAX ModalPopupExtender and the Panel with your popup markup inside the datalist near the LinkButton in the ItemTemplate OR in short just beside the Linkbutton.

This way, each Linkbutton will be linked to its own Popup and will be displayed.

I was making the same mistake of placing the markup outside the Datalist.
 
Share this answer
 
v2
create a ajax modalpopup control & show on linkbutton's OnClientClick=$find(modal_popup_control_id).show(0; return false;
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900