As no one replied, I thought I didn't frame my question properly. So I'm re-framing my question this way.
When some one opens a form in a document library, it opens in this way
But what I want is, Whne he clicks the link in document library to open the form it should directly open in the portal with in the content page as any ...