| 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:
>
|
|
|
|