DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.
Search this forum:
Search
You are not authorized to create a new topic
Page 2 of 15 << < 12345 > >>
Topics
Replies
Views
Last Post
5 Replies and 1949 Views ModuleSearchBase problem     1949 5 Started by fatgl Hi, I have a custom module I need to be searchable from DNN search. So I have added a Controller class to my module that extends ModuleSearchBase with GetModifiedSearchDocuments method. I added the namespace in the module settings. However since I added the namespace the module crashes and throws this exception the log: Value cannot be null. Parameter name: type InnerStackTrace: in System.Activator.CreateInstance(Type type, Boolean nonPublic) in System.Activator.CreateInstance(Type type) i...
5 1949
by David PoindexterJump to last post
9/21/2023 11:14 AM
3 Replies and 325 Views Compilation problem when upgrading to DNN 9.12     325 3 Started by Stéphane Tétard Hi I&39;m trying to update a Class Library Project to make it compatible with DNN 9.12.0 but I&39;m facing to the following error: SGEN : error CS0012: The type &39;System.Collections.Generic.ICollection`1&39; is defined in an assembly that is not referenced. You must add a reference to assembly &39;netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51&39;. First, I changed the project references to use the DNN 9.12.0 assemblies and I configured the project ...
3 325
by Will StrohlJump to last post
9/8/2023 10:18 AM
4 Replies and 542 Views Changing the title of a module control programmatically     542 4 Started by Michael Tobisch It is easy to change the title of a module programmatically, something like private void Page_Init(object sender, System.EventArgs e){    ModuleConfiguration.ModuleTitle = "Whatever"; } But how can I do this for a control (eg. "Edit"). I know it is possible in the resource file by adding a key "ControlTitle_edit", but is this possible from the code behind somehow Happy DNNing! Michael  
4 542
by Will StrohlJump to last post
9/5/2023 4:22 PM
0 Replies and 328 Views Making Json and Xml get along at a single endpoint     328 0 Started by Tim Nixon Hi all -- I have an API controller that receives data from several outside services (more property, several outside devices, I guess) via a POST request to a REST endpoint. When I started this project a looong time ago all of the devices were sending XML, so later when a few started needing Json it made more sense to hack in support for that and move on to the next thing. My controller routes POST requests to a parameterless method that looks at the Content-type header and calls an appropriat...
0 328
8/10/2023 11:25 AM
8 Replies and 3247 Views Using dependency injection in a controller class     3247 8 Started by Michael Tobisch Hi all, how can I use dependency injection in a controller class (of a Webforms module) in DNN 9.8.0 What I am trying to do is using IEventLogger (instead of EventLogController) in a Scheduler client. Something like IEventLogger _eventLogger = DependencyProvider.GetRequiredService(); in the constructor. Any help is appreciated. Happy DNNing! Michael
8 3247
by Will StrohlJump to last post
7/17/2023 10:01 AM
0 Replies and 300 Views MVC Module Won't Add to Page on DNN 9.9     300 0 Started by Will Strohl I have an open-source MVC module that won&39;t add to the page on Platform 9.9 and higher.  I don&39;t see any errors anywhere at all.  It just refreshes the page when you expect to see the "tile" to drag around the theme.    I think I heard someone say that an empty business controller class can cause that.  I tried removing it and installing/upgrading, but I have the same issue after removing it.   A link to the issue is below.  I&39;m...
0 300
7/16/2023 8:45 PM
5 Replies and 383 Views CKEditor - Set value inside Repeater_ItemDataBound     383 5 Started by Martin Hi everyone on DNN 9.12.0 I am using TextEditor (CKEditor) inside a Repeater. Inside Repeater_ItemDataBound I try to set a value to the TextEditor. The following error occurs: &39;txtHeaderText.Text&39; threw an exception of type &39;System.NullReferenceException&39;. I am using the following: .ascx < Register TagPrefix="dnn" TagName="TextEditor" Src="~/controls/TextEditor.ascx"> <asp:Repeater ID="rptHeaderFooterText" runat=...
5 383
by MartinJump to last post
7/14/2023 8:58 AM
2 Replies and 1661 Views Need to know about the DNN with React JS     1661 2 Started by 3ART Technologies Company Hi, everyone.  I am working in DNN since 2004 or 2005, but I haven&39;t tried to be  react with DNN before. Can anyone tell me a "Hello world" custom module development tutorial in react js with DNN,  I already have a sound knowledge of creating API&39;s in DNN and the module packaging but i am not getting how react will run with the DNN  Looking forward for the responses. 
2 1661
by Will StrohlJump to last post
6/7/2023 9:48 AM
1 Replies and 690 Views Setting HTTP Response Tracking Cookies     690 1 Started by David Fenske I have a client requesting to add a server-side HTTP Response Header cookie to implement Rakuten advertising tracking in a way that Apple products won&39;t reject (no 3rd party or JavaScript implemented cookies). Apart from my personal feelings about whether this is a good idea, I promised to research it. It looks like it would be pretty simple to implement on a PHP based site, but here&39;s the only thing I can find about implementing it in the ASP.net world: https://learn.microsoft.com/en...
1 690
by Will StrohlJump to last post
5/3/2023 10:40 AM
1 Replies and 477 Views Inject html tag via hard code (C)     477 1 Started by Mahmoud Nouraei Hi, I want to create a provider that injects code into the page. How to inject html code in all pages using a provider For Example: <html> <head> inject code (<link href=&39;www.site.com/home&39; Rel=&39;canonical&39; />) </head> </body> ...... </body> </html>
1 477
by Will StrohlJump to last post
4/19/2023 9:58 AM
You are not authorized to create a new topic
Page 2 of 15 << < 12345 > >>


RSS Feed Available

These Forums are dedicated to the discussion of DNN Platform.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved