Xlratech

DotNet 0

How Maintain Scroll Position On Postback works in ASP.NET

When you add MaintainScrollPositionOnPostback=”true” in page header in an ASP.NET form, ASP.NET injects few scripts on the page and few hidden fields. Hidden fields <input type=”hidden” name=”__SCROLLPOSITIONX” id=”__SCROLLPOSITIONX” value=”0″ /> <input type=”hidden” name=”__SCROLLPOSITIONY” id=”__SCROLLPOSITIONY”...

Politics-of-the-Social-Web-Engage 0

Social Bookmarking – how to use it?

Social bookmarking is a centralized online service which allows a user to discover, share and organize the web documents at a common place. If you use multiple browsers or in case multiple machines then...

csharp_logo

Read RSS using C#

To get the RSS for a web site use the meta data in the website header oppblåsbar Tunneler. private static string GetRssFeedLink(string url) { string rssFeed = string.Empty; string result = string.Empty; using (var...

DotNet

Get the IP address in ASP.NET

To get the ip address of client machine in asp.net use the following code snippet. private string GetUserIP() { string ip = Request.ServerVariables[“HTTP_X_CLUSTER_CLIENT_IP”]; string trueIP = string.Empty; if (!string.IsNullOrEmpty(ip)) { trueIP = ip; }...

Using-Facebook-Mentions-to-Increase-Your-Online-Presence

Facebook style mention

I was working on Facebook style mention and found this link: http://stackoverflow.com/questions/8438371/style-text-inside-textarea-like-facebook-does this gives me initial setup, for css and html. later I added script to make it work. Added attributes to maintain the...