Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

popupcontrolextender inside gridview itemTemplate

$
0
0

Hello,

I am trying to get a textbox ("txtnotes") to popup under a control that I click on that's in a gridview itemtemplate.

The popup works for the first two rows oddly enough, then doesn't show up for any of the others..

<ItemTemplate><asp:HyperLink ID="hlshownotes" runat="server"><i class="fa-tags"></i></asp:HyperLink> <asp:Label ID="Label1" runat="server" CssClass="h4" Text='<%# Bind("drug") %>'></asp:Label><asp:HiddenField ID="hfdrugid" runat="server" Value='<%# Eval("drug_id") %>' /><asp:PopupControlExtender ID="pcenotes" runat="server" PopupControlID="txtnotes" TargetControlID="hlshownotes" Position="Bottom"></asp:PopupControlExtender><asp:Label ID="Label2" runat="server" Text='<%# Eval("drug_description", "{0}") %>'></asp:Label><asp:TextBox ID="txtnotes" runat="server" style="display:none;font-size:9pt;" TextMode="MultiLine" MaxLength="256"></asp:TextBox><asp:TextBoxWatermarkExtender ID="txtnotes_TextBoxWatermarkExtender" 
                                    runat="server" BehaviorID="txtnotes_TextBoxWatermarkExtender" 
                                    TargetControlID="txtnotes" WatermarkText="Add Note" /></ItemTemplate>

I have searched the interwebs to find old articles that worked with older versions of ACT... 

Can anyone help me with getting the ajax popupcontrolextender to work?

Thanks in advance


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>