dotnetnuke

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

断了今生、忘了曾经 提交于 2019-12-03 14:22:08
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 ASP.NET application for the customers to submit their orders (no need for them to communicate back and

jquery change button color onclick

天大地大妈咪最大 提交于 2019-12-03 12:03:20
问题 I have multiple buttons that I use when people answer a question. How would I get the buttons to change colors when a person clicks on the button? I do not know jquery, I have been told that it is the best thing to use for this Here is the code I have for the html part: <div style="text-align: center;"><span style="line-height: 18px; font-family: Arial, Helvetica, sans-serif; font-size: 24px;">In the past three months, how often have you used marijuana?<br /> <p><input type="submit" value="

Print to DotNetNuke Event Log/Viewer

跟風遠走 提交于 2019-12-03 10:37:10
For debugging purposes, how can I print to the event log/viewer in DotNetNuke, using VB.NET or C#? GalacticCowboy 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 trap... objEventLog.AddLog("Sample Message", "Something Interesting Happened!",

Ajax Request header field Key is not allowed by Access-Control-Allow-Headers

你离开我真会死。 提交于 2019-12-03 08:56:12
问题 Trying to build a DNN Service Framework WebAPI but I'm having trouble consuming it with CORS. I have all of the appropriate headers (I think) but it still doesn't seem to be working. Error: XMLHttpRequest cannot load http://www.dnndev.me/mysite/builder/API/echo?message=Hello+World&_=1412707749275. Request header field Key is not allowed by Access-Control-Allow-Headers. Request Headers: Remote Address: 127.0.0.1:80 URL: http://www.dnndev.me/mysite/builder/API/echo?message=Hello Request Method:

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

jquery change button color onclick

巧了我就是萌 提交于 2019-12-03 02:31:44
I have multiple buttons that I use when people answer a question. How would I get the buttons to change colors when a person clicks on the button? I do not know jquery, I have been told that it is the best thing to use for this Here is the code I have for the html part: <div style="text-align: center;"><span style="line-height: 18px; font-family: Arial, Helvetica, sans-serif; font-size: 24px;">In the past three months, how often have you used marijuana?<br /> <p><input type="submit" value=" Never " name="btnsubmit" id="answer" style="width: 200px;" /></p> <p><input type="submit" value=" Once

What is the difference between framework and architecture? [closed]

陌路散爱 提交于 2019-12-03 00:47:44
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . Locked . This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. I would like to know the difference between framework and architecture. for example: dotnetnuke is the

Ajax Request header field Key is not allowed by Access-Control-Allow-Headers

删除回忆录丶 提交于 2019-12-03 00:31:31
Trying to build a DNN Service Framework WebAPI but I'm having trouble consuming it with CORS. I have all of the appropriate headers (I think) but it still doesn't seem to be working. Error: XMLHttpRequest cannot load http://www.dnndev.me/mysite/builder/API/echo?message=Hello+World&_=1412707749275. Request header field Key is not allowed by Access-Control-Allow-Headers. Request Headers: Remote Address: 127.0.0.1:80 URL: http://www.dnndev.me/mysite/builder/API/echo?message=Hello Request Method: OPTIONS Status Code: 200 OK Accept: */* Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q

How to load Facebook Pixel NoScript code in DNN codebehind?

浪尽此生 提交于 2019-12-02 17:05:39
问题 We have a checkout module with custom code which will show a wizard for End Users and another multi view when the user is a Dealer. I am trying to only fire the Facebook pixel code when the user is an End User. The problem I am having is the NoScript code which I can't call in a JavaScript function. I also don't want to put it after the script tags in the ASCX file because the rest of the pixel code is only called when an invoice is generated and the Facebook Pixel Helper Browser Extension is

What is the difference between framework and architecture? [closed]

こ雲淡風輕ζ 提交于 2019-12-02 14:14:59
I would like to know the difference between framework and architecture. for example: dotnetnuke is the framework and mvc is the architecture. so if we take both of this as a example, can anyone tell me difference between them? Want to know which one is using when and where? Which is good in terms of user requirement satisfaction? Vasyl Boroviak Let me illustrate the difference. Framework: Architecture: It's common to make this distinction: A Library is a reusable set of types/functions you can use from a wide variety of applications. The application code initiates communication with the