Hi
I use the XmlFormView control in a Sharepoint webpart to display InfoPath forms.
Having loaded an InfoPathForm to the XmlFormView control is it possible to iterate through InfoPath fields/controls programatically by their element type?
I would like to iterate through all attachment controls but without relying on the control name (i.e. my:Attachment). In pseudocode what I want is to do this for attachment fields:
Foreach field in InfoPathForm
{
if(field is base64Binary)
do something
}
Regards
Christer