Sharepoint 2010 Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint 2010       RSS Feeds

Enable and hiding controls in a form according to the link clicked

  Asked By: Kevin    Date: Oct 22    Category: Sharepoint 2010    Views: 1689

In was asked in an interview that-
There are some links at left side like products, feedback, enquiry etc
now i want to show the related content in the same form when the link is clicked.
That means the target form is same all links,now how to enable and disable the controls according to the link clicked.

All these things to be managed in a welcome.



2 Answers Found

Answer #1    Answered By: Nick Johnson     Answered On: Oct 24

You mean that whenever someone clicks the link, they get back to the same info on the other form....
M I interpreted correctly???

Answer #2    Answered By: Kevin John     Answered On: Oct 24

Dear Nick John,

suppose there two Links say ProductsOrder,Feedback. Both the links will be referred to a form like sample.aspx. But when the link ProductsOrder is clicked the page(sample.aspx) should display controls and data related to productsorder. And when the link feedback is clicked the page (sample.aspx)should display the controls and fields related to only feedback.

How to hide or enable various controls and fields in sample.aspx according to the link clicked.
Suppose i want this scenario in a welcome page (Home page). How can i achieve this.?