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

New Post: SPCascadeDropdowns - Custom Web part

$
0
0

Hi,

I'm trying to implement this in a custom webpart rather than a list form but I'm having trouble getting this to work.  I know I've referenced the java script files correctly since I'm able to create a popup message but I'm not able to reference the actual drop down lists in the webpart.  Is this something that's doable or should I be looking else where.

<script type="text/javascript">
    $(document).ready(function () {
        $().SPServices.SPCascadeDropdowns({
            relationshipList: "SubCategory",
            relationshipListParentColumn: "Product",
            relationshipListChildColumn: "Title",
            parentColumn: "ddlproduct",
            childColumn: "ddlsubcat",
        });
    });</script>

The error I'm getting is "Microsoft JScript runtime error: 'childColumnStatic' is undefined"

T


Viewing all articles
Browse latest Browse all 6517

Trending Articles



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