Sharepoint 2007 - Content query webpart formmode
Posted
by Roland
on Stack Overflow
See other posts from Stack Overflow
or by Roland
Published on 2010-06-10T07:30:57Z
Indexed on
2010/06/10
8:32 UTC
Read the original article
Hit count: 227
sharepoint
|content
I have got a simple question, but the answer is hard to find. I want to put a contentquery webpart with a custom xslt on my page, but it has to render extra links if the page is opened in edit-mode. So, if (SPContext.Current.FormContext.FormMode == SPControlMode.Display) : show some extra links near the items in the xslt.
How can I achieve this? I have already overridden the default ContentByQueryWebPart, is that the way? Thanks in advance.
© Stack Overflow or respective owner