Category - Tips
Results 21 - 40 of 51
30 Jul 2015 30 Jul 2015 0 Comments  43199 Views
Here Mudassar Ahmed Khan has explained with an example, how to prevent / disable / hide adding of New Row to DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.
This article will explain two ways to prevent / disable / hide addition (creation) of New Row in DataGridView.
1. Using Properties Window.
2. Using Code.
27 Jul 2015 27 Jul 2015 0 Comments  28860 Views
Here Mudassar Ahmed Khan has explained with an example, how to Call (Trigger) Button Click event on Enter Key Press in ASP.Net.
There is no server side key press event for an ASP.Net TextBox, hence using a Panel and its Default Button trick we can achieve the same.
04 Jul 2015 04 Jul 2015 0 Comments  82274 Views
Here Mudassar Ahmed Khan has explained how to add (insert) Default Item (Initial Value) to DataBound DropDownList populated from Database in ASP.Net Code Behind using C# and VB.Net.
Generally we want to have a default selected item such as Please Select. This article will explain how to add such default item in Code Behind when DropDownList is populated from database.
04 Jul 2015 04 Jul 2015 1 Comments  25898 Views
Here Mudassar Ahmed Khan has explained with an example, how to hide (close) ASP.Net AJAX ModalPopupExtender Modal Popup when clicked outside i.e. clicking any region on the page outside the Modal Popup.
The ASP.Net AJAX ModalPopupExtender Modal Popup will be hidden using JavaScript by attaching click event handler to the Modal Background element.
01 Jul 2015 01 Jul 2015 0 Comments  20199 Views
Here Mudassar Ahmed Khan has explained with an example, how to use and set multiple TargetControlIDs to one ASP.Net AJAX ModalPopupExtender Popup
ASP.Net AJAX ModalPopupExtender Modal Popup can be shown using JavaScript using the BehaviorID property and hence the same Modal Popup is shown using multiple Buttons without setting the Button’s ID to the TargetControlID property.
24 Jun 2015 24 Jun 2015 3 Comments  105816 Views
Here Mudassar Ahmed Khan has explained with an example, how to remove (delete) Last Blank (Empty) Row from DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.
This article will explain two ways to remove (delete) Last Blank (Empty) Row from DataGridView.
1. Using Properties Window.
2. Using Code.
01 May 2015 01 May 2015 0 Comments  43024 Views
Here Mudassar Ahmed Khan has explained a tutorial with example on how to use HTML5 History API pushState function in JavaScript and jQuery.
HTML5 History API allows browsers to modify the URL without reloading or refreshing the page using pushState function.
04 Mar 2015 04 Mar 2015 0 Comments  33667 Views
Here Mudassar Ahmed Khan has explained how to add (insert) Default Item (Initial Value) to DataBound DropDownList populated from Database in ASP.Net using C# and VB.Net.

Generally we want to have a default selected item such as Please Select. This article will explain how to add such default item when DropDownList is populated from database.
17 Feb 2015 04 Jun 2022 14 Comments  222860 Views
Here Mudassar Khan has explained how to install AJAX Control Toolkit in ToolBox of Visual Studio.

Supported versions: 2008, 2010, 2012, 2013, 2015, 2017, 2019, 2022 and higher.

AJAX Control Toolkit Library is not integrated in Visual Studio by default and hence I will explain a permanent way to add AJAX Control Toolkit controls to ToolBox in Visual Studio 2008, 2010, 2012, 2013, 2015, 2017, 2019, 2022 and higher versions.
09 Dec 2014 09 Dec 2014 10 Comments  62350 Views
Here Mudassar Ahmed Khan has explained how to hide (disable) specific export option i.e. Word, Excel or PDF from the export button DropDown in RDLC (Local SSRS) ReportViewer control.

By default the RDLC (Local SSRS) ReportViewer control displays all the three export options i.e. Word, Excel or PDF and hence in order to hide a specific export option, one has to make use of Reflection.
02 Dec 2014 07 Dec 2020 8 Comments  100238 Views
Here Mudassar Ahmed Khan explained how to pass comma separated (delimited) values as Parameter to Stored Procedure in SQL Server.

The comma separated (delimited) values will be split into Table rows and will be used for querying inside the SQL Server Stored Procedure.
25 Nov 2014 25 Nov 2014 8 Comments  172505 Views
Here Mudassar Ahmed Khan has explained how to change the URL in browser without reloading or refreshing the page using HTML5 History API in JavaScript and jQuery.

HTML5 History API allows browsers to modify the URL without reloading or refreshing the page using pushState function.
01 Nov 2014 01 Nov 2014 0 Comments  99086 Views
ASP.Net  HTML  Tips
Here Mudassar Ahmed Khan has explained how to get the selected value of HTML Select DropDownList in ASP.Net code behind using C# and VB.Net.

There are two ways we can access the HTML Select DropDownList selected value in ASP.Net code behind
1. Using Request Form collection and name property.
2. Using runat = “server” property.
31 Oct 2014 31 Oct 2014 5 Comments  301254 Views
ASP.Net  HTML  Tips
Here Mudassar Ahmed Khan has explained how to get the value of the HTML Input TextBox in ASP.Net code behind using C# and VB.Net.

There are two ways we can access the HTML Input TextBox value in ASP.Net code behind
1. Using Request Form collection and name property.
2. Using runat = “server” property.
18 Sep 2014 07 Dec 2020 3 Comments  73740 Views
Here Mudassar Ahmed Khan explained how to insert comma separated / delimited values in a table in SQL Server using Split function.
18 Sep 2014 07 Dec 2020 5 Comments  198347 Views
Here Mudassar Ahmed Khan explained how to split and convert a comma separated / delimited string to a table in SQL Server using Split function.
08 Sep 2014 07 Dec 2020 4 Comments  325988 Views
Here Mudassar Ahmed Khan has shared with an example, a function to split a string in SQL Server 2005, 2008 and 2012 versions. The string containing words or letters separated (delimited) by comma will be split into Table values.

He has also explained how to use the Split function to split a string in a SQL Query or Stored Procedures in SQL Server 2005, 2008 and 2012 versions.
27 Jul 2014 27 Jul 2014 2 Comments  138204 Views
Here Mudassar Ahmed Khan has explained how to find and access a control such as TextBox, Button, DropDownList, RadioButton, etc. placed inside a UserControl or in other words WebUserControl (ASCX) from Parent Page (ASPX) using JavaScript in ASP.Net.

When a Control is placed inside a UserControl its ID changes when it is rendered as an HTML element and hence we need to first find the control and then determine its ClientID in order to access the control using JavaScript.
18 Jul 2014 18 Jul 2014 0 Comments  70166 Views
Here Mudassar Ahmed Khan how to add multiple line breaks (<BR />) to JavaScript Alert message box.
02 Jul 2014 02 Jul 2014 6 Comments  119457 Views
Here Mudassar Ahmed Khan has explained how to automatically redirect to another page after some delay of say 5 or 10 seconds in ASP.Net.

There are situations when you want to redirect the user to a certain page after certain amount of time interval in other words delayed redirection your asp.net web application. In that case you can take help of the Refresh Meta tags.

There are several ways of adding Meta tags to the page, I am going to add a Meta tag that will redirect automatically to another page after delay of 5 seconds.
Results 21 - 40 of 51