Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
Gauge LoadPreset
posted

Hi

The LoadPreset command does not appear to work unless I am missing something blatantly obvious.

I have a simple aspx page with a gauge control and a webdropdown.  When the dropdown changes, I want the gauge to reload a saved preset xml file thus:

UltraGauge1.LoadPreset(PresetFolder & ddlGaugeType.SelectedValue,

 

 

True

)

 

  • 26458
    Offline posted

    Seems you're using the method correctly. Is it possible that there's a discrepancy between the actual path and the expected path? It could be that you need to map the preset folder path using Server.MapPath.