Hi,
I have created the Infopath form, whcih uses the code behid file for doing calculation. i have added the web reference to the code behind file, got the webservice for doing some calculation. In the infopath form, I am dynamically creating the repeating control and showing the calculated values. when i click the preview it is properly showing the data.
when i am trying to show the infopath form in the xmlformviewer, only the static controls are displaying. dynamic controls are not displaying.
Can any one tell be what might be the problem?
I tried the other option,
I have added one button inside the Infopath and in the click event, i try to call the same method which will dynamically create the repeating controls. i have used the Web service to fill the data repeating control, as i did for above method. But from Sharepoint when i click this button it is showing ' Object reference not set to instance of an object'.