Jump to content
Software FX Community

Template buttons


jvwiv

Recommended Posts

Is there a way to add a confirmation dialog box to your custom command buttons? 

Essentially, I want to have the user confirm the action the button is going to perform, similar to what I can do with an ASP.net button, which I can add to the grid template, but after processing one button, I am loosing visibility into the grid items collection (the results of which are nothing (seperate post)).

 

Link to comment
Share on other sites

Hi,

Unfortunately, there is no easy way to do that.  I realize that is a pretty bad oversight, so I will be putting that into the next service pack.  It will be out in less than a month.  Here are some ideas for properties:

ConfirmationText.  This will throw up a confirmation dialog that will determine whether the command is executed.

ConfirmationType.  I was thinking this could give them the option to have OK/Cancel buttons, or just OK.

OnClickingScript.  Script run before command is run.

Have you seen the Grid FX confirmation dialog, like for when you delete a row?  These look a lot nicer than the traditional browser ones.  Would you be interested in having that available?

Link to comment
Share on other sites

Hi Stephen,

Yes, having this available would solve many of my issues.  The 3 options you listed would be great.  Using you dialog box is also a good option.  Please let me know when this will be available as I have a new solution I'll want to roll out as soon as I have these features. 

John

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.

×
×
  • Create New...