Note that there are some explanatory texts on larger screens.

plurals
  1. POshow modal pop up on radiobutton click
    primarykey
    data
    text
    <pre><code>&lt;tr&gt; &lt;td align="left"&gt;Have you asked the employee to leave without serving the notice period&lt;/td&gt; &lt;td align="left"&gt; &lt;asp:RadioButton ID="rdoBtnleaveWoNoticeyes" runat="server" GroupName="Replacement" Text="Yes" Font-Names="Arial" Font-Size="Small" AutoPostBack="true" oncheckedchanged="rdoBtnleaveWoNoticeyes_CheckedChanged" /&gt; &amp;nbsp; &lt;asp:RadioButton ID="rdoBtnleaveWoNoticeno" runat="server" GroupName="Replacement" Text="No" Font-Names="Arial" Font-Size="Small" AutoPostBack="true" oncheckedchanged="rdoBtnleaveWoNoticeno_CheckedChanged" /&gt; &lt;/td&gt; &lt;td align="left" colspan="2"&gt;&lt;%--Remark--%&gt; &lt;/td&gt; &lt;/tr&gt; &lt;cc1:ModalPopupExtender ID="cc18_ModalPopupExtender" runat="server" BackgroundCssClass="modalBackground" TargetControlID="rdoBtnleaveWoNoticeyes" PopupControlID="Panel18" CancelControlID="btnwonoticeperiod"&gt; &lt;/cc1:ModalPopupExtender&gt; &lt;asp:Panel ID="Panel18" runat="server" CssClass="modalPopup" Style="display: none;top:50px"&gt; &lt;table width="90%" border="0" style="border-collapse:collapse;font-family: Arial; font-size: small" cellpadding="2" cellspacing="2"&gt; &lt;tr&gt;&lt;td align="left"&gt; &lt;asp:Label ID="lbl_leaveWoNotice" runat="server" &gt;&lt;/asp:Label&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td align="center"&gt; &lt;asp:Button ID="btnwonoticeperiod" runat="server" Text="Save" OnClick="btnPLAdjSave_Click" CssClass="clsButtonpopup" /&gt;&amp;nbsp; &lt;asp:Button ID="Button2" runat="server" Text="Cancel" CssClass="clsButtonpopup" /&gt; &lt;/td&gt;&lt;/tr&gt; &lt;/table&gt; &lt;/asp:Panel&gt; </code></pre> <p>I want to show modal popup on radiobtn checked above is the design. Below is code. iam not getting output kindly suggesat wat is to be done</p> <pre><code>protected void rdoBtnleaveWoNoticeyes_CheckedChanged(object sender, EventArgs e) { if (rdoBtnleaveWoNoticeyes.Checked == true) { lbl_leaveWoNotice.Text = "As you have asked the employee to leave without serving notice, there will be no Notice recovery from employee and employee will receive his PL encashment treating this as “Ask to leave” case."; trNoticePayRecovery.Visible = true; cc18_ModalPopupExtender.TargetControlID = "rdoBtnleaveWoNoticeyes"; cc18_ModalPopupExtender.Show(); } } protected void rdoBtnleaveWoNoticeno_CheckedChanged(object sender, EventArgs e) { lbl_leaveWoNotice.Text = "As process there will be Notice period shortfall recovery with PL bal adjustment from employee."; trNoticePayRecovery.Visible = false; cc18_ModalPopupExtender.TargetControlID = "rdoBtnleaveWoNoticeno"; cc18_ModalPopupExtender.Show(); } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload