This example demonstrates how to obtain server data from the client. A temporary client property - cpDefaultValue - is declared within the ASPxGaugeControl.CustomJSProperties event handler. This property holds the ASPxGaugeControl’s default value. The ASPxGaugeControl.DefaultValue property specifies this value.
protected void ASPxGaugeControl1_CustomJSProperties(object sender,
DevExpress.Web.CustomJSPropertiesEventArgs e) {
e.Properties.Add("cpDefaultValue", ASPxGaugeControl1.DefaultValue);
}
<dxe:ASPxButton ID="ASPxButton1" runat="server" AutoPostBack="False" Text="Show Default Value"
UseSubmitBehavior="False">
<ClientSideEvents Click="function(s, e) {
alert('Default Value =' + gc.cpDefaultValue);
}" />
</dxe:ASPxButton>