Trying to use a XMLPlaceholderControl...
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Trying to use a XMLPlaceholderControl...




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Trying to use a XMLPlaceholderControl...  
Simón Candel Romero


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-23-05 12:53 PM

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 t
o
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.





[ Post a follow-up to this message ]



    Re: Trying to use a XMLPlaceholderControl...  
Angus Logan [MVP]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-23-05 12:53 PM

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.







[ Post a follow-up to this message ]



    Re: Trying to use a XMLPlaceholderControl...  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-23-05 12:53 PM

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.







[ Post a follow-up to this message ]



    Re: Trying to use a XMLPlaceholderControl...  
Simón Candel Romero


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-23-05 12:53 PM

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





[ Post a follow-up to this message ]



    Re: Trying to use a XMLPlaceholderControl...  
Simón Candel Romero


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-23-05 10: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 on
e
> 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: [url]http://tinyurl.com/6zj44[/url
]
> ----------------------
>
>
> "Simón Candel Romero" <SimnCandelRomero@discussions.microsoft.com> wrote 
in
> message news:A9F000C2-E582-4DA3-9B6C-9A69226AA626@microsoft.com... 
>
>
>





[ Post a follow-up to this message ]



    Re: Trying to use a XMLPlaceholderControl...  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-23-05 10: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/...ize
=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ó:
> 







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:34 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register