ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2017 www.aspforums.com. All rights reserved.Youtube Video Modal Popup keeps playing after closing in ASP.Net<p>Hello, here: http://www.aspsnippets.com/Articles/Play-YouTube-Video-inside-AJAX-Modal-Popup-in-ASPNet.aspx you explain how to use a modal popup to show a youtube video.</p> <p>&nbsp;</p> <p>I am doing the same thing with my code below however when I exit the popup the youtube video continues to play. Can you please help me get it so it stops playing when I exit the modal popup? Thank you!</p> <pre class="brush: csharp">&lt;asp:UpdatePanel ID=&#34;upYouTube&#34; runat=&#34;server&#34; UpdateMode=&#34;Conditional&#34;&gt; &lt;ContentTemplate&gt; &lt;asp:ImageButton ID=&#34;ClickToPlayYoutube&#34; runat=&#34;server&#34; Visible=&#34;False&#34; src=&#34;Assets/VideoPlayerImages/ViewYouTubeVideo.png&#34; alt=&#34;YouTube Video&#34; /&gt; &lt;asp:Panel ID=&#34;pnlYoutubePopup&#34; runat=&#34;server&#34; Height=&#34;315px&#34; Style=&#34;display:none;&#34; CssClass=&#34;W2M_ModalPopup&#34;&gt; &lt;asp:Panel ID=&#34;pnlYoutube&#34; runat=&#34;server&#34;&gt; &lt;asp:PlaceHolder ID=&#34;phYouTubeEmbedded&#34; runat=&#34;server&#34;&gt;&lt;/asp:PlaceHolder&gt; &lt;/asp:Panel&gt; &lt;asp:ImageButton AutoPostBack=&#34;true&#34; ID=&#34;ibCancelYoutube&#34; runat=&#34;server&#34; Text=&#34;Close&#34; CausesValidation=&#34;false&#34; ImageUrl=&#34;../Assets/VideoPlayerImages/close.png&#34; /&gt; &lt;/asp:Panel&gt; &lt;ajaxToolkit:ModalPopupExtender ID=&#34;SendEmailPopupDialogYoutube&#34; runat=&#34;server&#34; TargetControlID=&#34;ClickToPlayYoutube&#34; PopupControlID=&#34;pnlYoutubePopup&#34; BackgroundCssClass=&#34;modalBackground&#34; CancelControlID=&#34;ibCancelYoutube&#34; DropShadow=&#34;false&#34;/&gt; &lt;/ContentTemplate&gt; &lt;/asp:UpdatePanel&gt;</pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/159073/Youtube-Video-Modal-Popup-keeps-playing-after-closing-in-ASPNet/http://www.aspforums.net/Threads/159073/Youtube-Video-Modal-Popup-keeps-playing-after-closing-in-ASPNet/Thu, 07 Nov 2013 01:27:47 GMTWhat is Wizard control in ASP.Net<p>can you give me the example of asp.net wizard control?please reply me as soon as possible!</p>http://www.aspforums.net/Threads/983387/What-is-Wizard-control-in-ASPNet/http://www.aspforums.net/Threads/983387/What-is-Wizard-control-in-ASPNet/Fri, 11 Oct 2013 23:09:15 GMTWhat is the difference between Master Page and AJAX Master Page in ASP.Net<p>what is thedifference between master page and Ajax &nbsp;master page</p> <p>&nbsp;</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/109628/What-is-the-difference-between-Master-Page-and-AJAX-Master-Page-in-ASPNet/http://www.aspforums.net/Threads/109628/What-is-the-difference-between-Master-Page-and-AJAX-Master-Page-in-ASPNet/Tue, 08 Jul 2014 01:41:51 GMTWhat is Custom Control in ASP.NET and how to use it<p>What is Custom Control in ASP.NET? (Definition with Example)<br /><br />Why it is used and what are the advantages of using custom controls?<br /><br />How it is different from other ASP.NET controls?</p> <p>&nbsp;</p> <p>Please explain the above in simple words.</p> <p>Please reply.</p>http://www.aspforums.net/Threads/142938/What-is-Custom-Control-in-ASPNET-and-how-to-use-it/http://www.aspforums.net/Threads/142938/What-is-Custom-Control-in-ASPNET-and-how-to-use-it/Fri, 25 Jul 2014 05:45:06 GMTWebSite Performance decreasing due to heavy page size<p>Hi,</p> <p>In my website for one project we have 5000+ records in sql database. If I give page size is 100 for gridview then the paze size showing 800kb in firebug net panel and it is taking 20-30 seconds to load webpage. If I give page size is 10 for gridview then the paze size showing 160kb in firebug net panel and it is taking 5-6 seconds to load webpage.&nbsp; If I give page size is 5<br />for gridview then the paze size showing 130kb in firebug net panel and it is taking less than 6 seconds to load webpage. I noticed that due to heavy paze size the performance decreasing but as per my requirent the paze size should be 100 or above and the page should be load less than 2 seconds. Can anyone help me how can i achieve above senario??</p> <p>Note: I am using Ajax Update panels</p> <p>&nbsp;</p> <p>Thanks</p>http://www.aspforums.net/Threads/207684/WebSite-Performance-decreasing-due-to-heavy-page-size/http://www.aspforums.net/Threads/207684/WebSite-Performance-decreasing-due-to-heavy-page-size/Tue, 10 Apr 2012 01:46:05 GMTWeb.Config Error: Element 'system.web' is not supported<p>errors:</p> <p>Element 'system.web' is not supported</p> <p>Element 'httpRuntime' is not supported</p> <p>when using this code</p> <pre class="brush: html">&lt;system.web&gt; &lt;httpRuntime executiontimeout=&#34;240&#34; maxrequestlength=&#34;20480&#34; /&gt; &lt;/system.web&gt;</pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/994379/WebConfig-Error-Element-systemweb-is-not-supported/http://www.aspforums.net/Threads/994379/WebConfig-Error-Element-systemweb-is-not-supported/Mon, 11 Aug 2014 04:47:52 GMTWant Site containing ASP.Net AJAX Control Toolkit Samples and examples<p>i want all the ajax controls with example</p>http://www.aspforums.net/Threads/869055/Want-Site-containing-ASPNet-AJAX-Control-Toolkit-Samples-and-examples/http://www.aspforums.net/Threads/869055/Want-Site-containing-ASPNet-AJAX-Control-Toolkit-Samples-and-examples/Wed, 27 Jun 2012 03:49:05 GMTVerify whether File Exists when uploading using FileUpload control in ASP.Net<p>In my application Im saving multiple files(image,pdf,txt) to a folder.&nbsp; Suppose I have an image with name "image1", if this image already exists in the folder and if another user tries to add another image with the same name "image1" then, it should give message to change the File name.</p> <p>I had used below code:</p> <pre class="brush: csharp"> string filePath = DamRep_FileUpload.PostedFile.FileName; string filename = Path.GetFileName(filePath); string contenttype = String.Empty; if (contenttype != String.Empty) { if (File.Exists(&#34;~/FTP/File/&#34;)) { LMsg.Visible = true; LMsg.Text = &#34;File name already exist. Change the File name if u want to save this file&#34;; } else { string fileName = Path.GetFileName(DamRep_FileUpload.PostedFile.FileName); DamRep_FileUpload.PostedFile.SaveAs(Server.MapPath(&#34;~/FTP/File/&#34;) + fileName); Response.Redirect(Request.Url.AbsoluteUri); } }</pre> <p>but its not working.</p> <p>Please suggest some help as per my requirement.</p>http://www.aspforums.net/Threads/152812/Verify-whether-File-Exists-when-uploading-using-FileUpload-control-in-ASPNet/http://www.aspforums.net/Threads/152812/Verify-whether-File-Exists-when-uploading-using-FileUpload-control-in-ASPNet/Mon, 17 Mar 2014 06:31:48 GMTUsing server.mapath to retrieve a file from a physical path<p>Trying to read my file at:-</p> <p>Physical Path &nbsp;&nbsp; h:\root\home\snookertable-001\www\site1\DisplayLatestNews</p> <p>from the server where my site is hosted</p> <p>&nbsp;</p> <pre class="brush: csharp">if (!Page.IsPostBack) { if (System.IO.File.Exists(Server.MapPath(&#34;h:\\root\\home\\snookertable-001\\www\\site1\\DisplayLatestNews&#34;))) { System.IO.StreamReader StreamReader2 = new System.IO.StreamReader(Server.MapPath(&#34;h:\\root\\home\\snookertable-001\\www\\site1\\DisplayLatestNews&#34;)); TextBox1.Text = StreamReader2.ReadToEnd(); StreamReader2.Close(); } }</pre> <p> Just comes back with a non descriptive error, I have used "\\" instead of "\" as it does not like just the one backslash, any ideas please ?</p>http://www.aspforums.net/Threads/103034/Using-servermapath-to-retrieve-a-file-from-a-physical-path/http://www.aspforums.net/Threads/103034/Using-servermapath-to-retrieve-a-file-from-a-physical-path/Wed, 30 Mar 2016 12:20:55 GMTVerify if Points exists on AJAX Line Chart Control in ASP.Net<p>Hello,</p> <p>This is my aspx code :</p> <pre class="prettyprint prettyprinted"><span class="tag">&lt;asp:Chart</span> <span class="atn">ID</span><span class="pun">=</span><span class="atv">"ChartAlertes"</span> <span class="atn">runat</span><span class="pun">=</span><span class="atv">"server"</span> <span class="atn">Width</span><span class="pun">=</span><span class="atv">"500px"</span><span class="tag">&gt;</span> <span class="tag">&lt;Titles&gt;</span> <span class="tag">&lt;asp:Title</span> <span class="atn">Text</span><span class="pun">=</span><span class="atv">"Nombre d'alertes et leurs status en fonction des filtres renseign&eacute;s"</span> <span class="atn">BorderColor</span><span class="pun">=</span><span class="atv">"Black"</span> <span class="atn">Alignment</span><span class="pun">=</span><span class="atv">"TopCenter"</span><span class="tag">&gt;</span> <span class="tag">&lt;/asp:Title&gt;</span> <span class="tag">&lt;/Titles&gt;</span> <span class="tag">&lt;Series&gt;</span> <span class="tag">&lt;/Series&gt;</span> <span class="tag">&lt;ChartAreas&gt;</span> <span class="tag">&lt;asp:ChartArea</span> <span class="atn">Name</span><span class="pun">=</span><span class="atv">"MainChartArea"</span><span class="tag">&gt;</span> <span class="tag">&lt;/asp:ChartArea&gt;</span> <span class="tag">&lt;/ChartAreas&gt;</span> <span class="tag">&lt;/asp:Chart&gt;</span></pre> <p>I display 2 Points (2 columns) in the Chart Control and I change the color of the each Points with :</p> <pre class="prettyprint prettyprinted"><span class="typ">ChartAlertes</span><span class="pun">.</span><span class="typ">Series</span><span class="pun">[</span><span class="lit">0</span><span class="pun">].</span><span class="typ">Points</span><span class="pun">[</span><span class="lit">0</span><span class="pun">].</span><span class="typ">Color</span> <span class="pun">=</span> <span class="typ">System</span><span class="pun">.</span><span class="typ">Drawing</span><span class="pun">.</span><span class="typ">Color</span><span class="pun">.</span><span class="typ">Red</span><span class="pun">;</span><br /><span class="typ">ChartAlertes</span><span class="pun">.</span><span class="typ">Series</span><span class="pun">[</span><span class="lit">0</span><span class="pun">].</span><span class="typ">Points</span><span class="pun">[</span><span class="lit">1</span><span class="pun">].</span><span class="typ">Color</span> <span class="pun">=</span> <span class="typ">System</span><span class="pun">.</span><span class="typ">Drawing</span><span class="pun">.</span><span class="typ">Color</span><span class="pun">.</span><span class="typ">DarkOrange</span><span class="pun">;</span></pre> <p>But sometimes, I have only 1 Point to display or nothing at all on the Chart. So I'd like to check If there are some Points before to put the color of each Point.</p> <p>For example :</p> <p>if (ChartAlertes.Series[0].Empty == false)</p> <p>{</p> <p>//...</p> <p>}</p> <p>&nbsp;</p> <p>Do you have a solution ?</p> <p>Thanks</p>http://www.aspforums.net/Threads/239890/Verify-if-Points-exists-on-AJAX-Line-Chart-Control-in-ASPNet/http://www.aspforums.net/Threads/239890/Verify-if-Points-exists-on-AJAX-Line-Chart-Control-in-ASPNet/Sun, 27 Jul 2014 03:34:31 GMTValidation Summary in jQuery Dialog Modal Popup Box not working with ASP.Net AJAX UpdatePanel<p>Hello,</p> <p>I'm using the ASP.Net Validation controls and I want to display the Validation Summary in a JQuery Dialog instead of the native javascript alert messagebox. I've found this&nbsp;solution (<a href="http://www.aspsnippets.com/Articles/Display-ASPNet-ValidationSummary-control-inside-jQuery-Modal-Dialog-Popup.aspx">aspsnippets</a>) by overriding the clientside WebForm_OnSubmit() function:</p> <pre class="brush: js"> &lt;script type=&#34;text/javascript&#34;&gt; function WebForm_OnSubmit() { if (typeof (ValidatorOnSubmit) == &#34;function&#34; &amp;&amp; ValidatorOnSubmit() == false) { $(&#34;#validation_dialog&#34;).dialog({ title: &#34;Validation Error!&#34;, modal: true, resizable: false, buttons: { Close: function () { $(this).dialog(&#39;close&#39;); } } }); return false; } return true; } &lt;/script&gt;</pre> <p>The WebForm_OnSubmit() function is being rendered by the BaseValidator control and in the form tag te following attribute is being added:&nbsp;onsubmit="javascript:return WebForm_OnSubmit();</p> <p>I am running into a problem on a page which has an UpdatePanel. The input field with the validator (1 to make it simple) is in a Panel within an UpdatePanel. The Panel is set to Visible=False at the first Page Load.&nbsp;There's a button inside the UpdatePanel which makes the Panel with the Validator Visible. When this happens, the WebForm_OnSubmit() function and the onsubmit="javascript:return WebForm_OnSubmit(); attribute of the form tag are not being rendered because it's an AJAX callback and the form tag is outside the updatepanel (in a master page), so the validation summary will not be shown in the jquery dialog. Validation is being performed, so the validation summary wil be shown in a div on a page, but the validation is not being called by the WebForm_OnSubmit() function in this case, because it's not being rendered. Here's the markup of the page:</p> <p>&nbsp;</p> <pre class="brush: xml"> &lt;asp:UpdatePanel ID=&#34;UpdatePanel1&#34; runat=&#34;server&#34;&gt; &lt;ContentTemplate&gt; &lt;asp:Button ID=&#34;btnNew&#34; runat=&#34;server&#34; Text=&#34;New&#34; /&gt; &lt;asp:Panel ID=&#34;pnlEdit&#34; runat=&#34;server&#34;&gt; &lt;table&gt; &lt;tr&gt; &lt;td&gt; Name: &lt;/td&gt; &lt;td&gt; &lt;asp:TextBox ID=&#34;txtName&#34; runat=&#34;server&#34;&gt;&lt;/asp:TextBox&gt; &lt;asp:RequiredFieldValidator ID=&#34;rfvName&#34; runat=&#34;server&#34; ControlToValidate=&#34;txtName&#34; ErrorMessage=&#34;Please fill in a name&#34;&gt;*&lt;/asp:RequiredFieldValidator&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td colspan=&#34;2&#34;&gt; &lt;asp:Button ID=&#34;btnSave&#34; runat=&#34;server&#34; Text=&#34;Save&#34; /&gt; &lt;asp:Button ID=&#34;btnCancel&#34; runat=&#34;server&#34; Text=&#34;Cancel&#34; CausesValidation=&#34;False&#34; /&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;br /&gt; &lt;br /&gt; &lt;/asp:Panel&gt; &lt;/ContentTemplate&gt; &lt;/asp:UpdatePanel&gt; &lt;asp:ValidationSummary ID=&#34;ValidationSummary3&#34; runat=&#34;server&#34; CssClass=&#34;validation_summary&#34;/&gt; </pre> <p>So, when the validators are not visible at the first load and they will be made&nbsp;visible by an AJAX callback, the WebForm_OnSubmit() function and the onsubmit="javascript:return WebForm_OnSubmit(); attribute of the form tag are not being rendered on the pag. Because of that, the WebForm_OnSubmit() function will not be called and the validation summary will not be shown in the JQuery dialog (although it is being shown in a div on the page). How can I get the Validation Summary to be shown in de JQuery dialog in this case? Is there another function that has to be overriden for this case? I know I can use a Full Postback for the New button and then all the stuff needed is being rendered on the page, or I can make the panel not visible by using a style, but I don't prefer that because there are a lot of pages with this situation. One solution is to use a dummy textbox with a dummy validator (with a dummy validationgroup) of which I set the display&nbsp;to&nbsp;none. Then this dummy validator will cause the the WebForm_OnSubmit() function and the onsubmit="javascript:return WebForm_OnSubmit(); attribute of the form tag to be rendered, but I think there must be a nicer solution. Any help would be appreciated. Thanks in advance.</p>http://www.aspforums.net/Threads/113587/Validation-Summary-in-jQuery-Dialog-Modal-Popup-Box-not-working-with-ASPNet-AJAX-UpdatePanel/http://www.aspforums.net/Threads/113587/Validation-Summary-in-jQuery-Dialog-Modal-Popup-Box-not-working-with-ASPNet-AJAX-UpdatePanel/Tue, 01 Dec 2015 02:50:30 GMTValidate AJAX Rating Control to avoid multiple ratings but user in ASP.NET<p>Hello, I am using&nbsp;</p> <p><a href="http://aspsnippets.com/Articles/Implement-Rating-Control-in-ASPNet-AJAX.aspx">http://aspsnippets.com/Articles/Implement-Rating-Control-in-ASPNet-AJAX.aspx</a></p> <p>And my question is the user should not vote again if he/she already voted</p>http://www.aspforums.net/Threads/337800/Validate-AJAX-Rating-Control-to-avoid-multiple-ratings-but-user-in-ASPNET/http://www.aspforums.net/Threads/337800/Validate-AJAX-Rating-Control-to-avoid-multiple-ratings-but-user-in-ASPNET/Thu, 20 Nov 2014 22:06:43 GMTUsing WaterMark Extender with DropDownList in ASP.Net<p>Hi,</p> <p>How to use watermark(--select--) in dropdownlist.</p>http://www.aspforums.net/Threads/853367/Using-WaterMark-Extender-with-DropDownList-in-ASPNet/http://www.aspforums.net/Threads/853367/Using-WaterMark-Extender-with-DropDownList-in-ASPNet/Tue, 05 Aug 2014 06:04:36 GMTUsing Scrollable GridView with Fixed headers inside AJAX TabContainer control in ASP.Net<p>I am working with asp.net tab control currently with two tabs.&nbsp; The first tab is a list of jobs to be worked.&nbsp; The gridview id is "gvJobs".&nbsp; I call the ScrollableGridPlug via</p> <p>$(document).ready(&nbsp;</p> <p><span style="color: #0000ff; font-family: Consolas; font-size: small;"><span style="color: #0000ff; font-family: Consolas; font-size: small;"><span style="color: #0000ff; font-family: Consolas; font-size: small;">function</span></span></span><span style="font-family: Consolas; font-size: small;"><span style="font-family: Consolas; font-size: small;"> () {</span></span></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(<span style="color: #800000; font-family: Consolas; font-size: small;"><span style="color: #800000; font-family: Consolas; font-size: small;"><span style="color: #800000; font-family: Consolas; font-size: small;">'[id*=gvJobs]'</span></span></span><span style="font-family: Consolas; font-size: small;"><span style="font-family: Consolas; font-size: small;">).Scrollable({</span></span></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ScrollHeight: 450</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; });</p> <p>&nbsp;&nbsp;&nbsp; });</p> <p>The gridview for this tab works fine, however, the second tab is a list of equipment available for use.&nbsp; The id for this gridview is "grEquip".&nbsp; I call the scrollableplugin via</p> <p>$(document).ready(</p> <p><span style="color: #0000ff; font-family: Consolas; font-size: small;"><span style="color: #0000ff; font-family: Consolas; font-size: small;"><span style="color: #0000ff; font-family: Consolas; font-size: small;">function</span></span></span><span style="font-family: Consolas; font-size: small;"><span style="font-family: Consolas; font-size: small;"> () {</span></span></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(<span style="color: #800000; font-family: Consolas; font-size: small;"><span style="color: #800000; font-family: Consolas; font-size: small;"><span style="color: #800000; font-family: Consolas; font-size: small;">'[id*=grEquip]'</span></span></span><span style="font-family: Consolas; font-size: small;"><span style="font-family: Consolas; font-size: small;">).Scrollable({</span></span></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ScrollHeight: 450</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; });</p> <p>&nbsp;&nbsp;&nbsp; });</p> <p>When i click at the Equip Tab is get a blank gridview.&nbsp; There is a scrollbar on the left side indicating there is data in the gridview; however there is nothing visible.&nbsp; What am i doing wrong?&nbsp; Additionally is there a way to scrollable function when I click on the appropriate tab?</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/158207/Using-Scrollable-GridView-with-Fixed-headers-inside-AJAX-TabContainer-control-in-ASPNet/http://www.aspforums.net/Threads/158207/Using-Scrollable-GridView-with-Fixed-headers-inside-AJAX-TabContainer-control-in-ASPNet/Tue, 03 Dec 2013 21:43:17 GMTUsing Multiple TinyMCE Rich TextBox Editor inside AJAX UpdatePanel across Partial PostBack in ASP.Net<p>hello sir&nbsp;</p> <p>i saw your article&nbsp;</p> <p><a href="http://www.aspsnippets.com/Articles/Using-TinyMCE-Rich-TextBox-Editor-inside-AJAX-UpdatePanel-across-Partial-PostBack-in-ASPNet.aspx">http://www.aspsnippets.com/Articles/Using-TinyMCE-Rich-TextBox-Editor-inside-AJAX-UpdatePanel-across-Partial-PostBack-in-ASPNet.asp</a>x</p> <p>that is working fine&nbsp;</p> <p>i have a page with&nbsp;multiple textbox multiline&nbsp;</p> <p>when i apply&nbsp;your code for three textbox then it show only one editor and remain same as simple textbox and if i click on button it flickering&nbsp;</p> <p>how to solve this&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <pre class="brush: html">&lt;asp:ScriptManager ID=&#34;ScriptManager1&#34; runat=&#34;server&#34;&gt; &lt;/asp:ScriptManager&gt; &lt;asp:UpdatePanel ID=&#34;UpdatePanel1&#34; runat=&#34;server&#34;&gt; &lt;ContentTemplate&gt; &lt;asp:TextBox ID=&#34;TextBox1&#34; runat=&#34;server&#34; TextMode=&#34;MultiLine&#34;&gt;&lt;/asp:TextBox&gt; &lt;asp:HiddenField ID=&#34;HiddenField1&#34; runat=&#34;server&#34; /&gt; &lt;br /&gt; &lt;asp:TextBox ID=&#34;TextBox2&#34; runat=&#34;server&#34; TextMode=&#34;MultiLine&#34;&gt;&lt;/asp:TextBox&gt; &lt;asp:HiddenField ID=&#34;HiddenField2&#34; runat=&#34;server&#34; /&gt; &lt;br /&gt; &lt;asp:TextBox ID=&#34;TextBox3&#34; runat=&#34;server&#34; TextMode=&#34;MultiLine&#34;&gt;&lt;/asp:TextBox&gt; &lt;asp:HiddenField ID=&#34;HiddenField3&#34; runat=&#34;server&#34; /&gt; &lt;br /&gt; &lt;asp:Button ID=&#34;Button1&#34; runat=&#34;server&#34; Text=&#34;Submit&#34; /&gt; &lt;/ContentTemplate&gt; &lt;/asp:UpdatePanel&gt; &lt;script type=&#34;text/javascript&#34; src=&#34;http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js&#34;&gt;&lt;/script&gt; &lt;script type=&#34;text/javascript&#34; src=&#34;jscripts/tiny_mce/jquery.tinymce.js&#34;&gt;&lt;/script&gt; &lt;script type=&#34;text/javascript&#34;&gt; $(function () { LoadTinyMCE(); }); var prm = Sys.WebForms.PageRequestManager.getInstance(); prm.add_endRequest(function (sender, e) { LoadTinyMCE(); }); function LoadTinyMCE() { $(&#39;[id*=TextBox1]&#39;).tinymce({ script_url: &#39;jscripts/tiny_mce/tiny_mce.js&#39;, theme: &#34;advanced&#34;, plugins: &#34;spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template&#34;, theme_advanced_buttons1: &#34;save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect,spellchecker&#34;, theme_advanced_buttons2: &#34;&#34;, theme_advanced_buttons3: &#34;&#34;, theme_advanced_buttons4: &#34;&#34;, theme_advanced_toolbar_location: &#34;top&#34;, theme_advanced_toolbar_align: &#34;left&#34;, theme_advanced_statusbar_location: &#34;bottom&#34;, theme_advanced_resizing: true, height: 200, skin: &#34;o2k7&#34;, skin_variant: &#34;silver&#34;, setup: function (ed) { ed.onChange.add(function (ed, l) { $(&#39;[id*=HiddenField1]&#39;).val(l.content); }); } }); } &lt;/script&gt; &lt;script type=&#34;text/javascript&#34;&gt; $(function () { LoadTinyMCE(); }); var prm = Sys.WebForms.PageRequestManager.getInstance(); prm.add_endRequest(function (sender, e) { LoadTinyMCE(); }); function LoadTinyMCE() { $(&#39;[id*=TextBox2]&#39;).tinymce({ script_url: &#39;jscripts/tiny_mce/tiny_mce.js&#39;, theme: &#34;advanced&#34;, plugins: &#34;spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template&#34;, theme_advanced_buttons1: &#34;save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect,spellchecker&#34;, theme_advanced_buttons2: &#34;&#34;, theme_advanced_buttons3: &#34;&#34;, theme_advanced_buttons4: &#34;&#34;, theme_advanced_toolbar_location: &#34;top&#34;, theme_advanced_toolbar_align: &#34;left&#34;, theme_advanced_statusbar_location: &#34;bottom&#34;, theme_advanced_resizing: true, height: 200, skin: &#34;o2k7&#34;, skin_variant: &#34;silver&#34;, setup: function (ed) { ed.onChange.add(function (ed, l) { $(&#39;[id*=HiddenField2]&#39;).val(l.content); }); } }); } &lt;/script&gt; &lt;script type=&#34;text/javascript&#34;&gt; $(function () { LoadTinyMCE(); }); var prm = Sys.WebForms.PageRequestManager.getInstance(); prm.add_endRequest(function (sender, e) { LoadTinyMCE(); }); function LoadTinyMCE() { $(&#39;[id*=TextBox3]&#39;).tinymce({ script_url: &#39;jscripts/tiny_mce/tiny_mce.js&#39;, theme: &#34;advanced&#34;, plugins: &#34;spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template&#34;, theme_advanced_buttons1: &#34;save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect,spellchecker&#34;, theme_advanced_buttons2: &#34;&#34;, theme_advanced_buttons3: &#34;&#34;, theme_advanced_buttons4: &#34;&#34;, theme_advanced_toolbar_location: &#34;top&#34;, theme_advanced_toolbar_align: &#34;left&#34;, theme_advanced_statusbar_location: &#34;bottom&#34;, theme_advanced_resizing: true, height: 200, skin: &#34;o2k7&#34;, skin_variant: &#34;silver&#34;, setup: function (ed) { ed.onChange.add(function (ed, l) { $(&#39;[id*=HiddenField3]&#39;).val(l.content); }); } }); } &lt;/script&gt; </pre> <p>&nbsp;</p> <pre class="brush: csharp">protected void Page_Load(object sender, EventArgs e) { if (ScriptManager1.IsInAsyncPostBack) { TextBox1.Text = Request.Form[HiddenField1.UniqueID]; TextBox2.Text = Request.Form[HiddenField2.UniqueID]; TextBox3.Text = Request.Form[HiddenField3.UniqueID]; } }</pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/111750/Using-Multiple-TinyMCE-Rich-TextBox-Editor-inside-AJAX-UpdatePanel-across-Partial-PostBack-in-ASPNet/http://www.aspforums.net/Threads/111750/Using-Multiple-TinyMCE-Rich-TextBox-Editor-inside-AJAX-UpdatePanel-across-Partial-PostBack-in-ASPNet/Tue, 07 Apr 2015 02:22:27 GMTUsing jQuery DateTimePicker inside FormView control in ASP.Net<p>Hi</p> <p>I saw the example here&nbsp;<a href="http://www.aspsnippets.com/Articles/DateTimePicker-in-ASP.Net-GridView-using-jQuery-DateTimePicker-Plugin.aspx">http://www.aspsnippets.com/Articles/DateTimePicker-in-ASP.Net-GridView-using-jQuery-DateTimePicker-Plugin.aspx</a>.</p> <p>&nbsp;</p> <p>These work if the textbox is not in formview. I have the textbox which is in the formview. I can't get dynDateTime() to get it working when my textbox is in formview control.</p> <p>Please help me out, I appreciate it.</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/283948/Using-jQuery-DateTimePicker-inside-FormView-control-in-ASPNet/http://www.aspforums.net/Threads/283948/Using-jQuery-DateTimePicker-inside-FormView-control-in-ASPNet/Wed, 25 Nov 2015 13:34:24 GMTusing grid in update panel<p>&nbsp;</p> <p>&nbsp;</p> <p>i have above code</p> <p>but the&nbsp; div.Visible = true;<br /> &nbsp;&nbsp; &nbsp;textbox1.Visible = true; are not visible</p> <p>secondaly the b1 click event happens only once</p> <p>if i again click the script does not get executed</p> <pre class="brush: csharp">function MouseUp(e) { document.getElementById(&#39;b1&#39;).click(); } protected void btnpb_Click(object sender, EventArgs e) { try { div.Visible = true; textbox1.Visible = true; } } &lt;asp:UpdatePanel ID=&#34;Panel1&#34; runat=&#34;server&#34;&gt; &lt;ContentTemplate&gt; &lt;asp:GridView ID=&#34;grid1&#34; runat=&#34;server&#34; &gt; &lt;/asp:GridView&gt; &lt;Triggers&gt; &lt;asp:AsyncPostBackTrigger ControlID=&#34;b1&#34; EventName=&#34;Click&#34; /&gt; &lt;/Triggers&gt; &lt;/asp:UpdatePanel&gt; &lt;br /&gt; &lt;asp:Button ID=&#34;b1&#34; runat=&#34;server&#34; Text=&#34;&#34; /&gt;</pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/111199/using-grid-in-update-panel/http://www.aspforums.net/Threads/111199/using-grid-in-update-panel/Wed, 01 Feb 2012 00:27:06 GMTUsing calender control with image button in ASP.Net<p>I am using asp.net with vb for developing a website</p> <p>I have a registration form in which i need to enter birthdate... m given an icon representing a calender and when the user click on that icon(image button) a calender should pop up and the selected date should be entered in the textbox in dat form...how will i achieve it????</p> <p>qick help appreciated...</p> <p>thank-you in advance!!!!</p>http://www.aspforums.net/Threads/209322/Using-calender-control-with-image-button-in-ASPNet/http://www.aspforums.net/Threads/209322/Using-calender-control-with-image-button-in-ASPNet/Thu, 05 Sep 2013 04:55:45 GMTUsing ASP.Net AJAX HoverMenuExtender inside GridView Control<p>I hv used datadridview to display certain info. to the user from db. A column has too long text creating sizing problem for the datagridview so i hv used ajax hovermenu extender to display (keeping the width fix) the extra text which is working too!!! but my problem is that the popup should display when i hover over that column while what i m getting now is that it displays as i hover over the gridview....</p> <p>i tried the all popup positions property but not displaying as i wanted...</p> <p>qick help is appreicated!!!</p> <p>Thank-u in advance</p> <p>&nbsp;</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/371138/Using-ASPNet-AJAX-HoverMenuExtender-inside-GridView-Control/http://www.aspforums.net/Threads/371138/Using-ASPNet-AJAX-HoverMenuExtender-inside-GridView-Control/Fri, 29 Nov 2013 00:56:59 GMTUsing ASP.Net AJAX AutoCompleteExtender in MasterPage<pre class="brush: csharp">My master page code:</pre> <pre class="brush: csharp">&lt;%@ Master Language=&#34;C#&#34; AutoEventWireup=&#34;true&#34; CodeFile=&#34;test.master.cs&#34; Inherits=&#34;test&#34; %&gt; &lt;%@ Register Assembly=&#34;AjaxControlToolkit&#34; Namespace=&#34;AjaxControlToolkit&#34; TagPrefix=&#34;asp&#34; %&gt; &lt;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&gt; &lt;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&gt; &lt;head runat=&#34;server&#34;&gt; &lt;title&gt;&lt;/title&gt; &lt;asp:ContentPlaceHolder ID=&#34;head&#34; runat=&#34;server&#34;&gt; &lt;/asp:ContentPlaceHolder&gt; &lt;/head&gt; &lt;body&gt; &lt;form id=&#34;form1&#34; runat=&#34;server&#34;&gt; &lt;div&gt; &lt;asp:ContentPlaceHolder ID=&#34;ContentPlaceHolder1&#34; runat=&#34;server&#34;&gt; &lt;asp:ToolkitScriptManager ID=&#34;ToolkitScriptManager2&#34; runat=&#34;server&#34; EnablePageMethods=&#34;true&#34;&gt; &lt;/asp:ToolkitScriptManager&gt; &lt;asp:TextBox ID=&#34;txtContactsSearch&#34; runat=&#34;server&#34;&gt;&lt;/asp:TextBox&gt; &lt;asp:AutoCompleteExtender ServiceMethod=&#34;SearchCustomers&#34; MinimumPrefixLength=&#34;2&#34; CompletionInterval=&#34;100&#34; EnableCaching=&#34;false&#34; CompletionSetCount=&#34;10&#34; TargetControlID=&#34;txtContactsSearch&#34; ID=&#34;AutoCompleteExtender1&#34; runat=&#34;server&#34; FirstRowSelected=&#34;false&#34; UseContextKey=&#34;True&#34;&gt; &lt;/asp:AutoCompleteExtender&gt; &lt;/asp:ContentPlaceHolder&gt; &lt;/div&gt; &lt;/form&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p>&nbsp;</p> <p>Cs code:</p> <p>&nbsp;</p> <pre class="brush: csharp">[System.Web.Services.WebMethodAttribute(), System.Web.Script.Services.ScriptMethodAttribute()] public static string[] SearchCustomers(string prefixText, int count, string contextKey) { //return default(string[]); string[] movies = { &#34;Star Wars&#34;, &#34;Star Trek&#34;, &#34;Superman&#34;, &#34;Memento&#34;, &#34;Shrek&#34;, &#34;Shrek II&#34; }; return (from m in movies where m.StartsWith(prefixText, StringComparison.CurrentCultureIgnoreCase) select m).Take(count).ToArray(); }</pre> <p>&nbsp;</p> <p>Plese help me out.. Where am i going wrong?</p>http://www.aspforums.net/Threads/124615/Using-ASPNet-AJAX-AutoCompleteExtender-in-MasterPage/http://www.aspforums.net/Threads/124615/Using-ASPNet-AJAX-AutoCompleteExtender-in-MasterPage/Fri, 12 Apr 2013 01:50:35 GMT