Within my code, I have created a div element which serves as a popup message:
<div class="info message">
<h3>Informação</h3>
<p>Mensagem informativa.</p>
</div>
In addition, there is a button that successfully triggers the display of this div (popup):
<ul id="trigger-list">
<li><a href="#" class="trigger info-trigger">Info</a></li>
</ul>
However, I am interested in calling the div (popup) directly from the code behind, rather than using the button. Here is an example snippet of how I envision implementing this:
Sub Info(sender As Object, e As System.Web.UI.ImageClickEventArgs)
If ChkInfo.Checked Then
'Code to show the div (popup)
Else
'Another code
End Inf
End Sub
It is important to note that I am following the guidance provided at
I appreciate any insights or suggestions. Thank you.