Jump to content
Software FX Community

moutainthief

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by moutainthief

  1. Can I use ChartFX inside user control? how to raise postback from chart_click to the parent page? i'm writing in C# language I'm using ChartFX inside User Control (User Control have 1 Panel and 2 controls inside it, ChartFX and Label so I'm implement IPostBackEventHandler to User Control and make Panel and Chart to raise postback when click) and I generate it at runtime like dynamic control while in page_load then i'm add event handler to it. the problem is: In parent page i have listbox to select something then when user push the button on parent page it will postback and generate user control to display graph which is selected by user then first time load. I test it by clicking on some point of series 0 i got warning from IE like "Object Expected" but if I click on somewhere else (in panel) it can raise postback correctly then if I click the point of series 0 again it can raise postback correct too. please help, I get stuck for more 2 days you can see what happen in attach file StatClass.cs is contain the Event structure DefaultGraph.ascx is user control GraphView.aspx is Page that create user control dynamically sorry i can not attach file to the post i will attach it later thanks for your advance
  2. For more information about question I've Chart Fx Control inside the Panel in User Control and other control like Label So, I can add delegate event to have click event for Panel but for Chart Fx I can't how can I do that? (I want to know which point is clicked) and also I can click anywhere on usercontrol to raise click event too. (normally when user click the User Control it raise normal event but when click at some point on chart it will raise special event) ps. I'm sorry about my english is not good. Thanks in advance
×
×
  • Create New...