User (Legacy) Posted March 18, 2005 Report Share Posted March 18, 2005 I have read the article at http://support.softwarefx.com/news/ForumFrame.aspx?Forum=chartfx.net.general&Article=ge5bfsgdeha-196.htm . But I still have no idea to handle the Right-click UserCommand. Could you tell me in this format : <script lang="JavaScript" for="Chart1" event="UserCommand( ? ? ?... )"> Or, something that I need to know. Thanks a lot! Link to comment Share on other sites More sharing options...
Software FX Posted March 21, 2005 Report Share Posted March 21, 2005 To capture the UserCommand event (client-side): <object id="Chart1" classid="/chartfx62/download/chartfx.internet.client.dll#SoftwareFX.ChartFX.Internet.Client.Chart" WIDTH="600px" HEIGHT="480px" ><PARAM NAME="DataPath" VALUE="/chartfx62/temp/CFV0716_0241002F1AE.CHW"></object><SCRIPT LANGUAGE="JavaScript" FOR="Chart1" EVENT="UserCommand(commandID)"><!--// Your code for processing the user commands goes here--></SCRIPT>Note that in order to receive Client-Side events, MainClient must be set toFalse in the server:<%Chart1.MainClient = false;%>--FPSoftware FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted March 21, 2005 Author Report Share Posted March 21, 2005 Thanks a lot! Although it is enough to me, but I want to know more deeply, ex: what attributes do attach to the "commandID", etc. Can you direct me to any document mention about these? Because I can't find it in API help document, and I don't know how to find these in your web site. Thanks again. "SoftwareFX Support" <noreply@softwarefx.com> Link to comment Share on other sites More sharing options...
Software FX Posted March 22, 2005 Report Share Posted March 22, 2005 Sorry I do not understand your question. What do you mean by "what attributes do attach to the "commandID", etc." ? CommandId is just an integer, the ID that was assigned by you when you created your custom command (AddCommand method). -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted March 22, 2005 Author Report Share Posted March 22, 2005 Sorry! My English is very poor. Not only "UserCommand", there are many EVENT handle forWEB form not including in API document. I just hope to get more detail about that. So, Do any article on your web site? "SoftwareFX Support" <noreply@softwarefx.com> Link to comment Share on other sites More sharing options...
Software FX Posted March 24, 2005 Report Share Posted March 24, 2005 Ok. I got it. What you are looking for is the following KB article: Q7121019. Accessing Chart Events from the Client-Side when generating .NET Client Controls -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.