Dim
vChartSeries =
New
ChartSeries(
"Series 1"
, ChartSeriesType.Bar)
vChartSeries.YAxisType = ChartYAxisType.Primary
Dim
vChartSeries2 =
New
ChartSeries(
"Series 2"
, ChartSeriesType.Bar)
vChartSeries2.YAxisType = ChartYAxisType.Secondary
RadChart2.AddChartSeries(vChartSeries)
RadChart2.AddChartSeries(vChartSeries2)
RadChart2.PlotArea.XAxis.AxisLabel.TextBlock.Text =
"AAA"
RadChart2.PlotArea.YAxis.AxisLabel.TextBlock.Text
"BBB"
RadChart2.Series(0).DataYColumn =
"value_column_left"
RadChart2.Series(1).DataYColumn = "
value_column_right"
RadChart2.PlotArea.XAxis.DataLabelsColumn = "
groupby_column"
RadChart2.DataSource = getDataSource()
RadChart2.DataBind()
Hi I have a radlistview that gets random items from the database, each item has two buttons inside add to wishlist, add to cart.
I wanna do a clientside event to a javascript that triggers an event in codebehind without
reloading the webpage. Each button has two arguments that needs to be posted
back to a code behind event.
I cant use ajaxpanel for the radlistview considering it's getting random items, it wont work because the id value of the index wont be the same after postback. didnt even work when I put the buttons directly inside a radajaxpanel.
What I would like to know what is the best way in with RadControls to do this with javascript AJAX event...
A working sample would be appreciated because I have searched all over the web and in teleriks vast resources but havent been
able to find something that works nor figure it out on my own. this will also trigger a external
ajaxpanel to reload and show the result of the button clicked but thats an easy fix when the rest is solved.
Thanks,
<
telerik:GridTemplateColumn
HeaderText
=
"Description"
SortExpression
=
"Description"
UniqueName
=
"Description"
>
<
ItemTemplate
>
<
asp:Label
runat
=
"server"
ID
=
"lbDescription"
Text='<%# Eval("Description")%>'></
asp:Label
>
</
ItemTemplate
>
<
EditItemTemplate
>
<
telerik:RadTextBox
ID
=
"tbDescription"
Width
=
"300px"
TextMode
=
"MultiLine"
Text='<%# Eval("Description")%>'
runat="server" />
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
Hashtable d =
new
Hasthable();
for
(
int
i = 0; i < partK.Length; i++)
{
d.Add(partK[i], partV[i]);
}
GridDataItem[] gdis = listGrid.MasterTableView.FindItemsByKeyValues(d);