|
|
|
|
|
4 Replies and 621 Views
DAL2 - How to count records? 621 4
Started by Michael Tobisch
Hi all,
I need to count records in a module. I wrote a stored procedure:
CREATE PROCEDURE dbo.dnn_CountOutdatedRecords
ModuleID int,
StartDate datetime
AS
BEGIN
SET NOCOUNT ON
SELECT
COUNT(*)
FROM
dbo.dnn_Records
WHERE
ModuleID = ModuleID
AND StartDate
In the controller I wrote the following code:
public int OutdatedRecordsCount(int moduleID, DateTime startDate)
{
int outdatedRecordsCount;
using (IDataContext ct...
|
|
|
|
4 |
621 |
|
|
0 Replies and 557 Views
DNN MVC Module with Hierarchy Id 557 0
Started by Cameron K
Hello everyone! Quick question here. Has anyone used the sql hierarchy id type in their dnn mvc module with peta poco Do you need to write a custom query to cast the data type Do you need to add sql server types to the project
Thanks!
|
|
|
|
0 |
557 |
29 Apr 2020 02:03 PM |
|
1 Replies and 504 Views
dnnTabs - set active tab 504 1
Started by Michael Tobisch
Hi all,
I have a strange problem with the dnnTabs() jQuery plugin.
Part of the ascx file (&91; = ):
&91;div id="TabsPanel" class="dnnForm"&93;
&91;asp:BulletedList ID="TabHeader" runat="server"
CssClass="dnnAdminTabNav"
DisplayMode="HyperLink" /&93;
&91;!-- The rendered output of this looks like
&91;ul class="dnnAdminTabNav"&93;
&91;li&93;&91;a href="Tab1"...
|
|
|
|
1 |
504 |
|
|
4 Replies and 680 Views
DNN 9.1.1 and Site Setting 680 4
Started by progmr
Hi, I&39;ve a DNN site. Current is v9.1.1, started is 8.0.3
I developed custom modules and I add some custom setting inside Module Settings Tab (https://invisiblefarm-my.sharepoint.com/:i:/p/m_rodella/ESjvH3GWw2NCgm_y40mwbvsBzTHNDUF2mQ3wl_zlQtx0zge=6WDx3t)
I used this code
ModuleController moduleController = new ModuleController();
PortalSettings portalSettings = (PortalSet...
|
|
|
|
4 |
680 |
|
|
0 Replies and 597 Views
Confirm Import 597 0
Started by Michael Tobisch
Hi,
I have a module that for certain reasons has to delete all it&39;s content when I start an import. Is there a way to display a warning when the user clicks on the Import module action, and confirm it Something like "Importing deletes all the current content and replaces it with the imported content. Are you sure you want to continue &91;Yes&93;|&91;No&93;"
Or ist that behaviour normal enough, so everyone is aware of this The HTML behaves like this, for example.....
|
|
|
|
0 |
597 |
15 Apr 2020 09:57 AM |
|
4 Replies and 471 Views
CKEditor - HTML Encoding 471 4
Started by NathanH
Hi Everyone
After some fun I have finally built my first custom module, I have leveraged the DNN CKEditor which seems to work well until I start testing it using real world scenarios.
I copy and paste some well formed HTML into the editor and it encodes all of the html tags. eg in source I enter hi which gets saved as <b>hi</b>
After researching this seems to be well complained about behaviour with no option to truely tell CKEditor to leave the htm...
|
|
|
|
4 |
471 |
|
|
2 Replies and 752 Views
KendoUI 752 2
Started by Luke
I HAD THESE working, and removed something not needed & now they are broken again, &91; DNN 9 &93; - new Module
I FEEL it has to do with jQuery, because the SAME code works as HTML but when installed into DNN it keeps trowing errors. If I add JQuery to the Module it has errors,
JavaScript.RequestRegistration(CommonJs.jQuery) -- Tried this too, no errors, but controls do not render.
Is there a way to override JQuery from DNN with or to...
|
|
|
|
2 |
752 |
by Luke 03 Apr 2020 04:18 PM |
|
2 Replies and 492 Views
Integrating Dropzone - Reference Issue 492 2
Started by Navilois
Hey!
I&39;m trying to set up Dropzone file upload on my DNN 9.4.4 site - Hotcakes 3.2.3 is installed as a module as well.
In order to handle the files on the server side, I used the latest DNN template by Chris (https://github.com/ChrisHammond/DNNTemplates) to create a C DAL2 MVC Module and followed his instruction videos https://www.youtube.com/watchv=gUZ...p;index=11
Since the target framework in DNN 9.4.4 is .NET 4.7.2 I changed it on the template as well.
After that, I added my Co...
|
|
|
|
2 |
492 |
|
|
1 Replies and 566 Views
Validator errormessage is not displayed 566 1
Started by Michael Tobisch
Hi,
I have a strange problem, and it seems that this is pretty much the same as described here: https://stackoverflow.com/questions...ter-upgrad
The problem is not that the validator does allow to submit when invalid data is inserted, but the error message is not displayed. The form is not submitted, but the user has no idea why.
The validators&39;s CssClass property is set to "dnnFormMessage dnnFormError", and does not display the error message when it should (eg, a Req...
|
|
|
|
1 |
566 |
|
|
1 Replies and 563 Views
Proxy Module 563 1
Started by Aman
Hi, is there any DNN module that acts as a proxy i.e. gets the content from another server and returns to the browser
Currently, we are using iFrame module along with an external Proxy server. However, this is not SEO friendly and the search engine is bypassing it.
The Proxy Module is expected to translate the URL, get the content from another internal server, and stream it back to the server. I am hoping that someone else may have also come across this need and created it.
|
|
|
|
1 |
563 |
|