What is SignalR ?

SignalR is new buzz in development technology. It is not going to replace asp.net but works for asp.net. It is a technology ( in more technical words it is a library) that facilitate us to add real-time functionality into our asp.net based applications. It is very useful where high time/real time update is required like online group gaming, chat, stock trade etc. [More]

Updating serial no in existing list using Linq

There could be many ways to update or change the serial number value in existing list. Using LINQ, we can update the serial number without using our normal loop. This can be done with help of Lambda Expression as below - int rowIndexNumber = 0; myExistingList.ToList() .ForEach(row... [More]

Understanding WCF basics

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]

maintaining scroll position on Page Postback

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]

Required field validator not firing on readonly textbox

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]

Show Update Progress on JavaScript function call

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]

asp.net Panel with scroll bar

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]