dotnetnuke-module

2sxc : Rename App Folder

谁说我不能喝 提交于 2019-12-12 04:37:15
问题 How to rename app folder the right way? For now, I try this way and don't know it this is OK export app edit content of the zip (rename folder / rename folder name in app.xml) delete app import changed app This is maybe OK for test and development but is there any way for doing this in live site? (without loosing old content?) 回答1: This is very simple :) Rename the folder in the 2sxc Update the folder name in the app-configuration (where you also have the app version etc.) That's actually it

Custom dnn skin can't detect bottom scroll but it works reversed (7.1.1)

北战南征 提交于 2019-12-12 02:27:08
问题 First I thought this is JS issue but this is skin issue. And to mention that this issue is happening to the Chome and FF but in IE it works for some reason. I am designing skin for the first time for DNN and it goes fine until I find out that I have made something wrong :(. I have created a simple skin that have on content pane. In that content pane I added my custom module that load elements dynamically when user scroll to the bottom of the page (I append new elements to the div). And my

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

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

Debugging DotNetNuke Modules

爷,独闯天下 提交于 2019-12-08 07:28:53
问题 What is the best VS solution setup for DotNetNuke 4.8 inter-module communication development? I currently have a solution with multiple Web Application projects in it for my DotNetNuke modules - and in each one of those have pages with the controls on them as a test harness. That all worked fine up until the point where I need the modules to start talking with each other using IModuleCommunicator and IModuleListener - but now that I'm doing inter module communication, debugging won't work out

Module Localization in DNN

依然范特西╮ 提交于 2019-12-05 09:13:20
I don't know much about the localization process in DNN. The question is that how can you localize a new module? Is it possible to include localization files with every module separately? What solutions can you come up with? karbonphyber Localization of a module is pretty easy thanks to DotNetNuke. Wherever your .ascx (View) file is, the App_LocalResources folder should always accompany it, on the same level. There should also be a corresponding .ascx.resx file in that folder. view.ascx App_LocalResources - view.ascx.resx Once you have that structure in your module. DNN will pick the file up

DNN: Using multiple web user controls in one module and showing different controls in different pages

∥☆過路亽.° 提交于 2019-12-04 11:04:27
问题 I'm a DotNetNuke newbie. Please be gentle. I'm using the "DotNetNuke 6 Compiled Module" template to build my module. I already have View.ascx control in the project and have added another control called test.ascx. My question is: how do I show different different views in different pages I add the module to. (if that is possible at all) e.g Show View.ascx on say the default.aspx page and then on the default2.aspx page show the test.ascx user control? If this is not possible does it mean I

DNN: Using multiple web user controls in one module and showing different controls in different pages

a 夏天 提交于 2019-12-03 07:00:58
I'm a DotNetNuke newbie. Please be gentle. I'm using the "DotNetNuke 6 Compiled Module" template to build my module. I already have View.ascx control in the project and have added another control called test.ascx. My question is: how do I show different different views in different pages I add the module to. (if that is possible at all) e.g Show View.ascx on say the default.aspx page and then on the default2.aspx page show the test.ascx user control? If this is not possible does it mean I need different visual studio projects for each ascx control. Surely not. Astro, Option 1: You need to go