difference between webForm,webpage and Webparts

Posted by Bageshkumarbagi under ASP.NET on 10/10/2012 | Points: 10 | Views : 6754 | Status : [Member] | Replies : 3
hi,
What is the basic difference between WebPage,WebForm and WebParts in Asp.net and where we use?

Thanks,
Bagesh Kumar Singh
Mark as answer if you have been satisfied



Responses

Posted by: Ranjeet_8 on: 10/10/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
The difference is conceptual. "Webpage " is the page itself, with the HTML or XHTML code itself along with all the style sheets, browser scripts, images and so forth.
"Webform " means the input and associated elements inside a <form> tag when talking about X/HTML coding in general, or the layout and design of page elements when talking about ASP.Net and Silverlight. This second context is to make a distinction with "Windows forms", which is the layout and design of Windows forms.
"Web parts " are components that have some predefined functionality and they can be embedded in any web page. User can change the appearance and data related parameters of all web parts independently.
Advantages of Web Parts
.Web Parts facilitate personalization of page content. They let the users to move or hide the Web Parts and add new Web Parts changing the page layout.
.Web Parts let the user to export or import Web Parts settings for use in other pages.
.Web Parts can work in unison with ASP.NET role-based web access model. Each Web Part can be configured to be visible or hidden for any role.
.Web Parts can share data with each other.


Bageshkumarbagi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ranjeet_8 on: 10/10/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
Hi... @Bageshkumarbagi
if above post helps u please Mark As Answer

Bageshkumarbagi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Pgayath on: 10/10/2012 [Member] Starter | Points: 25

Up
0
Down
Bageshkumarbagi,

A good explanation on the below link
http://stackoverflow.com/questions/6150743/asp-net-web-forms-and-asp-net-web-pages

Thanks and Regards,
Gayathri P

Bageshkumarbagi, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response