| Author |
about multi-hyperlink planceholder design
|
|
| andrew007 2005-08-11, 5:53 pm |
| I am trying to create link placeholder (to host multiple hyperlinks - just
link in sharepoint - related links) extened from xmlplanceholder.
Basically this control does the following.
1. in authoring mode
- display multiple previously added links (in each link there is edit and
delete hypertext next to links)
- there is 'Add New' button to add a new url link
2. In edit mode (when author click add new button or edit text)
- it displays display name textbox and hyperlink Url textbox
- it also has 'Add' button
3. in presentation mode
- display multiple links (previously added)
Since this is a bit different from basic flow of placeholder control (for
example since adding multiple instance of links requires post back
communication without using 'save' in console) I need some feedback to
architect this placeholder. Appreciate your feedback in my designing this
control.
| |
| Stefan [MSFT] 2005-08-11, 5:53 pm |
| Hi Andrew,
check out this article:
http://blogs.technet.com/stefan_gos...2/07/41861.aspx
It shows how to do this for multiple attachements.
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
----------------------
"andrew007" <gahdhi@yahoo.com> wrote in message
news:D1AC9B84-3F4D-465D-A671-59E198B05679@microsoft.com...
>I am trying to create link placeholder (to host multiple hyperlinks - just
> link in sharepoint - related links) extened from xmlplanceholder.
> Basically this control does the following.
> 1. in authoring mode
> - display multiple previously added links (in each link there is edit and
> delete hypertext next to links)
> - there is 'Add New' button to add a new url link
> 2. In edit mode (when author click add new button or edit text)
> - it displays display name textbox and hyperlink Url textbox
> - it also has 'Add' button
> 3. in presentation mode
> - display multiple links (previously added)
>
> Since this is a bit different from basic flow of placeholder control (for
> example since adding multiple instance of links requires post back
> communication without using 'save' in console) I need some feedback to
> architect this placeholder. Appreciate your feedback in my designing this
> control.
| |
| andrew007 2005-08-11, 8:48 pm |
| do you happen to know any sample how to customize xmlplaceholder to save
multiple instance of data (list of hyperlinks) without going through console
edit mode?
"Stefan [MSFT]" wrote:
> Hi Andrew,
>
> check out this article:
> http://blogs.technet.com/stefan_gos...2/07/41861.aspx
>
> It shows how to do this for multiple attachements.
>
> 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
> ----------------------
>
>
> "andrew007" <gahdhi@yahoo.com> wrote in message
> news:D1AC9B84-3F4D-465D-A671-59E198B05679@microsoft.com...
>
>
>
| |
| Stefan [MSFT] 2005-08-12, 5:57 pm |
| Hi Andrew,
please explain with more words.
Not sure what you are trying to achieve and where you got problems with your
approach.
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
----------------------
"andrew007" <gahdhi@yahoo.com> wrote in message
news:72D38964-6CE9-417B-A890-2FAD1619F7A3@microsoft.com...[vbcol=seagreen]
> do you happen to know any sample how to customize xmlplaceholder to save
> multiple instance of data (list of hyperlinks) without going through
> console
> edit mode?
>
> "Stefan [MSFT]" wrote:
>
| |
| andrew007 2005-08-12, 5:57 pm |
| Basically,
I have a control (inherited from baseplaceholder: xml definition type) in a
template page to save related link information. It has textboxs for link name
and link url. But it can capture only one data. But my goal is to make to
capture multiple links to display list of links. To achieve this goal I guess
I might have to enable existing placeholder to caputre multiple links (one by
one) and keep track of existing links...I just looks for best practice for
how to achieve this.....
"Stefan [MSFT]" wrote:
> Hi Andrew,
>
> please explain with more words.
> Not sure what you are trying to achieve and where you got problems with your
> approach.
>
> 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
> ----------------------
>
>
> "andrew007" <gahdhi@yahoo.com> wrote in message
> news:72D38964-6CE9-417B-A890-2FAD1619F7A3@microsoft.com...
>
>
>
| |
| Stefan [MSFT] 2005-08-12, 5:57 pm |
| Hi Andrew,
why are you only able to capture one data?
Don't you render mulitple text box child controls from your custom
placeholder control?
You will be able to gather multple different URLs at once using such an
approach.
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
----------------------
"andrew007" <gahdhi@yahoo.com> wrote in message
news:22B017AD-C2B6-4118-8A8D-830578E16EEC@microsoft.com...[vbcol=seagreen]
> Basically,
> I have a control (inherited from baseplaceholder: xml definition type) in
> a
> template page to save related link information. It has textboxs for link
> name
> and link url. But it can capture only one data. But my goal is to make to
> capture multiple links to display list of links. To achieve this goal I
> guess
> I might have to enable existing placeholder to caputre multiple links (one
> by
> one) and keep track of existing links...I just looks for best practice for
> how to achieve this.....
>
> "Stefan [MSFT]" wrote:
>
|
|
|
|