RE: Mulichoice Column Rendering in MOSS

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs20 Hi rcollier01,
\par
\par As for the multiple select column, I've performed some simple test as below:
\par
\par **create a custom list that contains a single column, the column is of multi-choice and allow multi select(use checkbox)
\par
\par ** I add some records and when editing a certain record, for the multi-choice field, it seems each choice is embeded in a single table cell (<td> ) rather than within the same table row(<tr>).
\par
\par Here is the html source of the 20 choice column(in edit mode):
\par
\par ===========================
\par <span dir="none"><table cellpadding="0" cellspacing="1">
\par \tab\tab\tab\tab\tab <tr>
\par \tab\tab\tab\tab\tab\tab <td><span class="ms-RadioText" title="Enter Choice #1"><input id="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00" type="checkbox" name="ctl00$m$g_7babe172_37be_4943_849d_5396298f4e82$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl00" checked="checked" /><label for="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00">Enter Choice #1</label></span></td>
\par \tab\tab\tab\tab\tab </tr><tr>
\par \tab\tab\tab\tab\tab\tab <td><span class="ms-RadioText" title="Enter Choice #2"><input id="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl01" type="checkbox" name="ctl00$m$g_7babe172_37be_4943_849d_5396298f4e82$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl01" /><label for="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl01">Enter Choice #2</label></span></td>
\par \tab\tab\tab\tab\tab </tr><tr>
\par \tab\tab\tab\tab\tab\tab <td><span class="ms-RadioText" title="Enter Choice #3"><input id="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl02" type="checkbox" name="ctl00$m$g_7babe172_37be_4943_849d_5396298f4e82$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl02" /><label for="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl02">Enter Choice #3</label></span></td>
\par \tab\tab\tab\tab\tab </tr><tr>
\par \tab\tab\tab\tab\tab\tab <td><span class="ms-RadioText" title="Enter Choice #4"><input id="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl03" type="checkbox" name="ctl00$m$g_7babe172_37be_4943_849d_5396298f4e82$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl03" /><label for="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl03">Enter Choice #4</label></span></td>
\par \tab\tab\tab\tab\tab </tr><tr>
\par \tab\tab\tab\tab\tab\tab <td><span class="ms-RadioText" title="Enter Choice #5"><input id="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl04" type="checkbox" name="ctl00$m$g_7babe172_37be_4943_849d_5396298f4e82$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl04" /><label for="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl04">Enter Choice #5</label></span></td>
\par \tab\tab\tab\tab\tab </tr><tr>
\par \tab\tab\tab\tab\tab\tab <td><span class="ms-RadioText" title="Enter Choice #6"><input id="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl05" type="checkbox" name="ctl00$m$g_7babe172_37be_4943_849d_5396298f4e82$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl05" checked="checked" /><label for="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl05">Enter Choice #6</label></span></td>
\par \tab\tab\tab\tab\tab </tr><tr>
\par \tab\tab\tab\tab\tab\tab <td><span class="ms-RadioText" title="Enter Choice #7"><input id="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl06" type="checkbox" name="ctl00$m$g_7babe172_37be_4943_849d_5396298f4e82$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl06" /><label for="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl06">Enter Choice #7</label></span></td>
\par \tab\tab\tab\tab\tab </tr><tr>
\par \tab\tab\tab\tab\tab\tab <td><span class="ms-RadioText" title="Enter Choice #8"><input id="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl07" type="checkbox" name="ctl00$m$g_7babe172_37be_4943_849d_5396298f4e82$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl07" /><label for="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl07">Enter Choice #8</label></span></td>
\par \tab\tab\tab\tab\tab </tr><tr>
\par \tab\tab\tab\tab\tab\tab <td><span class="ms-RadioText" title="Enter Choice #9"><input id="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl08" type="checkbox" name="ctl00$m$g_7babe172_37be_4943_849d_5396298f4e82$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl08" /><label for="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl08">Enter Choice #9</label></span></td>
\par \tab\tab\tab\tab\tab </tr><tr>
\par \tab\tab\tab\tab\tab\tab <td><span class="ms-RadioText" title="Enter Choice #10"><input id="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl09" type="checkbox" name="ctl00$m$g_7babe172_37be_4943_849d_5396298f4e82$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl09" /><label for="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl09">Enter Choice #10</label></span></td>
\par \tab\tab\tab\tab\tab </tr><tr>
\par \tab\tab\tab\tab\tab\tab <td><span class="ms-RadioText" title="Enter Choice #11"><input id="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl10" type="checkbox" name="ctl00$m$g_7babe172_37be_4943_849d_5396298f4e82$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl10" /><label for="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl10">Enter Choice #11</label></span></td>
\par \tab\tab\tab\tab\tab </tr><tr>
\par \tab\tab\tab\tab\tab\tab <td><span class="ms-RadioText" title="Enter Choice #12"><input id="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl11" type="checkbox" name="ctl00$m$g_7babe172_37be_4943_849d_5396298f4e82$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl11" checked="checked" /><label for="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl11">Enter Choice #12</label></span></td>
\par \tab\tab\tab\tab\tab </tr><tr>
\par \tab\tab\tab\tab\tab\tab <td><span class="ms-RadioText" title="Enter Choice #13"><input id="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl12" type="checkbox" name="ctl00$m$g_7babe172_37be_4943_849d_5396298f4e82$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl12" checked="checked" /><label for="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl12">Enter Choice #13</label></span></td>
\par \tab\tab\tab\tab\tab </tr><tr>
\par \tab\tab\tab\tab\tab\tab <td><span class="ms-RadioText" title="Enter Choice #14"><input id="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl13" type="checkbox" name="ctl00$m$g_7babe172_37be_4943_849d_5396298f4e82$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl13" checked="checked" /><label for="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl13">Enter Choice #14</label></span></td>
\par \tab\tab\tab\tab\tab </tr><tr>
\par \tab\tab\tab\tab\tab\tab <td><span class="ms-RadioText" title="Enter Choice #15"><input id="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl14" type="checkbox" name="ctl00$m$g_7babe172_37be_4943_849d_5396298f4e82$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl14" checked="checked" /><label for="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl14">Enter Choice #15</label></span></td>
\par \tab\tab\tab\tab\tab </tr><tr>
\par \tab\tab\tab\tab\tab\tab <td><span class="ms-RadioText" title="Enter Choice #16"><input id="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl15" type="checkbox" name="ctl00$m$g_7babe172_37be_4943_849d_5396298f4e82$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl15" /><label for="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl15">Enter Choice #16</label></span></td>
\par \tab\tab\tab\tab\tab </tr><tr>
\par \tab\tab\tab\tab\tab\tab <td><span class="ms-RadioText" title="Enter Choice #17"><input id="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl16" type="checkbox" name="ctl00$m$g_7babe172_37be_4943_849d_5396298f4e82$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl16" checked="checked" /><label for="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl16">Enter Choice #17</label></span></td>
\par \tab\tab\tab\tab\tab </tr><tr>
\par \tab\tab\tab\tab\tab\tab <td><span class="ms-RadioText" title="Enter Choice #18"><input id="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl17" type="checkbox" name="ctl00$m$g_7babe172_37be_4943_849d_5396298f4e82$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl17" /><label for="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl17">Enter Choice #18</label></span></td>
\par \tab\tab\tab\tab\tab </tr><tr>
\par \tab\tab\tab\tab\tab\tab <td><span class="ms-RadioText" title="Enter Choice #19"><input id="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl18" type="checkbox" name="ctl00$m$g_7babe172_37be_4943_849d_5396298f4e82$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl18" /><label for="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl18">Enter Choice #19</label></span></td>
\par \tab\tab\tab\tab\tab </tr><tr>
\par \tab\tab\tab\tab\tab\tab <td><span class="ms-RadioText" title="Enter Choice #20"><input id="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl19" type="checkbox" name="ctl00$m$g_7babe172_37be_4943_849d_5396298f4e82$ctl00$ctl04$ctl01$ctl00$ctl00$ctl04$ctl00$ctl19" /><label for="ctl00_m_g_7babe172_37be_4943_849d_5396298f4e82_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl19">Enter Choice #20</label></span></td>
\par \tab\tab\tab\tab\tab </tr>
\par \tab\tab\tab\tab </table></span>
\par ===================================
\par
\par Sincerely,
\par
\par Steven Cheng
\par
\par Microsoft MSDN Online Support Lead
\par
\par
\par Delighting our customers is our #1 priority. We welcome your comments and suggestions about how we can improve the support we provide to you. Please feel free to let my manager know what you think of the level of service provided. You can send feedback directly to my manager at: msdnmg@xxxxxxxxxxxxxx
\par
\par ==================================================
\par Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notifications.
\par
\par Note: The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support
\par Engineer within 1 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support
\par professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations
\par 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.
\par ==================================================
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par
\par \pard\li720 --------------------
\par Subject: Mulichoice Column Rendering in MOSS
\par From: rcollier01@xxxxxxxxxxxxxxxx
\par Date: Fri, 28 Mar 2008 11:29:40 GMT
\par
\par
\par We have several mulitchoice column types in a MOSS 2007 publishing template.
\par While some of these only contain 2 or 3 items others contain a large number
\par of items (20+). These fields are placed in an edit panel and our authors
\par use these for tagging certain content pages. When a user enters edit mode,
\par these content fields are displayed in a single row table. So if we have 20
\par items, they are displayed in a table with 20 rows (a <TR> or each item). We
\par would like to be able to display items in multiple columns to enhance
\par usability We have tried to override the html output of the mulitchoice but
\par were unsuccessful. We also tried modifying the fldtypes file and that
\par didn't work either. At this point, the only option I can think of is to
\par write a custom field control but it seems a bit overkill because the out of
\par the box functionality is providing what we need, but we just need to change
\par the way the field is rendered to the page. Any ideas or other options are
\par greatly appreciated.
\par \pard
\par
\par }

Relevant Pages

  • conscious aesthetic plain ahead of Saad al Shoulis bunch
    ... suddenly alert the exemption. ... multiple, whereas because of you it's conveying grim. ... tides at times a network. ... unfortunate, describes in support of it, sailing punctually. ...
    (sci.crypt)
  • [patch 17/18] m68k: Update defconfigs
    ... # Automatically generated make config: don't edit ... -# Linux kernel version: 2.6.25-rc8 ... -# Other IDE chipsets support ...
    (Linux-Kernel)
  • Re: Coding style, wait statement, sensitivity list and synthesis.
    ... You can in some synthesis tools, but Verific does not support multiple wait statements in one process. ... > Expert VHDL Training for Hardware Design and Verification ...
    (comp.lang.vhdl)
  • Re: PVR - Future developments.
    ... Support for multiple tuner cards and multiple simultaneous recordings. ... Basic video editing abilities. ... if you have more than one tuner card. ...
    (uk.tech.digital-tv)
  • WinFlash Educator 10.10.07
    ... Educator offers powerful multimedia support while retaining its ... Choose from standard, fill-in or multiple ... foreign language study, speeding both creation and study phases. ... dictionaries are available for free download. ...
    (comp.software.shareware.announce)