Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

Asp.net Create/generate thumbnails from images

May 2, 2011 28 comments
Introduction

Here I will explain how to generate thumbnails dynamically from uploaded images and how to bind thumbnails to datalist using asp.net.

Description:

In previous post I explained clearly how to bind images from folder to datalist . Now I will explain how to generate thumbnails from uploaded images and how to bind those thumbnails to datalist using asp.net. In website development sometimes we get requirement like generating thumbnails from images without losing quality of image and it’s same like original image. For that first create one new website after that right click on that website select New Folder give name as Images because here I am using same name if you want to use another name you need to change the name in code also. After completion of adding Images folder to your website Design your aspx page like this 

Microsoft Community Contributor Award - 2011 or I got MCC (Microsoft Community Contributor Award) Award

May 1, 2011 13 comments
Today I am writing this post to share my happiness with you guys because I got MCC (Microsoft Community Contributor) Award from Microsoft.

As usual I opened my hotmail and tried to check my mails during verifying mails I found one mail is from Microsoft I was surprised because in that mail they mentioned like this 

how to bind or display images from folder to datalist using asp.net or how to insert images into folder and display images from folder to datalist using asp.net

42 comments
Introduction

Here I will explain how insert images into folder and how to bind the images to datalist using asp.net.

Description:

In previous post I explained clearly how to bind images from folder to gridview . Now I will explain how to save images into folder and how we can bind that images to datalist using asp.net. It’s very easy to store images in folder and binding that images to datalist. For that first create one new website after that right click on that website select New Folder give name as Images because here I am using same name if you want to use another name you need to change the name in code also after completion of adding Images folder to your website Design your aspx page like this

Ajax Collapsible Panel Control sample or how to use Ajax Collapsible Panel control using asp.net

Apr 19, 2011 14 comments
Introduction:

Here I will explain how to use the Ajax Collapsible Panel in asp.net.


Description:
In Previous post I explained clearly how to use Ajax Accordion menu .Now I will explain how to use the Ajax Collapsible panel control in asp.net. In so many websites we will see some of collapsible panels like if we click on down arrow panel will expand automatically and if we click on up arrow that panel will collapse automatically this type of functionality we can achieve by using ajax collapsible panel control.

how to use multiple web.config files in asp.net application or working with more than one web.config file in asp.net application

Apr 18, 2011 20 comments

Introduction:

Here I will explain how to use multiple web.config files in single application using asp.net

Description:

I attended one interview at that time they asked one question that is it possible to use multiple web.config files in single asp.net application? For that question answer is Yes we can use multiple web.config files in single web application but how? By creating web.config file in sub root folders we can use multiple web.config files in our application but each folder should contains only one web.config file. Here I will explain step by step how we can use multiple web.config files in our application.

Ajax Accordion Control Example or how to use ajax accordion control in asp.net or working with Ajax Accordion Control

Apr 16, 2011 23 comments
Introduction:

Here I will explain how to use the Ajax Accordion control in asp.net.
Description:
In Previous post I explained clearly how to show the progressbar during check the username availability using asp.net .Now I will explain how to use the Accordion control in asp.net. Accordion control is used to bind multiple panes and display one pane at a time. This control is like having multiple collapsiblepanels where only one can be opened at a time. To use Accordion control in our code we need to design code in certain format like below

Limit number characters in asp.net multiline textbox using JavaScript

Apr 13, 2011 9 comments

Introduction:

Here I will explain how to Show or limit the number of characters length in Multilne textbox and how to remove vertical scrollbar in Multiline textbox using asp.net

Description:

One day I found one interesting thing in one of the sms sending site in that they provide one message textbox that is allowing only 140 characters to send message and they are displaying number characters left in the messagebox to type and if we are typing text in messagebox they are displaying the percentage graph also how much percentage of characters has entered in message textbox out of 140 characters. At that time I decided to write the post based on that here I designed page with one textbox that has a multiline property and one label to display the number of characters left to type in textbox and used tables to display the percentage graphs based on text typed in textbox

 First design your aspx page like this

how to export gridview data to PDF using asp.net or Export gridview data to PDF using asp.net

Apr 12, 2011 158 comments
Introduction:

Here I will explain how to export gridview data to PDF using asp.net.


Description:

In my previous articles I explained clearly how to export gridview data to excel or word and how to export gridview data to CSV file . Now I will explain how to export gridview data to PDF using asp.net. In asp.net we don’t have direct feature to export gridview data to PDF for that reason here I am using third party library ITextSharp reference. The dll is available here ITextSharp first download dll from this site after that create one new website in visual studio and add ITextsharp dll reference to newly created website after that design aspx page like this 

AjaxDragpanelExtender Example or how to show the login page with popup using modalpopupextender or how to use AjaxDragPanelExtender in asp.net

Apr 7, 2011 6 comments

Introduction:

