SPCascadeDropdowns - Custom Web part

Dec 6, 2012 at 11:10 PM

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

Coordinator
Dec 7, 2012 at 3:16 AM

T:

Please see this thread
http://spservices.codeplex.com/discussions/405545
It just so happens that someone else asked basically the same question yesterday.

Thanks,
M.