Leaderboard

Rank Member Pts

Welcome to DNNDev University

DNNDev University LogoJust like a university without the grades and student loan. Think of it more as a merging of the student union and open classrooms. Ask questions, get answers, learn, teach, make friends and contacts.

Find Out More

 

Here's What's Happening on Campus

Andrew Finer

Andrew Finer

My data is showing but when I go to click edit no matter the xmod module I get "ErrorNo Record Found" What do I do?

1 day ago

Andrew Hyde

Andrew Hydeanswered the question How to get to the correct row in the template when returning from a form

If I'm following you correctly, pass the row/record id as a parameter to the edit form, after your edit, redirect back to that template using this row parameter as one of the parameters in your select command.

1 week ago

Andrew Hyde

Andrew Hydeanswered the question Dynamic data source for template

If I'm following you correctly, the best way to do this would be through the SQL in your select command and then filter with a UserID token and the createdondate field in the Users table.

1 week ago

Andrew Hyde

Andrew Hydeanswered the question DateAdd token not working

The colon without a number or variable maybe the culprit, but there's other ways to get current date in SQL. Select Getdate() As CurrentDate SELECT Convert(char(5), DateAdd(HH,1, GetDate()), 108) As CorrectTime /*with server offset as one hour …

1 week ago

Mike Palmer

Mike Palmercreated the topic: User role management with XMOD Pro

I'm using a form to manage users for a Europe wide group. I'm managing user additions by using the <AddUser... > tag with the RoleNames attribute set to a list of roles from a checkbox list. In the EDIT FORM, I'm using <UpdateUser... …

1 month ago

  • Mike PalmerHi All,

    This is getting quite urgent! I'd like to discuss an approach to updating existing users roles using a checkbox list on a form to tick / untick the roles.. I'd like to update roles on submit. Any pointers from the community would be most welcome! DNN 9.1.1 and .NET 4.5.

    Thanks,

    Mike.1 month ago
Jeff M.

Jeff M.answered the question Procedure or function expects parameter, which was not supplied.

Guess the DELETE command can't make Stored Procedure calls. Changed to the following code and this is working properly now. http://dnndev.com/fiddle/fid/710

1 month ago

Jeff M.

Jeff M.asked the question: Procedure or function expects parameter, which was not supplied.

Getting this error: "Procedure or function expects parameter '@disasterID', which was not supplied." See below for the fiddle of code, etc. Have profiler running which shows what XMP is sending to SQL; neither of these work and I get the same error. …

1 month ago

Mark Guercio

Mark Guercioanswered the question LoadFeed - Not loading on refresh

A combination of the things on this page ended up working for me. Turns out that sometimes, its an IE thing. https://viralpatel.net/blogs/ajax-cache-problem-in... Disable ajax caching at top of page using javascript. Anything that links back to this …

1 month ago

Jeff M.

Jeff M.asked the question: LoadFeed - Not loading on refresh

I have the following code working; sort of. The loadfeed isn't passing variables; they're being sent as NULL Anyway, I hardcoded the feed so that information will be shown. I'm attempting a DIV refresh via JavaScript instead of a whole page refresh. I …

1 month ago

Jeff M.

Jeff M.answered the question Refresh Javascript Instead of Page Refresh

I'm re-working the code to remove this. Going to try to do a loadfeed instead of this. But was able to get DIV update working by using the new code. Thanks..

1 month ago