Here I will explain how to show the login page with modal popup and how to use Ajax dragpanelextender using asp.net

Description:

I saw one website that contains login button if I click on that login button login page opens with popup and we can drag and drop that login panel anywhere on that popup for looking it’s very nice at that time I decided to write post to implement login page with popup and draggable. Previosuly I explained clearly lightbox effect for login page. In that post we can show our login page with popup. Now we can see how to show login page with popup and dragble on modalpopup to implement this I am using
AjaxModalPopupExtender and AjaxDragPanelExtender . i already explained clearly about how to show the progressbar during postback using AjaxModalPopupExtender. Now I will explain about AjaxDragpanelExtender.

how to export gridview data to CSV file or Export Gridview data to CSV file using asp.net

Apr 3, 2011 15 comments
Introduction:

Here I will explain how to export gridview data to CSV or text document using asp.net.


Description:

I have one gridview that has filled with user details now I need to export gridview data to CSV file or text file. First we need to learn what is CSV file? CSV file is a text based file in which data are separated by comma and it can be opened by Excel. Each row of data in CSV file separated with commas.

RegisterForEventValidation can only be called during Render();

Apr 2, 2011 37 comments

Introduction:

Here I will explain how to solve the problem RegisterForEventValidation can only be called during Render(); during export of gridview to excel or word or csv using asp.net.

Description:

In previous post I explained clearly how to show export gridview data to excel,word,notepad and csv using asp.net Export gridview data to Excel,Word . During export a gridview data to excel, word, notepad or csv I got error like 

Export gridview data to Excel/word document in asp.net C#

80 comments
Introduction:

Here I will explain how to export gridview to Word or Excel document using asp.net in c#.


Description:

I have one gridview that has filled with user details now I need to export gridview data to word or excel document based on selection. To implement this functionality first we need to design aspx page like this 

how to show the progressbar during check the username availability or how to implement username check availabilty like yahoo using asp.net ajax

Mar 31, 2011 24 comments
Introduction:

Here I will explain how to show the progressbar during check the username availability using asp.net Ajax or 
how to implement username check availabilty like yahoo using asp.net ajax.

Description:
In Previous post I explained clearly how to check the username availability using asp.net ajax Now I will explain how to show the progressbar during check the username from database just like checking the username in yahoo if you observe yahoo registration page after enter username and click on check button at that time we will see progress image during get the data from database after that result will display now we will implement the same thing in our application.

how to check username availability using asp.net ajax or check username availability in asp.net using ajax

34 comments
Introduction:

Here I will explain how to check the username availability using asp.net Ajax .


Description:
I designed one registration page in that user will enter userdetails like username, password etc at the time of enter username in textbox I need to validate the username whether that username available or already taken by any other user for that I am checking username availability in database based on username. Here I am getting one problem that is after enter username in textbox I am getting the data from database and showing the result on page like whether that username available or not but at that time page gets postback and losing the entered values in textboxes for that reason I used ajax concept to check username availability.  

Control 'gvdetails' of type 'GridView' must be placed inside a form tag with runat=server

Mar 30, 2011 27 comments
Introduction:

Here I will explain how to solve the problem
Control 'gvdetails' of type 'GridView' must be placed inside a form tag with runat=server during export of gridview to excel or word or csv using asp.net.

Description:

In previous post I explained clearly how to show export gridview data to excel,word,notepad and csv using asp.net Export gridview data to Excel,Word . During export a gridview to excel, word, notepad or csv I got error like 

Change the style of ajax TabContainer in asp.net

Mar 28, 2011 7 comments
Introduction:

Here I will explain how to show the use Ajax Tab container in asp.net effectively and how to change appearance of TabContainer by applying CSS styles in asp.net.

Description:


I have one web page that page contains lot of information about user that contains user profile details, job details and new user registration details because of that huge controls and data on webpage I face problem to maintain the webpage effectively. At that time I decided to use Ajax Tab container by using this container we can use web page space effectively. Tab container contains set of tabs that can be used to organize the page content. Tab Container is a host for number of TabPanels. Each TabPanel defines its HeaderText or HeaderTemplate as well as a ContentTemplate that defines its content. One more thing don't hesitate to learn the post completely after seen the length of the post nothing is there just design only the page contains 3 TabPanels that's why code is more for looking it's very easy to work with TabContainer

Asp.net gridview custom paging example like Numeric, first, previous, next and last

Mar 26, 2011 13 comments
Introduction:

Here I will explain how to show the gridview with custom paging like numeric first, previous, next, last in asp.net

Description:

In previous post I explained
gridview with different types of paging with available paging options in gridview but now if we want to display the gridview with custom paging like Numeric, first, previous, next and last for that we need to write some code to show the gridview paging like what we except and here I used gridview with pagertemplate to create the paging in gridview effectively for that create new website and design the aspx page like this

© 2015 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.