Link to home
Start Free TrialLog in
Avatar of mSprout
mSprout

asked on

Is there anyway to utilize the _databind in SharePoint with a Jquery Plugin?

I have a SharePoint 2010 edit item form, and I want to add the select 2 combo box to one of the fields that is currently using checkboxes, is there a way I can use the databind that is already on the form as opposed to using AJAX/REST?

	<td width="400px" valign="top" class="ms-formbody">
							<SharePoint:FormField runat="server" id="ff6{$Pos}" ControlMode="Edit" FieldName="Policy_x0020_Type" __designer:bind="{ddwrt:DataBind('u',concat('ff6',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Policy_x0020_Type')}"/>
							<SharePoint:FieldDescription runat="server" id="ff6description{$Pos}" FieldName="Policy_x0020_Type" ControlMode="Edit"/>
						</td>

Open in new window

 __designer:bind="{ddwrt:DataBind('u',concat('ff6',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Policy_x0020_Type')}"

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of mSprout
mSprout

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mSprout
mSprout

ASKER

Just a bit of googling.