Dynamic addition of item to DropDownList

S

Shinonome

Hi,

I want to add the item to the list of the drop down on the form.

C# code.

OnClick
{
IXMLDOMNode nodeDropDownList ;
System.Web.UI.WebControls.DropDownList ctrlDropDownList ;
 
F

Franck Dauché

Hi,

Unfortunately, in InfoPath, you don't have control over your UI through
managed code. What you need to do is to link your drop-down at design time
to a Web Service for the values to be set at runtime.

Hope that it helps.

Regards,

Franck Dauché
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top