Microsoft Content Management Server - Custom Placeholder Query - Need Help

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > June 2006 > Custom Placeholder Query - Need Help





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 Custom Placeholder Query - Need Help
Angela

2006-06-30, 7:20 am

Hi,
I'm a bit confused about this so i hope it makes sense...
I've created a custom placeholder contol that inputs data to four text
boxes..In the SaveplaceholderContent method I create four html placeholders
and attach the textbox data to the placeholders...However here's where i get
lost...when i put my control on the template it only allowed me to bind to
one html placeholder...So when i edit the posting it seems like only the
first placeholder content has been saved and it attaches that data to the
four textboxes...Any help would be appreciated...

thanks
Olivier

2006-06-30, 7:20 am

Hi Angela,
it is impossible to do that.
only the first placeholder content will be saved.

you can do:
- a usercontrol with 4 htmlplaceholdercontrols
or
- a custom placeholder control derived from a xmlplaceholder and the 4
textbox content will be saved in xml format


"Angela" wrote:

> Hi,
> I'm a bit confused about this so i hope it makes sense...
> I've created a custom placeholder contol that inputs data to four text
> boxes..In the SaveplaceholderContent method I create four html placeholders
> and attach the textbox data to the placeholders...However here's where i get
> lost...when i put my control on the template it only allowed me to bind to
> one html placeholder...So when i edit the posting it seems like only the
> first placeholder content has been saved and it attaches that data to the
> four textboxes...Any help would be appreciated...
>
> thanks

Angela

2006-06-30, 1:19 pm

Thanks Oliver...i was afraid that would be the case...

"Olivier" wrote:
[vbcol=seagreen]
> Hi Angela,
> it is impossible to do that.
> only the first placeholder content will be saved.
>
> you can do:
> - a usercontrol with 4 htmlplaceholdercontrols
> or
> - a custom placeholder control derived from a xmlplaceholder and the 4
> textbox content will be saved in xml format
>
>
> "Angela" wrote:
>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com