I have a form with BoundFields in it and I need to get ClientID(s) for control(s) associated with each BoundField I have in the form.
How can I do it?
UPD: I do not have control id. All I have is bound field which can not have an id.
UPD2: I’m trying to write a code like this:
public IDictionary<BoundField, string> GetCliendIDs(FormView formView)
{
// How to find Client IDs for controls which were created for BoundFields
}
Try this:
Where “yourcontrol” is the id of the control in your form. You can find this value by opening the aspx page in source mode and look at the ID value of the control.
Also, you could access the boundfield if you know the location of them in the form control, example: