-
Hello,
The easiest way to prevent this is to set a global flag (variable) which states that your OAC event handler is making DOM changes. Then at the top of your handler, if that flag is set to true, return out and don't process that event further.
Then just set the flag to false when done, so that you handler works again later. Here is the ...
-
Hello,
Here is the list of methods available in SharePoint web service,
http://<server Name>/<Site Name>/_vti_bin/UserGroup.asmx
-
Hello,
In InfoPath form row order should display in the order of returning the rows from database. We can't the change order of returning rows using rule. Here are the two alternatives,
1. If you know exactly for giving input value return null or no change for output then we can add this condition to that rule.
2. We can write the code to ...
-
Hello,
If you want set the 4 text box values depending on the selection using code follow this steps.
Insert onAfterChange event for dropdown field.
In onAfterChange event you have to write the below code,
string dropdownValue = e.site.Value;
//Secondary DOM is contains of text box values
//Get the textbox1 value form secondary dom
string ...
-
Hello Welcome to the Forums,
You have to take one secondary receive connection as 'XML Document' with original list of values.
-
Hello,
Here is the below code to submit the xml,
string connectionString = "Get the connection string";
SqlConnection sqlConnection = new SqlConnection(connectionString);
SqlParameter sqlParameter = new SqlParameter("xmlDocument", <Inpur XML String>);
try
{
sqlConnection.Open();
SqlCommand sqlCommand = new ...
-
Hello,
You can check same as above steps for each row by clicking on "Next Row" button in Table Properties. Verify once if you enter any "Enter" (Line breaks) in your form.
-
Hello Welcome to the Forums,
Undo operation also executes Changed and Validating events. Do you want to stop this operation then you have to include one line code in your solution,
if(e.IsUndoRedo)
{
return;
}
This above condition will works for Validating and Changing events but not works for Changed event.
-
Hello Welcome to the Forums,
You have to verify once check box properties as below,
1. Default state is cleared
2. Value when cleared : false
3. Value when checked: true
Same like above properties check for option button also. Is it both the values are same or not?
-
Hello,
You have to write the below code in onClick event of your button,
1. For getting the text box value,
string textValue = XDocument.DOM.selectSingleNode("XPath of your field").text;
2. Prepare the url using above value.
3. Using below code we can open the form,
Application.XDocuments.New(<Url of the form>, ...