|
Home > Archive > Microsoft Content Management Server > November 2004 > hi stefan --- Dispaly content of the placeholders
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
hi stefan --- Dispaly content of the placeholders
|
|
|
| hi stefan,
this is eswar here.
i need to extract content of the placeholders & and display them in a
browser.
iam able to get the posting name thru coding which are availabe under
Mychannel.
can i have the code to display the data on browser where i can edit
the posted data as well.
Thanking you very much in advance stefan
ESWAR
| |
| Angus Logan [MVP] 2004-11-27, 7:46 am |
| Hi Eswar,
See if this helps.
C#
String Content = ((HtmlPlaceholder)
(CmsHttpContext.Current.Posting.Placeholder["MyHtmlPh"])).Html;
VB.NET
Dim Content as String =
Ctype(Cmshttpcontext.current.posting.placeholder("MyHtmlPh"),
HtmlPlaceholder).Html
Regards
--
________________________________________
Angus Logan (MCAD/MCDBA/MCP/MVP for MCMS)
Product Specialist
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________
"eswar" <iteswar@gmail.com> wrote in message
news:63d0c60.0411270328.48a3a32c@posting.google.com...
> hi stefan,
>
> this is eswar here.
>
> i need to extract content of the placeholders & and display them in a
> browser.
> iam able to get the posting name thru coding which are availabe under
> Mychannel.
>
> can i have the code to display the data on browser where i can edit
> the posted data as well.
>
> Thanking you very much in advance stefan
> ESWAR
| |
| Stefan [MSFT] 2004-11-28, 7:46 am |
| Hi Eswar,
check Angus reply for code to show the content.
To edit the content you should go to edit mode in web author and do editing
on the original posting.
Otherwise you would have to reinvent web author of MCMS.
Cheers,
Stefan.
"eswar" <iteswar@gmail.com> wrote in message
news:63d0c60.0411270328.48a3a32c@posting.google.com...
> hi stefan,
>
> this is eswar here.
>
> i need to extract content of the placeholders & and display them in a
> browser.
> iam able to get the posting name thru coding which are availabe under
> Mychannel.
>
> can i have the code to display the data on browser where i can edit
> the posted data as well.
>
> Thanking you very much in advance stefan
> ESWAR
|
|
|
|
|