Re: Custom content control



Hello,
thank you for your reply. Yes, you understand well. I thought that there could be a way to register your content control, which renders as normal content control with arrow like Date Picker or Combo Box. When the users clicks the arrow, my UI, be it either Windows Forms, WPF or at worst VBA form, would be showed in the drop-down.
I need this, to answer your next question, particularly to be able to query a database or remote server to get the possible data values. I can't provide extra button (or whatever) which would insert text directly into the document, since I need 1) to store the content data in separate data xml file packed in the docx file 2) the user to be able later change the selected value in otherwise locked document. Beside the UI, also mapping between values and the xml file would have to be defined with the custom content control.
Well if I would need to create an add-in for this functionality, good to know, if this could be packed within a document template, that would be much more useful for me.

I hope this gives some more insight to what I'm looking for. Feel free to ask any details.

Jan


"Jialiang Ge [MSFT]" <jialge@xxxxxxxxxxxxxxxxxxxx> wrote in message news:41q3pJe#HHA.5204@xxxxxxxxxxxxxxxxxxxxxxxxx
Hello Jan,

From your post, my understanding on this issue is: you want to design a
custom control which provides customized ways to choose data. Would you let
me know whether it is a Office add-in? For instance, a Office add-in shows
a button in its command bar. When the button is clicked, a dialog is shown,
within which there are treeviews, etc and allow users to choose an item in
it. What is the source of the 'data'? Would you give a more detailed
description of your request? I am looking forward to your reply.

Sincerely,
Jialiang Ge (jialge@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support

==================================================
For MSDN subscribers whose posts are left unanswered, please check this
document: http://blogs.msdn.com/msdnts/pages/postingAlias.aspx

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express/Windows Mail, please make sure
you clear the check box "Tools/Options/Read: Get 300 headers at a time" to
see your reply promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

.


Loading