Saturday, October 13, 2012

Calling ServerSide Method using Jquery in asp.Net and C#

As the title says we can call Server side methods from client side using Jquery. But in this methods You cannot use Server Controls in that method.

Click Here  to see the link and how it works.

In the above link i used to display the images after uploading with Asynchronous File UploadControl. .

Tuesday, October 9, 2012

Asynchronous File UploadControl To Display Thumbnail Images After Uploading

Previously in This Post Showed how to use Asynchronous File UploadControl to upload images.
Now i will show how to display the uploaded Image in Thumbnail.

OutPut :



Sunday, October 7, 2012

Important Plugins For .Net Developers

Here i will some of the important Applications(Plugins for VS) needed for .Net Developers .
Some Plugins may be Free and others need to be purchased.

Important Plugins for Visual-studio 2008/2010/2012



Plug-in Name
VS 2008/2010
Trail / FREE
Web URL




TortoiseSVN
Not for VS
Free
http://tortoisesvn.net/downloads.html
PowerTools
2010
Free
http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef
PowerCommands2008
2008
Free
http://archive.msdn.microsoft.com/PowerCommands
PowerCommands2010
2010
Free
http://visualstudiogallery.msdn.microsoft.com/e5f41ad9-4edc-4912-bca3-91147db95b99
VS Power Commands
2010
Free
http://visualstudiogallery.msdn.microsoft.com/e5f41ad9-4edc-4912-bca3-91147db95b99
DevExpress
2008/2010
Trail
www.devexpress.com/
Telerik
2008/2010
Trail
www.telerik.com/



If you know more plugins please share with Comments.

Wednesday, October 3, 2012

Sunday, September 30, 2012

Three-Tire architecture in asp.net Or Windows

Here i will explain How to create Three-tire Architecture in .Net using C#. Here i am not going to show how to use connection string from web.config because, Previously i showed how to use Connection String in Three-Tire architecture from web.config file in this POST.

In this post i am using ASP.Net for my convenience. In realtime also most of the Developers use ASP.Net only.

Here we have 3 projects
  • UI Validation (ASP.Net)
  • BLL (Business Logic Layer)
  • DAL (Data Access Layer)
  1. Create a ASP.Net Project and name it as u like. in my case (ThreeTire) -- UI
  2. In the SolutionExplorer Rightclick on the project u created (ASP.Net) and add Class Project and Name it as U like, in my case (ThreeTire.BLL) -- BLL
  3. Again In the SolutionExplorer Rightclick on the project u created (ASP.Net) and add another Class Project and Name it as U like, in my case (ThreeTire.DAL) -- DAL
Up-to Now  we created 3 projects. Now add reference to one another.

  • First RightClick on the ThreeTire.BLL and add reference of ThreeTire.DAL
  • In the Same way RightClick on the ThreeTire (ASP.Net) project and add reference of ThreeTire.BLL
 
 

Tuesday, September 25, 2012

Wednesday, September 19, 2012

Check / UnCheck Gridview page / All Pages CheckBoxes using Jquery in ASP.Net and c#.Net

In the previous post Check / UnCheck Gridview page CheckBoxes using Jquery in ASP.Net which checks only current page checkboxes of the gridview using Jquery and looses checkbox state when the gridview page was changed.

Here i will show how to check all the check boxes using c#.Net and it maintains checkbox state when gridpages are changed.


ASPX Page :