moutainthief Posted September 30, 2009 Report Share Posted September 30, 2009 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 Quote Link to comment Share on other sites More sharing options...
Frank Posted October 22, 2009 Report Share Posted October 22, 2009 For some reason your attachements didn't come throug. Please attach a ZIP file and make it contains no binaries. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.