| Author |
Trying to use a XMLPlaceholderControl...
|
|
| Simón Candel Romero 2005-08-23, 7:53 am |
| Hi.
I need to create a xmlPlaceholderControl in a template ascx file. I can
create this control in my template from the template manager but when I go to
drag it from the toolbar to my ascx template file there aren't any kind of
XML placeholder to drag.
How can I use this kind of placeholders?
Can you help me pease?
Thanks. Simon.
| |
| Angus Logan [MVP] 2005-08-23, 7:53 am |
| Hi Simon,
The XMLPlacheolder is used to store data - there is no out-of-the-box
interface into it.
What is your specific requirement?
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
________________________________________
"Simón Candel Romero" <SimnCandelRomero@discussions.microsoft.com> wrote in
message news:A9F000C2-E582-4DA3-9B6C-9A69226AA626@microsoft.com...
> Hi.
> I need to create a xmlPlaceholderControl in a template ascx file. I can
> create this control in my template from the template manager but when I go
> to
> drag it from the toolbar to my ascx template file there aren't any kind of
> XML placeholder to drag.
>
> How can I use this kind of placeholders?
> Can you help me pease?
>
> Thanks. Simon.
| |
| Stefan [MSFT] 2005-08-23, 7:53 am |
| Hi Simon,
you are mixing up terms.
There are placeholder controls and placeholder definitions.
MCMS ships with a XmlPlaceholder definition but not with an XmlPlaceholder
Control.
The reason is simple: XML is just data. And how the data needs to be
presented and edited depends on YOUR schema.
So there is no way to ship a XmlPlaceholder control. You need to create one
that fits to your requirements.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Simón Candel Romero" <SimnCandelRomero@discussions.microsoft.com> wrote in
message news:A9F000C2-E582-4DA3-9B6C-9A69226AA626@microsoft.com...
> Hi.
> I need to create a xmlPlaceholderControl in a template ascx file. I can
> create this control in my template from the template manager but when I go
> to
> drag it from the toolbar to my ascx template file there aren't any kind of
> XML placeholder to drag.
>
> How can I use this kind of placeholders?
> Can you help me pease?
>
> Thanks. Simon.
| |
| Simón Candel Romero 2005-08-23, 7:53 am |
| Hi Angus:
I need to include some content that is inside a XML file into my posting.
When the editor use a determinate template must have a placeholder that
accepts this xml file. After that, i want to show only the information that
is between some labels.
The problem is that I can't bind the placeholder definition of the template
with the aspx file because in the aspx file a can't drag a XmlPlaceholder
control (it not exists).
Can you show me how can I do this?
Thanks. Simon.
"Angus Logan [MVP]" escribió:
> Hi Simon,
>
> The XMLPlacheolder is used to store data - there is no out-of-the-box
> interface into it.
>
> What is your specific requirement?
>
> 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
> ________________________________________
> "Simón Candel Romero" <SimnCandelRomero@discussions.microsoft.com> wrote in
> message news:A9F000C2-E582-4DA3-9B6C-9A69226AA626@microsoft.com...
>
>
>
| |
| Simón Candel Romero 2005-08-23, 5:53 pm |
| Hi Stefan:
Now I think that understand the differences between the XML definition and
the XML control.
Nevertheless I don't know how to create a new XML control. Do you know if
exists any URL with some example that I can see?
Thanks. Simon.
"Stefan [MSFT]" escribió:
> Hi Simon,
>
> you are mixing up terms.
> There are placeholder controls and placeholder definitions.
>
> MCMS ships with a XmlPlaceholder definition but not with an XmlPlaceholder
> Control.
> The reason is simple: XML is just data. And how the data needs to be
> presented and edited depends on YOUR schema.
>
> So there is no way to ship a XmlPlaceholder control. You need to create one
> that fits to your requirements.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> ----------------------
>
>
> "Simón Candel Romero" <SimnCandelRomero@discussions.microsoft.com> wrote in
> message news:A9F000C2-E582-4DA3-9B6C-9A69226AA626@microsoft.com...
>
>
>
| |
| Stefan [MSFT] 2005-08-23, 5:53 pm |
| Hi Simon,
as indicated: the control needs to fit exactly to the content of the XML.
So code others have written will usually not fit your requirements.
I would suggest to check all the custom placeholder controls available here:
http://www.gotdotnet.com/community/...Page=1&Size=100
Maybe you will find something that is similar to what you are going to
address and gives you a start to develop your own control.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
----------------------
"Simón Candel Romero" <SimnCandelRomero@discussions.microsoft.com> wrote in
message news:48711D94-A5C5-4CBD-B196-EC7117820C85@microsoft.com...[vbcol=seagreen]
> Hi Stefan:
>
> Now I think that understand the differences between the XML definition and
> the XML control.
>
> Nevertheless I don't know how to create a new XML control. Do you know if
> exists any URL with some example that I can see?
>
> Thanks. Simon.
>
> "Stefan [MSFT]" escribió:
>
|
|
|
|