.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Where can I find the code of the Twitter or Facebook or WebGrid helpers?

Posted By:      Posted Date: August 26, 2010    Points: 0   Category :ASP.Net

Just in general, where can I find the code to take a look at and learn from them? Or at least look at the functions available to me as I do get the feeling that the insufficient documentation at the moment reveals all.

View Complete Post

More Related Resource Links

Code Reviews: Find and Fix Vulnerabilities Before Your Application Ships


Code defects can be found using many approaches, but manual code reviews stand out in terms of precision and quality. We provide some best practices for planning and executing code reviews on your own team.

M. Chmielewski, N. Clift, S. Fonrobert, and T. Ostwald

MSDN Magazine November 2007

Toolbox: Find Bottlenecks, Code Similarities, and More


This month, find performance and memory bottlenecks, essential security reading, and more.

Scott Mitchell

MSDN Magazine July 2007

Are You in the Know?: Find Out What's New with Code Access Security in the .NET Framework 2.0


Unlike role-based security measures, code access security is not based on user identity. Instead, it is based on the identity of the code that is running, including information such as where the code came from. Here Mike Downen discusses the role of code access security (CAS) in .NET and outlines some key new features and changes in CAS for the .NET Framework 2.0.

Mike Downen

MSDN Magazine November 2005

Visual Studio asp C#.NEt web application publishing tweet/status on Twitter/Facebook

Hi guysIf you could give me some guidelines It would mean a lot to me. what type of authentication I use, how to do  id from localhost, how to modify web.config file etc 

How to Find out Windows service application path from Code ?

Dear frnds, Could you please help me to find out the path of  windows serivce exe ( application path ) from code?   Regards. Sajid P K  

More illusive code (an inline style I can't seem to find)

I just *thought* was done. The issue is with the tree view in a document center. So with the help of the IE Developer Tools, I've managed to narrowed it down to an inline style but it doesn't tell me where that inline style resides (unlike everything else listed).  The culprit is a font-size:1em. The code in the source is: <td><img src="/_layouts/images/tvblank.gif" alt="" /></td><td><a href="javascript:_spNavigateHierarchy(this,'TreeViewDataSource','30:ListNode:df253e52-42eb-498a-8fc9-7bfabf220bfb:bbd65828-90c9-4b75-b4a8-ac304d01744e:160e6be3-d556-4fb9-887e-c1204f716aab','\u002fit\u002fPMO\u002fIntranet\u002fDocuments',false,'ListNode')" title="Documents" id="ctl00_PlaceHolderLeftNavBar_WebTreeViewt0i" tabindex="-1"><img src="/_layouts/images/itdl.gif" alt="Documents" style="border-width:0;" /></a></td><td class="ms-navitem ctl00_PlaceHolderLeftNavBar_WebTreeView_2" style="white-space:nowrap;"><a class="ctl00_PlaceHolderLeftNavBar_WebTreeView_0 ms-navitem ctl00_PlaceHolderLeftNavBar_WebTreeView_1" href="javascript:_spNavigateHierarchy(this,'TreeViewDataSource','30:ListNode:df253e52-42eb-498a-8fc9-7bfabf220bfb:bbd65828-90c9-4b75-b4a8-ac304d01744e:160e6be3-d556-4fb9-887e-c1204f716aa

find control in datalist by javascript(Not by Code Behind CS Page or ItemDatabound)


Hello all,

I am facing a problem with javascript.Following is the scenario:

I am working on survey application......

I have taken a datalist in which the question in survey are bound in a label control

now user can change color of the question using color picker

color picker have a popup which is closed when user selects a color and

the color of question will be updated as popup closes

So i have to find label control(in which i bound questions)

in datalist by javascript only (not by Cs page or by itemdatabound event because of color picker popup i can not use cs page)

and update the color of label selected by color picker

I googled and found following code but it show null value

var lbl = document.getElementById('<%= Page.Master.FindControl("ContentPlaceHolder1").FindControl("dList").FindControl("lblQuestion") %>');

when I saw the page source following id is generated for label

and so on


Get rid of Facebook and Twitter Crawlers



My scenario is:

I have a website that shares some content and shows the number of times it has been shared. The sharing is done through facebook, twitter and e-mail.

Now, while sharing the content with facebook and twitter, the share count gets increased by some random number, sometimes 2 and sometimes upto 25-30. The reason I could find is that the bots and crawlers of facebook and twitter keeps on hitting the content being shared which increases my share count.

Is there a way to stop these bots and crawlers from hitting my website?


Thanks in advance...:)


gridview find invisible row from code behind


hi all,

let me explain completly. I designed an gridview, header template i added one textbox and button if the user enter something on Txtbox and click button then based on input i show corresponding rows only, all other rowss will be hidded using Javascript like below

tblOrders.rows[CurrRow].style.display = 'none';

now im doing something on the Gridview_RowCommand event at this time the gridview got refreshed so that the hiden rows are visible, but i dont want to show the hidden(invisible) rows while rowcommand event fired. so, is there any way to solve this issue?

experts please help me to resolve this...........!

Twitter/Facebook/Myspace Integration with Asp.net site


Hey guys,

     I have a site that I want to integrate twitter, facebook, and myspace.  For the past week I have been pondering how would I go about doing this. I am thinking about doing the following:

1. ( This all when the user first create an account with my app) When the user clicks on for example the twitter  button and  authorize my application before the site goes to twitter authorization page the site will create a temp user and log in the user into the membership database when they are return to my call back page I check to see if that username is already in use, if not, I then delete the temp user from the membership database and then create a new entry with their twitter username.  If the username is in use, I let the user know. Also, I will add an additinal column to distinguish between myspace, twitter, and facebook within the membership table.

This is a good way to go about doing this. Any ideas would be appreciated. Thanks

Where to find code samples for Microsoft® SQL Server® 2008 Analysis Services Step by Step



I got this book  Microsoft® SQL Server® 2008 Analysis Services Step by Step by Scott Cameron, Hitachi Consulting from our tech Library , however the companion CD is missing. Can anybody share the CD / practice code examples with me please? The book is only useful if I get to practice the code alongside reading the theory!



How to Find Manager using Visual Studio Code



On Sharepoint Designer (I'm using Sharepoint 2010) I can use "Find Manager" when developing workflow. How to produce similar result using coding in Visual Studio 2010? I read something about User Information List, but cannot found any relation to "manager".

Thanks and Regards,


Find version of DLL from .NET code


Hi All,

How to find version of DLL from .NET code?





Negative Lookbehind assertion to find all the strings from source code of particular pattern

I wrote a regular expression to match all the double quoted strings in the source code but excluding those which are initializers to const declaration.

My expression was 

The first group is const declaration of string type. Second is used to match double quoted strings capable of handling escape sequences.


If i simple run a match using second group, all the strings are matched. But if i use the entire expression, it provides me all the characters between the end double quote of last string and first double quote of next string.

Please help.


keyword search - anyone got code or know where I can find it, tips ?


I need to search some records for one or more keywords ( user entered) and then display them in order of matching i.e. at the top all 3 keywords, at the bottom, just one keyword found.

Before I do this.... has anyone done it before ?

I was going to go through each sql record and search for the words, presume that best way ?

Can not find TUTORIAL directory after downloading the "SQL Server 2008R2 product code samples" pack

Any ideas on how to optain the TUTORIAL directory that should be in C:\Program Files\Microsoft SQL Server\100\Tools\Samples? I installed the 2008R2 product samples package several times? What is up with it?
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend