It is sometimes important to detect the actual quota of storage that the current client browser supports before actually storing data into it. To prevent the exception QUOTA_EXCEEDED_ERR to happen in the browser, as a developer you will always need to query what are the memory that can be stored without exceeding the quota given by the client to… Read More »
Well, it might look quite similar with the one I explained before, HTML 5 also includes a separate object to deal with Session storage. The Session storage is actually quite different from localStorage API. In case of sessionStorage, the data will remain only when you are inside current session. Such that when you close the session of the… Read More »
ASP.net by default calls the function window.scrollTo(0,0) after the validation failure from ASP.net validators but not always we have the validation summary control placed at the top. There are instances where we need to place validation summary at some other location but by doing this, instead the user being scrolled to see the validation error, he will always see the top of the page.
This is a very often requirement for an ASP.NET Developer to pass a sever side array to client side and access them through java Script. There are several ways to do that. But here I am describing one of the simplest steps to pass server side array to client side. In this blog post you will get to… Read More »