Questions

Tag Filter:
I've tried this to no avail (just the important parts of the code are shown in the fiddle)
I have a multi-view template and would like to use the parameter being passed (via command link) to the secondary template in its itemtemplate. XMP isn't allowing me to use this parameter as a valid field token. Is there a way to use a passed parameter as a field token within a secondary templates itemtemplate? Example, commandlink is passing the parameter named OfficeId to a secondary template as
<CustomCommands> <DataCommand CommandName="HideItem" CommandText="Update FSVS_Ontrack set Status = 'Hide', updated = getdate(), updated_by = @user WHERE [id] = @id"> <Parameter Name="id" /> <parameter name="user" /> </DataCommand> </CustomCommands> <DetailTemplate> <xmod:CommandLink Text='Hide' OnClientClick="return confirm('Are you sure you want to hide this?');" Redirect="http://dnndev.com"> <Co
Is there a way I can run a command link or equivalent to update a 2nd template on the same page. The reason I believe I need to do this from Jquery is because I am using Kelly's Search/sort example to find the list of records, then I want a commandbutton/link equivanet to pass the ID to the 2nd/3rd templates etc. Becuase I am using: <<<<td style="text-align:center;" data-bind="text: USERID">>>><<<
I have a template with a detail view in place that uses a commandlink to load list and deatial pages on the same page. Is it possible to use the same commandlink and add a onclientclick to use a popup? I have tried this and cannot make it work.

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).