Académique Documents
Professionnel Documents
Culture Documents
What is HTML5..? Do you think it will replace other technologies like Silverlight or flash
Understanding of Jquery
Rate yourself in
- UI Design
- HTML
- CSS
- Any other frontend language – PHP, .net .etc
1. By setting the properties margin-left and margin-right to auto and width to some
explicit value:
In this case, the left and right margins will each be four ems wide, since they equally split
up the eight ems left over from (30em - 22em). Note that it was not necessary to set an
explicit width for the BODY element; it was done here to keep the math clean.
Another example:
development of web pages. JScript is similar to javascript with subtle difference in objects & functions
exposed. JScript is supported and shipped by Microsoft and may be work best only on IE where as
javascript was initiated by netscape and can work across all browsers consistently
Explain the differences between Server-side and Client-side code? Server side scripting means
that all the script will be executed by the server and interpreted as needed. ASP doesn’t have some of
the functionality like sockets, uploading, etc. For these you have to make a custom components
usually in VB or VC++. Client side scripting means that the script will be executed immediately in the
browser such as form field validation, clock, email validation, etc. Client side scripting is usually done
in VBScript or JavaScript. Download time, browser compatibility, and visible code - since JavaScript
and VBScript code is included in the HTML page, then anyone can see the code by viewing the page
source. Also a possible security hazards for the client computer.
Should validation (did the user enter a real date) occur server-side or client-side?
Why? Client-side validation because there is no need to request a server side date when you could
obtain a date from the client machine.
What does the "EnableViewState" property do? Why would I want it on or off? Enable
ViewState turns on the automatic state management feature that enables server controls to re-
populate their values on a round trip without requiring you to write any code. This feature is not free
however, since the state of a control is passed to and from the server in a hidden form field. You
should be aware of when ViewState is helping you and when it is not. For example, if you are binding
a control to data on every round trip (as in the datagrid example in tip #4), then you do not need the
control to maintain it’s view state, since you will wipe out any re-populated data in any case.
ViewState is enabled for all server controls by default. To disable it, set the EnableViewState property
of the control to false.
What is smart navigation? - The cursor position is maintained when the pagle gets refreshed due to
the server side validation and the page gets refreshed.
What is view state? - The web is stateless. But in ASP.NET, the state of a page is maintained in the
in the page itself automatically. How? The values are encrypted and saved in hidden controls. this is
done automatically by the ASP.NET. This can be switched off / on for a single control
How to manage pagination in a page? - Using pagination option in DataGrid control. We have to
set the number of records for a page, then it takes care of pagination by itself.