or
ColumnSeries columnEffluent =
new
ColumnSeries();
columnEffluent.Gap = 1.5;
columnEffluent.Name =
"Effluents traités"
;
columnEffluent.LabelsAppearance.Color = System.Drawing.Color.Blue;
columnEffluent.Appearance.FillStyle.BackgroundColor = System.Drawing.Color.FromArgb(3, 133, 182);
columnEffluent.TooltipsAppearance.DataFormatString =
"{0} m³/j"
;
LineSeries linePluvio =
new
LineSeries();
linePluvio.Name =
"Pluviométrie"
;
linePluvio.AxisName =
"AdditionalAxis"
;
linePluvio.MarkersAppearance.BorderColor = System.Drawing.Color.Red;
linePluvio.MarkersAppearance.BackgroundColor = System.Drawing.Color.Red;
linePluvio.Appearance.FillStyle.BackgroundColor = System.Drawing.Color.Red;
linePluvio.LabelsAppearance.Color = System.Drawing.Color.Red;
linePluvio.LineAppearance.LineStyle = Telerik.Web.UI.HtmlChart.Enums.ExtendedLineStyle.Smooth;
linePluvio.TooltipsAppearance.DataFormatString =
"{0} mm"
;
<ClientEvents OnRowDblClick=
"RowDblClick"
/>
function
RowDblClick(sender, eventArgs) { document.getElementById(
'<%= editJourneyButton.ClientID %>'
).click(); }
<asp:LinkButton ID=
"editJourneyButton"
OnClick=
"editJourneyButton_Click"
runat=
"server"
CssClass=
"btn btn-inverse"
Text=
"Edit selected"
><i
class
=
"fa fa-edit"
></i> Edit Selected</asp:LinkButton>
protected
void
editJourneyButton_Click(
object
sender, EventArgs e)<br> {<br><br> ErrorList.Items.Clear();<br><br>
if
(journeysGrid.SelectedItems.Count == 0)<br> {<br> ScriptManager.RegisterClientScriptBlock(
this
,
this
.GetType(),
"noItemSelected"
,
"noItemSelected();"
,
true
);<br> }<br>
else
<br> {<br> GridDataItem selectedItem = (GridDataItem)journeysGrid.SelectedItems[0];<br> TravelFormUC.resetForm();<br> TravelFormUC.refHiddenField.Value = selectedItem.GetDataKeyValue(
"journeyId"
).ToString();<br> TravelFormUC.setupForm();<br> ScriptManager.RegisterClientScriptBlock(
this
,
this
.GetType(),
"showClaimPopup"
,
"showClaimPopup();"
,
true
);<br> }
function
showClaimPopup() {<br> $(
'#modal-claimform'
).modal(
'show'
)<br> }