Questions

Tag Filter:

Execute SQL from a Button

Answer Accepted
Hi All, I'd like to be able to execute some SQL from a button click. In this case to re-order DB records based on the current data row and data set. Is there a way to do this from an xModPro DataView Control? Thanks
I am returning the "ID" as part of a template list. Using a CommandButton I can successfully reload several templates on the same page. At the moment I have had to put the "user details" as a new template on the same page and call it within the command button. In an attempt to reduce the number of templates on my page I was trying to put the "details" into the "detailstemplate" of the original lis
I've been banging my head against the wall trying to get this working. http://dnndev.com/fiddle/fid/687 I've got what I think is a straightforward command button template in one template, another template below that is supposed to receive the first templates commandbutton click and execute a stored procedure (listdatasource) using the passed parameter. I can run the second template independently w
I know that the command button is supposed to give you the ability to run multiple commands on multiple templates. Is it possible to run multiple UPDATE and/or INSERT queries from a form by specifying as targets the IDs of SubmitCommands in the Command tags? Do I have to try to insert templates within the forms to get this to work or can I access the SubmitCommands directly? I'm building a form wh
In a template I have defined a script block: <xmod:ScriptBlock BlockType="ClientScript" RegisterOnce="True" ScriptId="processmanualpayment"> <script type="text/javascript"> function OpenPaymentWindow(paymentid) { var dest='/office/process_manual_payment/p/'&paymentid; document.location.href=dest; } </script> </xmod:ScriptBlock> Then in the body of the template itself I have this: <xmod:commandButt

Getting Good Answers

How do you get good answers to your questions?   Ask good questions. That means:

  • Good Titles: Give your question a concise but informative title. Rather than "Email Forms", use "Sending multiple emails from forms".
  • Do Your Research: Check out the XMod Pro help file, the XMod Pro Guide on this site, do a search in this Answers forum. Members are friendly and more than happy to help, but it's good etiquette to show you've done your homework.
  • Is It Answerable? Your question should be practical and answerable. Provide clear and accurate details about your specific problem. Be sure to include all the pertinent information or links to images and examples. 
  • Show Your Appreciation: If someone correctly answers your question, come back and ACCEPT the answer. That gives them points and helps others know it was a correct answer. If members know you'll accept an answer, they'll be more likely to spend time on your next question(s).