How To Use The Dnn Webupload Control In A Dnn 4.9.2 Module
Feb 26, 2010
Trying to use the dnn webupload control in a dnn 4.9.2 module. I am using this in the settings.aspx of my module. When I load the page I get a null exception on this line in the page_init:
I tried to set the FileType, which is what is null but it is read only. I would static the title, but I don't want to change core code, for upgrade reasons.
I am working on a web application. I have two forms Webform1 and Webform2 and Module1. In webform1 and 2 I have labels, textboxes and dropdownlist. when I trying to use them in the Modules I cannot see them. Here is what I have in the ASPX page:
Public Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) Handles DropDownList1.SelectedIndexChanged test = DropDownList1.SelectedValue End Sub
I want to be able to do this in the Module: Dim Test as string
I am struct in a bad sitiation. I have developed my whole application and at the end client requested that they want encrypted URLs :(. Now application is in a state where I can not encrypt URL on individual pages.Is there any module through which I can add URL encryption throughout my website without changing the application as application code is 100% verified from Q/A.
I'm probably going to use the URL rewrite module for IIS 7 eventually and I have a fairly straight forward question that I really can't find the answer to.
If you have a base case of:
http://yoururl.com/page.aspx?ID=7 You can obviously have it rewritten to: http://yoururl.com/page/7 or whatever you want.
My question is this: When using this module can you still use Request.Querystring["page"] on the rewritten querystring. How does the Request.URL stuff work. Does asp.net still provide the un-rewritten url or does it provide the rewritten one.
I would assume that your C#/asp.net code is completely unaffected by the url rewriting, as that's more or less the point, but I want to be crystal clear.
Secondary question: What is the best practice for how you should code a website when using the rewritten. Should you code links in the written style, or continue using querystrings?
we want to create website based on asp.net and we want to update data in my site dialy. told me about admin module . is their any tutorials and screen shots for admin module
I'm creating a DNN 4.9.5 module and need to create a DLL from a WSDL (Doba API). I've created a separate Class Library project in my DNN solution with Class1.vb in it. What do I need to include in my class from the WSDL file? Obviously, I won't be going with Class1.vb, but just need a gentle push as to how to get this going.
During the design of a new generic authentication framework for some of our products, I have come across an architectural issue I cannot seem to find a good solution for.I have tried to simplify the problem in order to easily explain it.
The library has two classes:
Manager Is responsible for storing currently authenticated users.Module It is the responsibility for the module to validate each request according to security policies. The Module must ask the manager to determine whether a user is currently authenticated.
Now the manager is supplied an implementation of an interface which allows the manager to load users from a repository. The specific implementation is not contained in this library. Because of this, I cannot directly instantiate an instance of the repository within the library.
I have no way of modifying properties or supplying arguments for the module constructor. So my question is this, how can I give the module a reference to an instance of the Manager?
namespace Demo { public interface IRepository {[code].....
I'm using VB.NET and Razor (ASP.NET MVC 3.0). I have a VB.NET module defined in which I declared a number of public constants. However, those constants are not being recongized in views. The constants are being recogized in my model classes.
I do import the namespace in the view (that is, the first line I have in the view is "@Imports MyNamespace"). Yet, when I try to use the constant in a statement like:
[Code]....
the constant MYFORMAT_DATE_LONG is not being recognized. And I did try putting an @ in from of the constant name too:
I have my project made from my pc and when I tried to open the solution from other computer, change the connectionStrings and run it. I'm receiving a message:
The source file is different from when the module was built. Would you like the debugger to use it anyway?
This appear when the program try to run my class, SqlHelper.vb. And when I select Yes, the program still uses the old SqlHelper.vb class (with the old connectionString).
I want to implement poll in my website and its a public available website so any one can vote. I want to know which might be the best option for creating poll. In my opinion there is only cookies in which i can store information and check if this user has submit a poll. My website is multi-lingual and im using Asp.net-mvc 2
The IIS URL Rewrite Module ships with 3 built-in functions:
* ToLower - returns the input string converted to lower case. * UrlEncode - returns the input string converted to URL-encoded format. This function can be used if the substitution URL in rewrite rule contains special characters (for example non-ASCII or URI-unsafe characters). * UrlDecode - decodes the URL-encoded input string. This function can be used to decode a condition input before matching it against a pattern.
The functions can be invoked by using the following syntax: {function_name:any_string}
The question is: can this list be extended by introducing a Replace function that's available for changing values within a rewrite rule action or condition?
Another way to frame the question: is there any way to do a global replace on a URL coming in using this module?
It seems that you're limited to using regular expressions and back-references to construct strings - i.e. there's no search/replace mechanism to replace every instance of X with Y in {REQUEST_URI}, without knowing how many instances there are.
I've had a quick glance at the extensibility introduced in the 2.0 RTW and don't see any 'light' means of introducing this.
I want to create a new module in DNN (VB) ... that;
1. does not use DAL or DAL+ 2. has only one view.ascx control 3. It has to be a compiled module
I do not need DB connectivity and any bells and whistles just one view control. I thought it would be simple but googling for a day now and it seems very complicated.
I have the development environment already set up with;
1. DNN Starter kit 2. VS 2008 3. SQL server 4. DNN up and running in IIS 5. the project builds successfully
If anyone knows a way I can build a module using the DNN Dynamic Module Template in VS 2008 and then strip off the DAL and all the unnecessary layers and extra controls until I have only a working view.ascx that just prints out "Hello World!" to the screen ...
i have developed asp.net page for users to register their mobile numbers in sql server database but after i contacted my SMS Gateway provider they provided me with XML API for sending bulk sms. ( I need to find a way to make XML they provided me work to read all mobile numbers stored in my database for sending them as bulk sms or making a for loop to make loop on numbers on the database to make them written in XML code they provided me )
Here is the XML file i have received from Gateway provider:
SMS Business XML Module
Application Overview
Request
Response
How to use SMS Business XML Module
Application Overview
SMSBusiness XML module is a powerful SMS solution that provides a userfriendly
interface for sending customised SMS messages to a large number of
mobile numbers within minutes.
SMSBusiness also empowers you to modify the Subscriber Name, SenderID &
Suppose I've written my own authentication module implementing IHttpModule. It is not really done but there are good resources so I can figure it out.
There are also tutorials on how to add custom created module to Web.config. But how can I replace some default module ? That is how do I remove default authentication module from execution path ?
Can I just remove following lines from Web.config?
If I remove them will the default authentication module still work ? Of cause there is no real need to remove that module even if I don't use it... But it'll save some processor time and I'll feel better.
That was easy, not the hard part: can I replace HttpContext implementation? I have my own session class called Session and I don't want that HttpSessionState to be in HttpContext. I'd also like to replace User property of HttpContext. So I guess I need to create my own implementation of HttpContext and force my aplication to use it somehow. How do I do it ?
I am integrating ASP.NET MVC in an existing ASP.NET web form project. I have added required references and folders in web form project. However, when I right click on View folder to add a new view I don't get Add  View option.Is there a way to get MVC wizard/template in ASP.NET web form project.
I want to create a module that can send a message to another module in different tab.I don't know the target tab Id but I know the target module name. Is there any way to do such a thing?Is Dot net nuke support messaging?