Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI geeks,

I've a dropdownlist ID="ddlcombo" in a gridview gvcommondetails.
I've listed Solid, Y/D A in a dropdownlist. When I select solid alone, I should a get a popup using PopUpControlExtender.

ASP.NET
<ajax:PopupControlExtender ID="PopUpControlExtender10"  runat="server" TargetControlID="gvcommondetails.ddlcombo"
                                        PopupControlID="Panel5" >
                                    </ajax:PopupControlExtender>


I do not know how to set TargetControlID for a dropdownlist present in Gridview.

Can anyone help me as I tried in many ways.
Posted

 
Share this answer
 
Just handle the postback of that checkbox and call just show the popup extender like
PopUpControlExtender10.Show();

That is enough.
And about TargetControlID
Create one label, make it visible false and use this label id as TargetControlID for popup extender
 
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