dotnetnuke-7

Why does DotNetNuke 7.02 give this error during installation: bad module ManagedPipelineHandler

感情迁移 提交于 2019-12-11 19:11:56
问题 (Q) How do I fix DotNetNuke when it gives this error? Handler "ExtensionlessUrl-Integrated-4.0" has a bad module "ManagedPipelineHandler" in its module list I've installed DotNetNuke using videos provided, see next link: http://www.dnnsoftware.com/community/learn/video-library/view-video/video/515/view/details/dnn-7-0-installation-part-1-file-system-configuration The last video (part 4) shows how you "configure" DotNetNuke by navigating to the site. I went to http://www.dnndev.me. When I did

http error 405 method not allowed error with web.API

[亡魂溺海] 提交于 2019-12-11 14:54:35
问题 I know I am not the first one to come across this, but I have tried all the suggested fixes and still can not get it to work. I want to use the DELETE and PUT verbs with my web.API services and DNN 7. Here is my code for the service: routeManager.MapHttpRoute(moduleName, "deleteproduct", "{controller}/{action}/{ID}", New String() {"Krisis.Modules.KrisisStore.Services.Controllers"}) ' DELETE: /deleteproduct/ <HttpDelete> _ <ActionName("deleteproduct")> _ <ValidateAntiForgeryToken> _ Public

Get HTML Module Contents by Module ID in DNN

只愿长相守 提交于 2019-12-11 13:57:12
问题 I'm developing a custom module in C# and would like to get the contents of an HTML module that is located in the site to display as part of my module. How can I go about getting the html contents. For instance, if I had a module with an ID of 746 I would like to call it with something similar: var objModule = new ModuleControler(); var myModule = ModuleControler.GetModuleContentsByID(746); myLabel.text = myModule.html; Is there a way to do this? All the classes that I have reviewed seem to be

Upgraded to WebAPI2 and DotNetNuke 7.2.1 and all services returning 404.0

非 Y 不嫁゛ 提交于 2019-12-11 08:22:20
问题 I wrote some WebAPI controllers using WebAPI for DotNetNuke 7.0 using this method Everything worked great. Today I upgraded DNN to 7.2.1 and upgraded my projects to ASP.NET Web API2 and my services on my local machine are now not working - they return "HTTP Error 404.0 - Not Found". I think it is something to do with IIS and extensionless URLs - I checked IIS and DesktopModules is not an application as suggested here. I tried Fiddler and F12 Debugging tools and the message is giving no clues

How to prevent autofill of previous data in ASP:Textbox?

99封情书 提交于 2019-12-11 07:29:55
问题 I have 2 simple controls. When my page loads, it automatic fills up. I got following reference which suggests to set Autocomplete = Off Stop browser from filling textboxes with details https://forums.asp.net/t/1107643.aspx?How+do+you+disable+history+info+on+a+textbox+ But it doesn't work. You can see above screenshot. It is email field which automatically filled by reference of cache when page loaded. It is going to be headache. Can anybody please suggest me how to prevent this? Please note,

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.

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 Call ajax from a module

丶灬走出姿态 提交于 2019-12-02 13:51:45
问题 I am now trying to build a dnn module using ajax calls. But there is a jquery error stating SyntaxError: Unexpected token < I have tried to work around with ajax "url: " and tried to create a new ascx at the root folder but still showing error 404. My ajax call is as below $.ajax({ url: "NewsManagement.ascx/Add", contentType: "application/json; charset=utf-8", dataType: "json", method: "POST", beforeSend: function () { }, cache: false, data: { title : $('#txt_Title').val(), news_content : $('

Dotnetnuke Call ajax from a module

本秂侑毒 提交于 2019-12-02 06:53:57
I am now trying to build a dnn module using ajax calls. But there is a jquery error stating SyntaxError: Unexpected token < I have tried to work around with ajax "url: " and tried to create a new ascx at the root folder but still showing error 404. My ajax call is as below $.ajax({ url: "NewsManagement.ascx/Add", contentType: "application/json; charset=utf-8", dataType: "json", method: "POST", beforeSend: function () { }, cache: false, data: { title : $('#txt_Title').val(), news_content : $('#txt_Content').val(), image : $('#file_Image').val(), chapter_id : $('#sel_Chapter').val(), is_draft :