| Back to Questions Page |
| Question |
What is the difference between User Controls and Master Pages |
Rank |
Answer Posted By |
|
Interview Question Submitted By :: Guest |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer |
Both are code reduce features and reusability Purpose.When
we create Masterpage that is common to overall
project,whereas user controls these r used when we have
requirement on specific criteria.
Master page ex: INBOX,SPAM,DRAFT,TRASH etc in YAHOO WEBSITE  |
2 | Venkatesh |
| |
| |
| Answer |
Master pages and user controils are two different concepts.
Master pages are used to provide the consistent layout and
common behaviour for multiple pages in your
applications.then u can add the Contenetplaceholder to add
child pages custom contenet.
User Controls:Sometimes u need the functionality in ur web
pages which is not possible using the Built-In Web server
controls then user can create his own controls called user
controls using asp.net builtin controls.User controlsn are
those with .aspx extensions and u can share it in the
application.  |
3 | Vdk |
| |
| |
| Answer |
Master has a conteact plceholder where u can put child page
in this cph.
when user control is uses with in page . u can not use any
page in user control  |
0 | Jiten |
| |
| |
|
|
| |
| Answer |
i think you can aslo page apply used with master page...
but control is only providing the add control not page...  |
0 | Suresh Kumar |
| |
| |
| Answer |
I Think Both are same but key difference is that , we can
not use mater page in user control................  |
0 | Surender Sardana |
| |
| |
| Answer |
master pages can not be cached.
user controls can be cached .  |
0 | Ashish |
| |
| |
| Answer |
Some times Javascript function may not work in master pages.
but in User controls, v can do server side code as well as
java script code.  |
0 | Sri29 |
| |
| |
| Question |
What are the major differences between asp.net1.1 and
asp.net 2.0? |
Rank |
Answer Posted By |
|
Interview Question Submitted By :: Gudikadi.srinu@gmail.com |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer |
Benefits of ASP.NET 2.0 include:
1) A wide array of new controls, such as GridView control,
MultiView, Wizard and FileUpload.
2) Superior separation of design and content, enabling
developers and Web designers to work together.
3) A new model for compiling and distributing applications.
4) Customization with Web Parts.
Bug in ASP.NET 2.0:-
If you have a control on a page that is marked Read-Only
and EnableViewState is set to false on the Page, the
ReadOnly value will no longer post back in ASP.NET 2.0 -
the value gets lost. This even though the value is actually
returned in the POST buffer.
This behavior is also different than 1.1 which (correctly I
say) posted back the READONLY value.  |
0 | Sabari_bec |
| |
| |
| Answer |
Master Pages  |
0 | A [TCS] |
| |
| |
| Answer |
Additional things in ASP.NET 2.0
1. Partial Class
2. Generics
3. New control like grid view,masterpage
4. More event in Page Life cycle
5. Incorporated Classic ASP style save functionality, no
needs to compile each time for small modification  |
0 | Rameshwar Gaikwad [TCS] |
| |
| |
| Answer |
Asp.net 2.0 enhanced with many new features.
* Partial Classes
* Master pages
* Skins and Themes
* Roles and MemberProfiles
* Generics
* Added many new server contols like
GridView,DetilsView,FileUpload etc..,
* Web Personalization - Web Parts
* New Folders lime App_Browsers,App_Code,etc..,  |
0 | Tiger Kumar [TCS] |
| |
| |
| Answer |
In asp.net1.1 IIS should be installed by us.But in asp.net
when install asp.net IIS automatically will be installed  |
0 | Saravanan [TCS] |
| |
| |
| Answer |
In ASP.NET user have to install the IIS. But In case of
ASP.NET 2.0 IIS is coming with the installation process.
another facility is the master page which is in ASP.NET 2.o
But not in ASP.net 1.1.  |
0 | Tanmoy [TCS] |
| |
| |
|
| |
|
Back to Questions Page |