Category - ASP.Net
Results 171 - 180 of 646
18 Aug 2013
10 Comments   7308 Views
Here Mudassar Ahmed Khan has explained a tutorial, how to login with Twitter account in ASP.Net Website using the Twitter Login Button and Free ASPSnippets Twitter API.
18 Aug 2013
1 Comments   31119 Views
Here Mudassar Ahmed Khan has explained, how to dynamically (programmatically) at runtime create a DataTable using C# or VB.Net and then bind it to GridView in ASP.Net.

First a dynamic DataTable object is created and its schema (Table structure and Columns) is defined programmatically. Once the columns are defined, then rows (records) are added to the dynamically generated DataTable.

Once the dynamic DataTable is populated with records, it is bound to an ASP.Net GridView control.
18 Aug 2013
2 Comments   7362 Views
ASP.Net   CSS   HTML
Here Mudassar Ahmed Khan has explained, how to change the background color style of TextBox on focus i.e. Highlight TextBox on focus and set it back to default on blur

There is absolutely no need of using jQuery, JavaScript or ASP.Net scripts for this purpose as the solution provided explains how to use pure CSS styles to change the background color style of TextBox on focus.

Since CSS is involved we can easily Highlight TextBox by change its Border style or color too instead of changing the Background color style.

Advantage of using CSS is that it will work for all technologies i.e. ASP.Net, HTML, PHP, JSP, etc. without writing a single line of jQuery or JavaScript and also is cross browser compatible.
18 Aug 2013
1 Comments   10565 Views
Here Mudassar Ahmed Khan has explained, how to dynamically add meta tags in ASP.Net Website.

The dynamic meta tags will be populated from database and each meta tag will be added dynamically to head section of page.
17 Aug 2013
0 Comments   11745 Views
Here Mudassar Ahmed Khan has explained and provided a jQuery code snippet to disable or prevent CUT, COPY, PASTE and DROP options.

The script stops user from performing CUT, COPY, PASTE and DROP operations in HTML TextBox, HTML TextArea, ASP.Net TextBox and ASP.Net Multiline TextBox.
17 Aug 2013
0 Comments   11356 Views
Here Mudassar Ahmed Khan has explained with an example, how to use jQuery Accordion plugin in ASP.Net.

This article explains how we can populate jQuery Accordion plugin from database with the help of Repeater control.
17 Aug 2013
0 Comments   19139 Views
Here Mudassar Ahmed Khan has explained with an example, how to populate and display Google Maps V3 with Multiple Markers using the Latitude and Longitude stored in database in ASP.Net Website.
17 Aug 2013
0 Comments   8841 Views
In this article Mudassar Ahmed Khan has explained with an example, how to perform asynchronous file upload in ASP.Net using the AsyncFileUpload control in Ajax Control Toolkit.

This example explains the new AsyncFileUpload control, one can upload files asynchronously to server without postback or reloading the page.
07 Aug 2013
1 Comments   29624 Views
Here Mudassar Ahmed Khan has explained, how to send email asynchronously in background using Thread in ASP.Net.

The need of sending asynchronous email arises since email sending process takes significant amount of time to execute and to keep the users waiting until the email is being sent is not acceptable. Thus this article will explain how an email sending process can be executed in background Thread and thus removes the latency involved in the email sending process.
07 Aug 2013
5 Comments   21003 Views
Here Mudassar Ahmed Khan has explained, how to send email with attachment in ASP.Net.

The file to be send as attachment along with mail will be uploaded using FileUpload control and will be dynamically added as attachment in the MailMessage class object without saving in any folder on disk.

For this example, for sending emails Gmail SMTP Mail Server will be used. To send email with Gmail SMTP Server, you will need to use an email address and password of a valid Gmail account and along with that you will need the Gmail SMTP Mail Server settings.