20. May 2013
Asp.Net , C# , WCF
WCF services writing and consuming related basic points are as in short -
Service : A service is a unit of functionality, available to the world on some contract or deal.
Client : A Client is nothing but a service consuming party. It uses the required protocols to consume/use the exposed s... [More]
16. May 2013
Asp.Net , C#
Microsoft provides an property for pages " maintainScrollPositionOnPostBack". If this is set to true it works fine in Internet Explorer browser. But maintainScrollPositionOnPostBack="true" doesn't work in webkit browsers correctly.
some techies use hidden field to maintain the scroll position... [More]
15. May 2013
Asp.Net , C#
Are you expecting a required field validator will fire on your empty textbox field (textbox with readonly property)? Well, it will not fire. You need to refer the behavior of asp.net validators. Required field validator is disabled for readonly inputs. But still you have a scenario where you wa... [More]
If we have defined Update Progress with Update Panel, this magic works automatically. In case, you want to show this explicitly, you need to write some code with help of Script Manager. The below lines of script code will do the job what we want. We need to place below script inside a <script typ... [More]
If you want to set vertical scroll bars with Panel by applying CSS ScrollBars="Vertical" only then it will not work perfect. In addition to ScrollBars, you need to apply one more css property wrap="false".
<asp:Panel ID="myPanelID" runat="Server" Height="300px" Width="400px" ScrollBars="Vertical... [More]
There could be many ways of validating users before allowing them to download the files. In some applications, you can put direct URL of files into browser and can get downloaded from there directly. It is because that application don’t have user validations on file downloads.
Users role can ... [More]
If you want to make a DIV element with scrolling either horizontal or vertical, you set CSS’s overflow attribute to scroll or auto. But there is a small but important difference between these scroll & auto. [More]
You can do it using third party well written code that are available in the [More]
Though iframe is no more used in modern web programming. HTML5 and CSS3 is buzz now a days. Some prefer using update panel for their whole content page. There are many ways to handle the post backs of pages for better efficiency.
Here, I am giving a good sample for using master pages with iframe fo... [More]
There is no readymade clone or copy method so if you have a panel which contains fieldsets with controls and want to add the same panel to the page on hyperlink button click, you have to do it yourself through coding.
You can create new Panel object and initialize its properties... [More]