This question is locked. New answers and comments are not allowed.
Hi Telerik team,
I have been trying to include action link with parameters in telerik mvc chart control tool tip like i can provide a rough example as follows
series.Line(s => s.Goal.Measuremnt).Name("Your Goal").Markers(markers => markers.Type(ChartMarkerShape.Circle))
.Tooltip(tooltip => tooltip
.Template("<#=category#><br /><#= value #> Steps<br/><script src='" + @Url.Content("~/Scripts/applicationcontroller.js") + "' type='text/javascript'></script><a id='editEntry' href = '" + @Url.Action("_EditGoal", "PedoMeter", new { Value = "<#=value#>"}) + "'>Edit</a>  <br /><a href = '" + @Url.Action("_DeletePedometerEntry", "PedoMeter") + "'>Delete</a>")
using the above iam getting two links "Edit", "Delete" and able to redirect, but the "Value" parameter is not getting populated. i mean <#=value#> is getting diplayed but when we use it in route values in controller i am getting the value as "<#=value#>" but not the orignal value that is displayed in the tooltip.
Hope some one would give a quick reply.
Thanks in advance.
Ashok
I have been trying to include action link with parameters in telerik mvc chart control tool tip like i can provide a rough example as follows
series.Line(s => s.Goal.Measuremnt).Name("Your Goal").Markers(markers => markers.Type(ChartMarkerShape.Circle))
.Tooltip(tooltip => tooltip
.Template("<#=category#><br /><#= value #> Steps<br/><script src='" + @Url.Content("~/Scripts/applicationcontroller.js") + "' type='text/javascript'></script><a id='editEntry' href = '" + @Url.Action("_EditGoal", "PedoMeter", new { Value = "<#=value#>"}) + "'>Edit</a>  <br /><a href = '" + @Url.Action("_DeletePedometerEntry", "PedoMeter") + "'>Delete</a>")
using the above iam getting two links "Edit", "Delete" and able to redirect, but the "Value" parameter is not getting populated. i mean <#=value#> is getting diplayed but when we use it in route values in controller i am getting the value as "<#=value#>" but not the orignal value that is displayed in the tooltip.
Hope some one would give a quick reply.
Thanks in advance.
Ashok