私はasp.netが初めてです。私はしばらくの間戦ってきましたが、単純なポップアップを機能させることができません。私がやりたいのは、ユーザーが読むためのテキストを含む小さなウィンドウをボタンに表示させることだけです。
<div id="leftColumn">
<asp:Button ID="Button1" runat="server" Text="Click For Window" />
<asp:Panel ID="Panel1" runat="server" CssClass="popupControl">
<p>TEST Stuff. Lorem Ipsum textum fillum spaceum.</p>
</asp:Panel>
<asp:PopupControlExtender ID="PopupControlExtender1" runat="server"
TargetControlID="Button1"
PopupControlID="Panel1" >
</asp:PopupControlExtender>
</div>
css ファイルには「visibility:hidden;」が含まれています。Panel1 の場合。ページを実行し、ボタンをクリックしても何も得られません。また、クリックすると Visible=true に変更されるコードビハインドを使用して、visible="false" をインラインで試しました。
返信ありがとうございます。