dotnetnuke

How to redirect to another View(UserControl '.ascx') in DotnetNuke?

时间秒杀一切 提交于 2019-12-11 04:22:47
问题 I am new in DotnetNuke. I don't know all the terminology of DotnetNuke. Please correct me. That will help me to improve. I have create a Simple Project with 2 UserControl. 1- View.ascx, 2- ModuleInfo.ascx 1- View.ascx: It contains a button. I want to redirect it to another User Control ModuleInfo.ascx Here is code. protected void btn1_Click(object sender, EventArgs e) { Response.Redirect(DotNetNuke.Common.Globals.NavigateURL("ModuleInfo"), true); } 2- ModuleInfo.ascx It contains static table.

Adding services framework (web api) to DNN7 module

左心房为你撑大大i 提交于 2019-12-11 02:18:45
问题 I'm trying to integrate the Web API into DNN7 module. Controller & Mapper: namespace MyControllers { public class ExampleController : DnnApiController { #region "Web Methods" [DnnAuthorize()] [HttpGet()] public HttpResponseMessage HelloWorld() { try { string helloWorld = "Hello World!"; return Request.CreateResponse(HttpStatusCode.OK, helloWorld); } catch (System.Exception ex) { //Log to DotNetNuke and reply with Error Exceptions.LogException(ex); return Request.CreateErrorResponse

Dotnetnuke 8 module development error in visual studio 2013

落花浮王杯 提交于 2019-12-10 23:34:35
问题 I have successfully installed DNN 8 and all configuration. i am also referring video to develop module in visual studio. https://www.youtube.com/watch?v=AKCYRPuoXF4 when i am trying to build the project then error comes like: Error 17 The type or namespace name 'DotNetNuke' could not be found (are you missing a using directive or an assembly reference?) C:\websites\dnndev.me\DesktopModules\MyDNNModule\MyDNNModuleModuleSettingsBase.cs 13 7 MyDNNModule Please help to solve that. thank you in

Access to ModuleID and PortalID in asmx webservice file in DotNetNuke

本小妞迷上赌 提交于 2019-12-10 23:16:24
问题 I have an asmx webservice file in my DotNetNuke module.How can I access to PortalID and ModuleID in this asmx file . when I try this code that works fine in code behinde .ascx.cs file it return portalID=0 , ModuleID=1 private Components.Setting _ModuleSettings; _ModuleSettings = new Components.Setting(PortalId, ModuleId); 回答1: Module settings require that you be within the context of a module. An .asmx service is not going to have that level of context. 回答2: EDIT The below is still true,

DotNetNuke 5.6.2 - Can Community Edition Users utilize the DNNRadMenu? [closed]

你离开我真会死。 提交于 2019-12-10 18:05:01
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . There is uncertainty surrounding the use of DNNRadMenu in the community edition of DotNetNuke. It is my understanding that as of DNN 5.6.2, it is OK for community edition users to use (and modify) the DNNRadMenu wrapper, but these users/developers will not have access to the core telerik code (which is bundled

How to store data temporarily in DotnetNuke 7?

∥☆過路亽.° 提交于 2019-12-10 16:46:50
问题 I am new in DotnetNuke. Feel free to suggest me correct terminology. I am working on DotnetNuke 7. I use C#. I have a table with 30 string fields and it can have maximum 50 records. Currently I am managing it using Database. I think it's not much data and I should store it in local storage(if any) which can be faster than get data from database. Can anybody suggest me if there is any local storage (temporary) and life of it in DotnetNuke? Also please suggest me about my idea of switching over

DotNetNuke — Are All Logins Tracked Anywhere?

耗尽温柔 提交于 2019-12-10 16:20:49
问题 I know you can find the last time a user logged in from the Users table, in the column called "LastModifiedOnDate". But I'm interested in finding the complete history of timestamps for when a user has logged in. Is this possible? If so, in what table is this info stored? Thanks! 回答1: There's an event stored in the Log Viewer (i.e. the EventLog table) for each successful login. However, the default settings are to only store the last 10 of these events. You can go to the Log Viewer page (under

Does DotNetNuke 6 support Ajax Control Toolkit?

回眸只為那壹抹淺笑 提交于 2019-12-10 04:17:30
问题 Does anybody have successfully working module in DNN 6 with the Ajax Control Toolkit? My modules stopped working when we migrated from DNN 5.x to to 6.x. Modules compile without errors but I am getting client side script error: 'AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll' Seems like this is conflict with Telerik's controls

Deploying DotNetNuke and separate ASP.NET Application together - Possible Issues?

杀马特。学长 韩版系。学妹 提交于 2019-12-09 12:24:39
问题 I am making this in a proactive attempt to head off any potential problems which could arise from this. The situation is that we are developing an ASP.NET application for a client which will handle the online ordering from their customers. This application is going to be using the same database that their current WinForms application uses (no real issue here). At the same time we are developing a new front-end website for them using DotNetNuke. The DotNetNuke app will simply be linking to the

Print to DotNetNuke Event Log/Viewer

£可爱£侵袭症+ 提交于 2019-12-09 08:58:55
问题 For debugging purposes, how can I print to the event log/viewer in DotNetNuke, using VB.NET or C#? 回答1: From http://www.ventrian.com/Resources/Articles/tabid/213/articleType/ArticleView/articleId/330/Logging-to-the-EventLog.aspx (just the relevant part of the article): Using the event log in code is quite simple, the code is as follows:- First, create an instance of the EventLogViewer... Dim objEventLog As New DotNetNuke.Services.Log.EventLog.EventLogController Next, log the event you wish to