Skip to main content

Posts

Showing posts from April, 2013

Jquery scroll window to top bottom and absolute positions

Recently i have posted how to make Social share buttons in asp.net, Making slider of html content with pagination in jquery , javascript close current window without prompt in ie , Select all div text in single click in JavaScript and now i am going to explain how to scroll window from jquery and make functionality like Scroll To Top, Scroll To Bottom, Scroll To An Absolute Position or just to a control from jquery.

C# Custom Datetime Format String

Many Date times format patterns are available in c# asp.net, you can use them and get custom format as you required, DateTime Type have the method ToString that can be use to get custom datetime format just pass the string format.
Below is the many letter format provided by Datetime type ToString Method and expected result given in small bracket definition is given in bold string after equal.