Render Iframes dynamically inside SharePoint Application Pages

There is a requirement to render the publically available web site content inside SharePoint application pages, dynamically based on arbitrary condition. This can be done in two ways. The first option is to use the page viewer web part and dynamically set the url of page viewer using a user control tied to the master page. The second option is to design an application page and render the external content using IFrames. The option of application pages + Iframes is better compared to dynamic page viewer web part way, considering many pros and cons.

The best way to achieve this to have an ASP.NETuser control that hosts the IFrame. Then host the entire user control inside the application page. Because user control gives the more control and flexibility to manipulate the properties of Iframes at run-time, than finding the logical event of ASP.NET page life-cycle and accomplish this task.

.  On the page load of user control, add the src property of the user control

 protected void Page_Load(object sender, EventArgs e)
            this.IFrame1.Attributes.Add("src", ThirdPartyUrl);

 Subscribe to my post

SharePoint Conference 2009 Sessions

The initial list of sessions for SharePoint Conference 2009 to be held in October 2006 at LasVegas is announced. Here is the initial list of session and topics :-

  1. SharePoint 2010 Overview and What’s New
  2. Upgrading to SharePoint 2010
  3. SharePoint 2010 Capacity and Performance Planning
  4. SharePoint 2010 Security and Identity Management: What’s New
  5. Visual Studio 2010 Tools for Office Development
  6. SharePoint 2010 Ribbon, ECMAScript and Dialog Framework Development
  7. Developing with REST and LINQ in SharePoint 2010
  8. Upgrading SharePoint Server 2007 Code to SharePoint 2010
  9. Building Composite Applications with the Microsoft Application Platform
  10. What’s New in Business Connectivity Services (The Business Data Catalog Evolves!)
  11. FAST Search for SharePoint – Capabilities Deep Dive
  12. Advanced Dashboard Creation with Performance Point Services for SharePoint 2010
  13. Overview of Visio and Visio Services for SharePoint 2010
  14. SharePoint 2010 Web Content Management Deep-Dive

We may get more updated sessions down the line.

Power of Host-named Site Collections for url scaling

In SharePoint 2007, we can create two types of site-collections namely path-based site-collections and host-named site collections. The path-based site-collections are more the traditional and more common way of deployment. In Path-based site-collections,  the site-collections are mapped to a managed path that is subordinate to the web application.  The limiation of the path-based site-collection is that i can have only the single host name or hosted URL.  This does not provide great benefit in terms of url scaling.

The host-named site-collections  are created by providing a valid host-header name.









Offers and Discount on Microsoft Exams

Microsoft is providing a 10% discount on Microsoft Certified Technical Specialist (MCTS), Microsoft Certified IT Professional (MCITP) or Microsoft Certified Professional Developer (MCPD) exams.

Register today with your MVP Certification Promotion Code and enjoy 2 chances to pass a Microsoft Certification Examination* plus a 10% discount! If you fail on your first attempt, you will receive a free retake of the same exam (both exams must be taken by May 31, 2009)**!

Your Unique MVP Certification Promotion Code: IN0E9D9F

From now till March 31, 2009, the microsoft community members can  key in the above MVP Promotion Code at to obtain a Microsoft Certification Exam Voucher Code at a 10% discount and free retake offer.


The Exam Voucher Code is valid for exams taken by May 31, 2009 in India. Note that the limited time offer is valid for Microsoft Certified Technology Specialist (MCTS), Microsoft Certified IT Professional (MCITP) and Microsoft Certified Professional Developer (MCPD) exams only. More information on how to obtain the vouchers and the Terms & Conditions of Usage are available to your community at

Passing ASP.NET Server control id to Java script function

I’m recently working on a web application, that invovles creating a Date Picker Control. I’ve decided to leverage calendar javascript and develop them as the textox and an image invoking Calendar Javascript.

My datepicker control looks like the following

Here i’m trying to pass the id of textbox control to the javascript. Javascript could not recognize that.

I’ve learnt that the way to do is as follows

Microsoft MVP Renewed for 2009

I received a wonderful mail from Microsoft yesterday stating that I’ve been renewed as MVP in Windows SharePoint Services for the year 2009. I believe it’s a great honor to be an MVP. I’m entering into second year as MVP. 

It’s really exciting to be associated with this great product “SharePoint”. Because the product itself is fantastic, it has bunch of talented experts in the form of MVPs and support of product team is excellent. Moreover SharePoint community is really vibrant.

I’d to like thank my MVP Lead Abhishek Khant and Bob Fox of ISPA for their support and encouragement. I’d also like to thank people who have attended my talks, read my blogs and participated in the newsgroups and forums.

Last year I was contributing more through online. I’ve big plans for ISPA in India this year. I’d like to contribute more through offline this year.




Azure Services Training Kit – PDC Review

The Azure Services Training Kit will include a comprehensive set of technical content including samples, demos, hands-on labs, and presentations that are designed to help you learn how to use the Azure Services Platform. This initial PDC Preview release includes the hands-on labs that were provided at the PDC 2008 conference. These labs cover the broad set of Azure Services including Windows Azure, .NET Services, SQL Services, and Live Services. It can be downloaded from the following location

Pocket Guides for Application Architecture

Many customers requested app arch guide 2.0 team of Microsoft for smaller, more focused guides.   As a result, Microsoft created a series of application architecture pocket guides based on Application Architecture Guide 2.0.  Each guide is focused on a particular topic.  

Microsoft prioritized topics based on customer demand.  Some customers wanted a focused guide on just the Agile Architecture Method, while others wanted a focused guide on the particular type of applications they build (Web, Rich Client, … etc.) 

Application Architecture Pocket Guides

Here’s the initial set of pocket guides from Microsoft:


Rampup Program for SharePoint

 Ramp Up program (  has just launched a brand-new learning track: SharePoint for Developers, Part I.

Ramp Up is a free, online, community-based program that can help users save time in learning Microsoft technology. The easy-to-access content (provided by subject-matter gurus) is specifically tailored to the Ramp Up program, and offered in a variety of forms (whitepaper, v-lab, codecast and slidecast). This SharePoint track, along with the other currently offered tracks (eg, Visual Studio 2008), teaches the important skills in a guided path, making the learning process easier and more efficient. Currently, there are no assessments in the program, so it’s quicker than ever to graduate and receive the reward (25% off on certification and 50% off on e-Learning – only for graduates of Ramp Up).


Heroes Community Launch for SQL Server 2008 in Chennai

This is a deep dive session on the SQL Server 2008 focusing on the practical application of the new features.


SQL Server 2008 – A demo feast
Hidden gems in SQL Server


Vinodkumar, Developer Evangelist, Microsoft Corporation

Date & Time: 11-10-2008 (Saturday) between 9:00 AM to 1:00 PM

Venue: Muthaiyan Auditorium @ Centre for Environmental Science department in Anna university guindy campus, Chennai

Registration is open @

Hurry to block your seat!