Last post Dec 18, 2008 07:27 PM by Javier Fuentes
Oct 28, 2008 02:25 PM|Javier Fuentes|LINK
I need to acces a chart property (Chart2.Series) that I have inside a Datalist (DataList2) that also is inside a Gridview (Gridview1) in the second column.
Oct 28, 2008 02:56 PM|dcwhisen|LINK
So you have a need to get the property that is inside of a datalist that is then inside of a gridview?
Below is an example of grabbing something inside of nested repeaters. Might be able to help you a little.
protected void RepeaterCategories_ItemDataBound(object send, RepeaterItemEventArgs e)
RepeaterItem ri = e.Item;
if (ri.ItemType == ListItemType.Item || ri.ItemType == ListItemType.AlternatingItem)
Category category = (Category)ri.DataItem;
int categoryId = category.Id;
Repeater repeater = (Repeater)ri.FindControl("RepeaterLogs");
repeater.DataSource = TimeEntry.GetTimeEntryByCategoryId(categoryId);
Oct 29, 2008 12:01 AM|Javier Fuentes|LINK
I forgot to mentioned I am using VB.net in the code behing.
Oct 29, 2008 10:16 AM|Javier Fuentes|LINK
Here is what I have up to now, it looks that work but I do not see the image.
I am using Dundas Chart, this is inside a DataList2, the datalist is inside the 2nd column in a Gridview1.
there is not errors but I can not see the line in the graphic.
Chart0.DataManipulator.FormulaFinancial(FinancialFormula.Forecasting, parameters, Chart0.Series("Measure_Data_Point"), Chart0.Series("Linear"))
I want to know if I am missing anithing in the first 2 lines?
I also replace the second line by:
But The same happened.
Dec 18, 2008 07:27 PM|Javier Fuentes|LINK
I fix this using just one gridview in the RowDataBound.
The code looks like this:
txtmsr2 = txtmsr.Value
' Measure_Data_Point is my Data Value to represent in the Chart
Chart2.DataManipulator.FormulaFinancial(FinancialFormula.Forecasting, parameters, Chart2.Series(