Jump to content
Software FX Community

OnUserCommand event cannot be fired when RenderFormat=".Net"


shane2004
 Share

Recommended Posts

Two things:

1) ToolBar commands are NOT sent back to the server when using the .NET Client Control. The UserCommand event is fired in the client and can be captured using JavaScript. You can then post a call back to the server by either doing a postback or an AJAX call.

Check out the following KB articles for details about capturing events in the client and sending AJAX callbacks to the server:

Q6141001. Security settings required by the .NET client control

URL: http://support.softwarefx.com/ShowArticleSep.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/614/1/001.htm?_r=1

Q7651001. Chart FX for VS 2005 and AJAX

URL: http://support.softwarefx.com/ShowArticleSep.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/765/1/001.htm?_r=1

2) When rendering a custom command as an image, you need to provide an image file for your command and place it under: /yourapplication//UserCommands/<your command id>.png.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...