Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

NI controls does not work with componentArt controls.

NI controls like tanks, meters etc does not work when componentArt controls are also added in the same .asp page. Any idea why?
0 Kudos
Message 1 of 5
(3,310 Views)

Hi skumar70,

Could you please elaborate on what you mean our controls don't work? When you add componentArt controls to the web form:

- Do our controls disappear?
- Do they generate some error?
- Are our controls not visilbe at run-time?
- Does just simply having both controls on the web form cause problem or do you have actual code as well associated with your web page and you are seeing problems at run-time?

What version of Measurement Studio are you using?

Best Regards,

Jonathan N.
National Instruments
0 Kudos
Message 2 of 5
(3,291 Views)

Hi Jonathan,

As soon as we add componentArt controls  in the web form, NI controls like tanks, thermometer, meters etc stops updating their values. They become still even though the our program is constantly changing their values. So

-Controls dont dissappear but remain still instead showing changed values.
-They dont generate any error.
-NI controls are visible at run time but they are still.
-We have code as well which works fine with NI controls as long as there are no webcomponentArt controls in the web form.

There is another problem with NI controls. If NI controls are added inside an updatePanel (of Ajax) and we constantly update the Ajax updatePanel with new values for NI controls, 50% of the time NI controls update and 50% of time they remain still (without updating graphics).

Appreciate your help.
regards
skumar70

0 Kudos
Message 3 of 5
(3,287 Views)
Hi skumar70,

When you drop those componentArt controls onto the web form, does your web.config file update? We use httpHandlers to update our controls and the componentArt controls modified and removed some information from the web.config file, that would explain the behavior. Diff the web.config files before and after adding those componentArt.

To address your second question about Ajax, our current controls are not supported with Ajax.  My guess is that you are firing a postback sometimes and that's why you are seeing that it works sometimes. We are working on providing Ajax support in the future. You are actually the first customer that has mentioned they are using Ajax.

The only thing similar to the updatePanel control that we have right now is the AutoRefresh control.

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 4 of 5
(3,283 Views)
Hello skumar70,
 
Also, specifically which componentArt controls are you using and which Measurement Studio controls are you using?  We want to document this as we continue to add support to our UI components.
 
Thanks
0 Kudos
Message 5 of 5
(3,274 Views)