Tuesday, 30 September 2014

How to disable/Prevent/Don’t allow the User from Entering HTML tags in Textbox/TextArea

Hi Friends,in this article I will explain about How to disable/Prevent/Don’t allow the User from Entering HTML tags in Textbox/TextArea.
When you enter html tags as shown below figure and click on submit button 

Friday, 26 September 2014

Custom paging for GridView using DataList in ASP.NET using C#/VB.NET to increase SQL perfomance

Hi friends,in this article I will explain about How to do Custom paging for GridView using DataList in ASP.NET using C#/VB.NET to increase SQL perfomance
When there are bulk records to show in the GridView, developers often use paging to distribute the complete records with multiple pages to show the records in the GridView. This means that, when you change the page index, the GridView is bound everytime  from the database to show the next records.

How to Send (Pass) Data (Values) from one page to another using jQuery with QueryString

Hi friends,in this article I will explain about How to Send (Pass) Data (Values) from one page to another using jQuery with QueryString
The page PassDataJQueryQueryString.aspx (Source Page), this is the page from where we want to pass (send) data. This page consists of an TextBox for Name ,TextBox for Qualification and DropDownList for Technology whose values we need to pass (send) to the other page(DestinationPage.aspx).

Tuesday, 23 September 2014

Validate (check) File Size before upload using jQuery in ASP.NET

Hi friends,in this article I will explain about How to validate (check) File Size before upload using jQuery in ASP.NET.
The below code will help you to get the  File Size before upload using jQuery in ASP.NET and restrict or validation for the max file size.

Monday, 22 September 2014

Export GridView selected rows to Excel or word in ASP.NET using C#/VB.NET

Hi friends,in this I will explain about how to Export GridView selected rows to Excel or word in ASP.NET using C#/VB.NET
To explain further about how to export selected row data from asp.net gridview, we need to create database table to read data and bind retrieved resultset to gridview, so simply execute following script to sql query editor to create database table and then add few records manually or download complete example code with script at the end of the page.

Sunday, 21 September 2014

Preview image before upload using FileUpload control and jQuery in ASP.NET

Hi friends,in this article I will explain about how to preview image before upload using FileUpload control and jQuery in ASP.NET
                    While for the browsers that support HTML5 i.e. Internet Explorer 10 and 11+, Mozilla FireFox, Google Chrome and Opera, the image preview is displayed usingHTML5 FileReader API.

Friday, 19 September 2014

Disable Button Double Click to prevent multiple postbacks in ASP.NET using C#/VB.NET Or Prevent button double-click

Hi friends,in this article I will explain about How to Disable Button Double Click to prevent multiple postbacks in ASP.NET using C#/VB.NET  Or Prevent button double-click.
Most of the times we wish to disable the asp.net button control just after the first click so that we may prevent multiple postbacks.

Wednesday, 17 September 2014

URL Routing ASP.NET using C#/VB.NET or How to Implement URL Routing in ASP.Net Web Forms 4.0

Hi friends,in this article I will explain about URL Routing ASP.NET using C#/VB.NET or How to Implement URL Routing in ASP.Net Web Forms 4.0
URL Routing is supported in .Net 3.5 SP1 or higher frameworks, if you want to use it in Visual Studio 2008 you will need to install .Net Framework 3.5 Service Pack 1.

Tuesday, 16 September 2014

How to Capture Screenshot (Snapshot) Image of Website (Web Page) in ASP.Net using C# and VB.Net

Hi friends,in this article I will explain about How to Capture Screenshot (Snapshot) Image of Website (Web Page) in ASP.Net using C# and VB.Net
To capture the screenshot (snapshot) of a Website web page, I am making use of WebBrowser control of Windows Forms Application.

Friday, 5 September 2014

How to display SubTotal and Grand Total in ASP.Net GridView using C#/VB.NET

Hi friends,in this article i will explain about How to display SubTotal and Grand Total in ASP.Net GridView using c#/VB.NET.

I already explained in the previous articles about How to Edit GridView using BoundField Column in ASP.Net using C#/VB.NETCode First Approach using Entity Framework 4.0 Sample example and How to create PDF document in ASP.NET with C#/VB.NET using iTextSharp

The records are divided into Groups and then SubTotal is calculated for each Group and then displayed using a dynamic Row in GridView.

Thursday, 4 September 2014

How to Edit GridView using BoundField Column in ASP.Net using C#/VB.NET

Hi friends,in this article I will explain about How to Edit GridView using BoundField Column in ASP.Net using C#/VB.NET.
I already explained in the previous articles about Code First Approach using Entity Framework 4.0 Sample exampleHow to create PDF document in ASP.NET with C#/VB.NET using iTextSharp and Telerik RadGrid Grouping -Drag and Drop a column header to group by that column in ASP.NET using C#/VB.NET

When the GridView Row enters Edit Mode, the BoundField column gets converted to a TextBox dynamically to allow user modify the values.

© 2012-2014 Aspdotnet-Kishore.blogspot.com. All Rights Reserved.
The content is copyrighted to Kishore and may not be reproduced on other websites without permission from the owner.