H,
I am using Infragistics version 8.2 in VS 2008(3.5 framework) for designing UltraChart control. when i drag and drop the UltraChart control into my design view and select the composite wizard to designing the chart. while designing i added ChartAreas, Axes, Data and ChartLayers items and click on finish button. After doing that i need to get the XHTML in my design view, but i did not get any XHTML code in my design source view. But in the infragistics samples ie http://samples.infragistics.com/2008.2/webfeaturebrowser/default.htm charting->composite chart i am able to see the XHTML for the composite chart.
I tried to do the above in, creating the WebApplication and in creating the WebSite, but i did not get the desgin source.
could you please help me out in this regards
Thanks in Advace
Sreeni
Sreeni,
The VisualStudio design surface does not provide you with XHTML of webcontrols. You can see the ASPX which is the declarative format used to define the control, but not the underlying HTML that will be emitted to the browser. If you view the page in the browser, you can get the (X)HTML source. I'm not really sure what you're trying to accomplish or exactly what you need. Can you be a little more specific? What about the CompositeChart example do you need to copy? Can you paste what it is from the composite chart example that you're able to get, along with what you get when you perform the same steps with your own sample website? It's just a little hard to follow without knowing what exactly I'm looking for.
Thanks,
-Tony
Hi Tony,
Thanks for your reply.
I am not able to get the ASPX declarative format which is used to define the control, after draging and droping into the ASPX design view.
Steps i followed:
1) drag and drop the UltraChart control from the toolbox into the ASPX design view.
2) It opens a window with Title "Select a Chart Type to begin"
3) Click on Cancel button
4) Click on the Smart Tag of the ultraChart ->Show chart Wizard, to get popup the same window.
5) From the wizard select the composite chart and try to add CharArea, CharLayers and etc.
6) click on Finish button
7) After clicking finish button, i need to get the ASPX declarative format XML(chart Area, charLayer, etc) which is used as, to define the control.
8) In ASPX source view i am not seeing the declarative Xml for chartArea, chartLayers etc.
9) I called that declarative format Xml in design source as XHTML in my previous post
Thanks
Sounds like a persistence bug in the chart. You can try with a hotfixed version, or there are a few other tricks you can try. I'm a little uncertain why you cancel the designer and then launch it again. If you were to go through the setup process without canceling the designer the first time, does the ASPX get generated properly? If not, try setting a property like the "BackColor" of the chart after you dismiss the designer. This will sometimes trigger the ASPX generation.
Hope this helps,