.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> ASP.Net >> Post New Question Subscribe to Interview Questions

What is XHTML? Are ASP.NET Pages compliant with XHTML?

Posted By :Gowthammanju     Posted Date :June 30, 2011    Points :40   Category :ASP.Net 
In simple words, XHTML is a stricter and cleaner version of HTML. XHTML stands for EXtensible Hypertext Markup Language and is a W3C Recommendation.

Yes, ASP.NET 2.0 Pages are XHTML compliant. However the freedom has been given to the user to include the appropriate document type declaration.

You can also find related Interview Question to What is XHTML? Are ASP.NET Pages compliant with XHTML?  below: 

What is the difference between html and xhtml?

  
HTML with predefined guidelines for standarization, is called XHTML. (More...)

How xhtml is related to ASP.Net?

  
When ASP.Net makes the output of ASP.Net pages, those outputs are in xhtml. (More...)

Do I have to use one programming language for all my Web pages in .NET?

  
No. Each page can be written in a different programming language if you want, even in the same application. If you are creating source code files and putting them in the \App_Code folder to be compiled at run time, all the code in must be in the same language. However, you can create subfolders in the \App_Code folder and use the subfolders to store components written in different programming languages. (More...)

Can I add more than one .xaml pages in silverlight application?

  
Yes, you can have multiple .xaml files in a single project.

In the App.xaml, in the method Application_Startup you can choose, which page you want to

initially display. (More...)

Is Multiple Pages possible In Single asp.net Page?

  
We can achieve this in simple way by using FrameSet .... (More...)

How to get values across multiple pages using ViewState?

  
Ans. In page1.aspx

button_1click envent
{
ViewState["name"] = txtTest.Text;

Server.Transfer("page2.aspx");

}

In page2.aspx

In page_load
{

Page obj= this.PreviousPage;

TextBox txtNewTest = (TextBox)obj.FindControl("txtTest");

string sDisplay = txtNewTest.Text.ToString();

Response.Write(sDisplay);

}

(More...)

Which are default master pages in Sharepoint 2010?

  
1. v4.master - This is default master page.
2. default.master - this is used to support the 2007 user interface
3. minimal.master
4. simple.master- it is used for accessdenied.aspx, confirmation.aspx, error.aspx, login.aspx, reqacc.aspx, signout.aspx & webdeleted.aspx pages. (More...)

what is the important change in web.config when we can use Allow server Side Code in Pages?

  
For Allow server side scipt / Inline code in server pages, add this below tag In web.config.









(More...)

What are Application Pages in SharePoint?

  

Ans. Unlike site pages (for example, default.aspx), a custom application page is deployed once per Web server and cannot be customized on a site-by-site basis. Application pages are based in the virtual _layouts directory. In addition, they are compiled into a single assembly DLL.
A good example of an Application Page is the default Site Settings page: every site has one, and it's not customizable on a per site basis (although the contents can be different for sites).
With application pages, you can also add inline code. With site pages, you cannot add inline code. (More...)


Q. What are Application Pages in SharePoint?

  

Ans : Unlike site pages (for example, default.aspx), a custom application page is deployed once per Web server and cannot be customized on a site-by-site basis. Application pages are based in the virtual _layouts directory. In addition, they are compiled into a single assembly DLL.A good example of an Application Page is the default Site Settings page: every site has one, and it's not customizable on a per site basis (although the contents can be different for sites). With application pages, you can also add inline code. With site pages, you cannot add inline code.

Typically, you link custom application pages to application.master, the master page file that is used by the default application pages in Windows SharePoint Services. You should also write application pages to inherit from a base class defined inside the Microsoft.SharePoint assembly named LayoutsPageBase.


(More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend