Jump to content
Software FX Community

dolsol

Members
  • Posts

    2
  • Joined

  • Last visited

dolsol's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. very very.. thanks frank for your reply ! I will try to develop the contents to see what you told me. i need that to create some javascript functions to handle events. So, Can you help me. i need simple sample source. For example, 'Click Event' How can I do to develop. waiting for your reply.. ChartFx7_bug.zip
  2. hi i want creating dynamic chart. so, i used webControl to chart. i maked webControl 'ExWebChart .cs' next source .. [DefaultProperty("ID")] [ToolboxData("<{0}:ExWebChart runat=server></{0}:ExWebChart>")] public class ExWebChart : WebControl { public ExWebChart() { } private void RenderToPage(HtmlTextWriter writer) { ChartFX.WebForms.Chart createChart = new ChartFX.WebForms.Chart(); createChart.ID = "Chart1"; createChart.RenderFormat = ".NET"; createChart.RenderControl(writer); } } i add webControl in Page. next source... public partial class WebForm1 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { Page.Controls.Add(new ExWebChart()); } } after excute IE, i see html source. <html xmlns="http://www.w3.org/1999/xhtml" > <head><title> </title</head> <body> <form name="form1" method="post" action="WebForm1.aspx" id="form1"> <div> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNzgzNDMwNTMzZGSlm9e254TPxC0VY9mLgBJ8oYXLhw==" /> </div> <div> </div> </form> </body> </html> <script src="/chartfx70/temp/CFT0226_1044241280F.js" mce_src="/chartfx70/temp/CFT0226_1044241280F.js"></script> <script>cfx_replaceChart1();</script> Like to see, it is not exists next source <input type="hidden" name="_Chart1_pers" id="_Chart1_pers" value="" /> <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" /> <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" /> <input type="hidden" name="__Chart1_VIEWSTATE" id="__Chart1_VIEWSTATE" value="CFV0226_1052003C813.chs" /> <script src="/WebResource.axd?d=FoKpfpQHHw6Hf71HRQDHRw2&t=633681528857031250" mce_src="/WebResource.axd?d=FoKpfpQHHw6Hf71HRQDHRw2&t=633681528857031250" type="text/javascript"></script> <script src="/WebResource.axd?d=TdymIgps6GvgTCnkoSb1Qa1OUDE2egYuMl-xc5grG0jz7u3ExLDk64aLPX68LmhkqXJWMtSZQ0D3KlB_4auCLA2&t=633679730980000000" mce_src="/WebResource.axd?d=TdymIgps6GvgTCnkoSb1Qa1OUDE2egYuMl-xc5grG0jz7u3ExLDk64aLPX68LmhkqXJWMtSZQ0D3KlB_4auCLA2&t=633679730980000000" type="text/javascript"></script> <script type="text/javascript"> <!-- function SFX_Callback (chartId, clickId) { WebForm_DoCallback(chartId,clickId,SFX_OnCallbackReady,chartId,SFX_OnCallbackError,true); } function SFX_PostBack (chartId, clickId) { __doPostBack(chartId,clickId); } // --> </script> what's wrong!! plz, tell me heros
×
×
  • Create New...