or
function
ShowPopUpDialog() {
window.open(
'Details.aspx'
,
'ChartDetails'
,
'height = 300px, width = 300px'
,
true
);
}
Here is the call to Javascript function from chart click event
Protected
Sub
RadChart2_Click(
ByVal
sender
As
Object
,
ByVal
args
As
Telerik.Charting.ChartClickEventArgs)
Handles
RadChart2.Click
Session(
"ChartReference"
) =
"AccountSize"
RadChart2.ChartTitle.ActiveRegion.Url =
"javascript:ShowPopUpDialog();"
End
Sub
When I clicked on the chart Title the first time, I see that it is triggering a javascript:_doPostback event instead of my function... It works fine as expected from second click onwards..(after the postback)
Any help to resolve this behavior is appreciated
Thanks.
<
telerik:GridTemplateColumn
UniqueName
=
"gridActStart"
HeaderText
=
"Actual Start"
AllowFiltering
=
"false"
ItemStyle-HorizontalAlign
=
"Center"
><
br
>
<
ItemTemplate
><
br
>
<
telerik:RadDatePicker
ID
=
"actstart"
runat
=
"server"
MaxDate='<%#If((Eval("early_start_display") IsNot DBNull.Value), Convert.ToDateTime(Eval("early_start_display")), CType("10/10/2011", System.Nullable(Of DateTime))) %>'
Width="100px" Calendar-ShowOtherMonthsDays="false"
Calendar-ShowRowHeaders="false" DbSelectedDate='<%# Bind("actual_start") %>' DateInput-DateFormat="MM/dd/yyyy">
</
telerik:RadDatePicker
><
br
>
</
ItemTemplate
><
br
>
</
telerik:GridTemplateColu
mn>