I'm trying to create an edit item form for an XML data source. When I begin the process in SharePoint Designer 2010, it gives me a row for each of the XML elements, with their values in a text box. Is it possible to convert a text box into a dropdown, where the value of the dropdown would replace the corresponding value in the XML document? I would prefer to include static data in the dropdown item list. How can I do this?
Here is what I have so far:
<SharePoint:DVDropDownList runat="server" id="DVDropDownList1{$Pos}" __designer:bind="{ddwrt:DataBind('u',concat('DVDropDownList1',$Pos),'SelectedValue','SelectedIndexChanged','',string($XPath),'notification_day')}">
<asp:ListItem value="0">Sunday</asp:ListItem>
<asp:ListItem value="1">Monday</asp:ListItem>
<asp:ListItem value="2">Tuesday</asp:ListItem>
<asp:ListItem value="3">Wednesday</asp:ListItem>
<asp:ListItem value="4">Thursday</asp:ListItem>
<asp:ListItem value="5">Friday</asp:ListItem>
<asp:ListItem value="6">Saturday</asp:ListItem>
</SharePoint:DVDropDownList>