Hi,
This might stump some people.
I am creating my own charts using drawing namespace and I using an image control to draw to.
I have a called "Viewcharts.aspx" with a label and a image control.
I set the src property to the image control like src="Charts.apsx". This calls charts.aspx to draw the chart. The page uses the code
bmap.Save(Response.OutputStream, ImageFormat.Jpeg).
Problem is I want to set the chart headings in the label control in "Viewcharts.aspx".
So I thought I would use the Parent property like this
But this doesn't work.
Any ideas appreciated???
rotsey
This might stump some people.
I am creating my own charts using drawing namespace and I using an image control to draw to.
I have a called "Viewcharts.aspx" with a label and a image control.
I set the src property to the image control like src="Charts.apsx". This calls charts.aspx to draw the chart. The page uses the code
bmap.Save(Response.OutputStream, ImageFormat.Jpeg).
Problem is I want to set the chart headings in the label control in "Viewcharts.aspx".
So I thought I would use the Parent property like this
Code:
Dim l as label
l = ctype(Parent.FindControl("lblHeading"), label)
But this doesn't work.
Any ideas appreciated???
rotsey