Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: SPCascadeDropdowns: Can this be used in a publishing page layout?

$
0
0
Thanks for your reply.

From using firebug I can see that the markup is different:

NewsForm.aspx...

PARENT:
<select title="News Category" id="ctl00_m_g_0099c24b_b604_4940_92b8_8842ee19ec7f_ctl00_ctl05_ctl03_ctl00_ctl00_ctl04_ctl00_Lookup" name="ctl00$m$g_0099c24b_b604_4940_92b8_8842ee19ec7f$ctl00$ctl05$ctl03$ctl00$ctl00$ctl04$ctl00$Lookup">
                    <option value="0" selected="selected">(None)</option>
                    <option value="1">Corporate News</option>
                    <option value="2">Industry News</option>
                    <option value="3">My Volac News</option>

                </select>
CHILD:
<select style="width:143px;height:125px;overflow:scroll;" ondblclick="GipAddSelectedItems(ctl00_m_g_0099c24b_b604_4940_92b8_8842ee19ec7f_ctl00_ctl05_ctl04_ctl00_ctl00_ctl04_ctl00_ctl00_MultiLookupPicker_m); return false" onchange="GipSelectCandidateItems(ctl00_m_g_0099c24b_b604_4940_92b8_8842ee19ec7f_ctl00_ctl05_ctl04_ctl00_ctl00_ctl04_ctl00_ctl00_MultiLookupPicker_m);" title="News Sub Category possible values" multiple="multiple" id="ctl00_m_g_0099c24b_b604_4940_92b8_8842ee19ec7f_ctl00_ctl05_ctl04_ctl00_ctl00_ctl04_ctl00_ctl00_SelectCandidate" name="ctl00$m$g_0099c24b_b604_4940_92b8_8842ee19ec7f$ctl00$ctl05$ctl04$ctl00$ctl00$ctl04$ctl00$ctl00$SelectCandidate">
                <option value="1">Animal Nutrition</option></select>
Page Layout Content Type...

PARENT:
<select title="News Category" id="ctl00_PlaceHolderMain_LookupField1_Lookup" name="ctl00$PlaceHolderMain$LookupField1$Lookup">
    <option value="1">Corporate News</option>
    <option value="2" selected="selected">Industry News</option>
    <option value="3">My Volac News</option>

</select>
CHILD:
<select style="width:143px;height:125px;overflow:scroll;" ondblclick="GipAddSelectedItems(ctl00_PlaceHolderMain_ctl04_ctl00_MultiLookupPicker_m); return false" onchange="GipSelectCandidateItems(ctl00_PlaceHolderMain_ctl04_ctl00_MultiLookupPicker_m);" title="News Sub Category possible values" multiple="multiple" id="ctl00_PlaceHolderMain_ctl04_ctl00_SelectCandidate" name="ctl00$PlaceHolderMain$ctl04$ctl00$SelectCandidate">
<option value="2" title="Liverpool">Liverpool</option></select>
From the above it just seems to be the PARENT of the page layout content type that isn't picking up the correct markup. However, from looking at your SPServices code I can't see anything obvious to tell me my the markup isn't being built correctly.

Any further help appreciated.

Thanks.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>