-
Hi,
I wan't to refresh my primary datasource with the data of an xml but how to replace the structure of root element : Case
I have try this:
thisXDocument.DOM.selectSingleNode(''/ns1:Case'').xml= ModGeschaeft;
ModGeschaeft is an IXMLDOMNode
but VS say that : thisXDocument.DOM.selectSingleNode(''/ns1:Case'').xml
is read only
Is there any ...
-
Hi,
Is there any way to make asynchronous event? I wan't to query my webservice with a c# code but I don't need to have the answer directly! Is there anyway to continue to fill out my form during this call to my weservice?
I hope you understand!
++
Thierry
Every moment hesitated is a moment gone for life!!! Think about it
-
Hi Greg and Patrick, Thanks for your help!
I have understand why now!
The problem is that infopath can not have an optionnal attribute so when the attribute is an integer(for example) he always send this attribute and if it is empty he make an error of validation (like all other xml parser)!
So a good challenge for the next version of infopath ...
-
Hi Reetus,
This is a brief response for now as it's getting late here on the Pacific coast. It occurs to me that you are trying to implement some kind of multi-select functionality using multiple list boxes. Using your current approach, you might consider writing an OnContextChange event handler that captures the selection state of the second ...
-
Depending on the output of your condition (true/false) it it will allow users to add/delete rows in the repeating table.
Agni
InfoPathDev India
-
Hi Richard,
1 - yes, just set the value of the node. You don't need code though. You can use a rule to do this or call out to xdExtension from the default value function.
2 - just a default I think. If it wasn't the first item in the list what would it be?
Have you seen our Smart Combo Box? Check it ...
-
2 questions:
1- Is there a way to change the selected item in the DropDown by code ??
I query the dataconnection that the dropdown is bound to via C# code,
in addition, I want to set the selected item for this dropdown via C# code .
2- The standard behaviour of the dropdown is to have selected on the item whose value is 0 .. What is the idea ...
-
Hi All,
I have a dopdown list box called drpClient on infopath form which displays the Client Names from the Sharepoint list. Depending on the Client selected I need to populate the projects related to that Client in a listbox called lstProjects. The data in the lstProjects listbox is retrieved from the Sharepoint list. I have a filter on the ...
-
Thanks for the response. If I add the conditional format to the table, wouldn't that prevent users from Inserting records as well as deleting them?
-
//get new value of the present row
string sNewValue = e.NewValue.ToString();
//get the repeating nodes, ''RepeatingNode'' here you need to write the xpath so that you will get only the nodes which are equall to the new value
IXMLDOMNodeList oNodeList = getNodes(string.Format(''//RepeatingNode[. = {0}]'', sNewValue));
//check if the ...