Note that there are some explanatory texts on larger screens.

plurals
  1. POworking with Ajax popup
    text
    copied!<p>ok i need a pop up box to select date and time... but im having some trouble...</p> <p>i used first modal popup (ajax) for the popup...</p> <p>that is working but not looking neat...</p> <p>then i put a textbox in it with the calender extender...</p> <p>the problem here is when i click on textbox calender pops up but it does not seem to work because nothing is getting selected... dont know why...</p> <p>here is my code... if any one has any suggestions please.....</p> <p>my code is:</p> <pre><code> &lt;asp:Label ID="Label1" runat="server" Text="Label"&gt;&lt;/asp:Label&gt; &lt;asp:Button ID="Button1" runat="server" Text="Button" /&gt; &lt;asp:Panel ID="Panel1" runat="server" CssClass="ModalWindow" style="display:none;" &gt; &lt;asp:TextBox ID="TextBox2" runat="server" Width="200px"&gt;&lt;/asp:TextBox&gt; &lt;cc1:CalendarExtender ID="CalendarExtender2" runat="server" PopupPosition="Right" PopupButtonID="TextBox2" TargetControlID="TextBox2" Format="dddd, MMMM dd, yyyy"&gt; &lt;/cc1:CalendarExtender&gt; &lt;asp:TextBox runat="server" ID="txtHour"&gt;&lt;/asp:TextBox&gt; &lt;cc1:NumericUpDownExtender ID="txtHour_NumericUpDownExtender" runat="server" Enabled="True" Maximum="12" Minimum="1" TargetControlID="txtHour" Width="70"&gt;&lt;/cc1:NumericUpDownExtender&gt; &lt;asp:TextBox runat="server" ID="txtMinute"&gt;&lt;/asp:TextBox&gt; &lt;cc1:NumericUpDownExtender ID="txtMinute_NumericUpDownExtender" runat="server" Enabled="True" Maximum="60" Minimum="1" TargetControlID="txtMinute" Width="70"&gt;&lt;/cc1:NumericUpDownExtender&gt; &lt;asp:TextBox runat="server" ID="txtDayPart"&gt;&lt;/asp:TextBox&gt; &lt;cc1:NumericUpDownExtender ID="txtDayPart_NumericUpDownExtender" runat="server" Enabled="True" RefValues="AM;PM" TargetControlID="txtDayPart" Width="70"&gt;&lt;/cc1:NumericUpDownExtender&gt; &lt;br /&gt;&lt;br /&gt; &lt;asp:Button ID="btnOk" runat="server" Text="Ok" /&gt; &lt;asp:Button ID="btnClose" runat="server" Text="Close Me" /&gt; &lt;/asp:Panel&gt; &lt;cc1:ModalPopupExtender BackgroundCssClass="modalBackground" DropShadow="true" OkControlID="btnOk" CancelControlID="btnClose" runat="server" PopupControlID="Panel1" id="ModalPopupExtender1" TargetControlID="Button1" /&gt; </code></pre> <p>thanks</p> <p>I cannot use Jquery for this... but just that why does the calender work with modalpopup</p> <p>In IE the arrows to move the months is not working and in mozilla nothing is getting selected in the calender ... please help...</p>
 

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