ASP.NET


[ASP.NET / LINQ] Access GridView DataItem Properties of Anonymous Types

I tend to use LINQ for just about everything I can. Many times this involves populating ASP.NET GridViews from code with anonymous types from LINQ. For example: The issue that I came across is that when I need to access data from that query during an OnRowDataBound event. When trying to access the item using […]

[ASP.NET] Multiple Command (Select, Delete, etc.) Fields in a GridView

I recently had the requirement to provide multiple select-type commands on an ASP.NET GridView that each resulted in a different action. Using an only provides you with the ability to have a single select, single delete, and single edit command. You cannot have multiples of each. I did, however, discover the . Using the you […]

[SharePoint 2010] Cross-Domain Proxy Page for Client-Side Scripts

Following my blog post about ASP.NET Proxy Pages for Client-Side Scripts I have created a SharePoint 2010 solution to add a proxy page to a SharePoint 2010 farm. CodePlex Project – SharePoint Proxy Page The SharePoint Proxy Page allows content from another source to be proxied on the SharePoint 2010 site. This allows for client-side […]

ASP.NET Proxy Page – Used for Cross Domain Requests from AJAX and JavaScript

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.sharepointjohn.com could not pull content or data from www.bing.com. One way to overcome this issue is by using a server-side proxy on the site […]