Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...embedding asp.net code ?embedding asp.net code ?
Previous
 
Next
New Post
10/4/2006 11:08 AM
 
I have setup a test intranet server with DNN and demonstrated it to the IT team. They loved it BUT..... they have some apps that they want to rewrite in vb.net/asp.net and asked me how DNN would be able to handle them. I said that I thought they could just paste the code (asp.net not vb.net) into the text/html module and it should work - WRONG ! I think
 I presumed that it would be able to handle it but instead either ignores it or displays the code as if it were text.

So, I tried saving an example (vb.aspx) in the portals/0 folder then setup an iFrame module and pointed it to that - but I get the error "You Must Enter a Valid URL" which I thought I had - http://ctruintranet/CTRUIntranet/Portals/0/asp.net/vb.aspx.

Any ideas to help out a poor sys admin ? :)

PS the code in vb.aspx is here (incidentally it works if I point the browser to the url above) :

<html>
<head>
<title>Sample Page using VB.NET</title>
<script runat="server" language="VB">
Sub Click(s As Object, e As EventArgs)
  lblMessage.Text = txtName.Text
End Sub
</script>
</head>

<body>
<form runat="server">
  <asp:TextBox id="txtName" runat="server" />
  <asp:Button id="btnSubmit" Text="Click Me" OnClick="Click"
      runat="server" />
  <asp:Label id="lblMessage" runat="server" />
</form>
</body>
</html>

Thanks for reading,

Buks
 
New Post
10/4/2006 2:58 PM
 

 

Now you know why it's called a Text/HTML module :)

What you want to look into is how to develop modules for the DNN Framework.  There is a document in the documents folder of the install on module development.

There's also a lot of tutorials and help you can get on the web:

http://www.google.com/search?hl=en&q=dotnetnuke+module+tutorial

 


DotNetNuke Modules from Snapsis.com
 
New Post
10/5/2006 8:01 AM
 
John,

thanks for the reply. Its not the answer I was hoping for but at least I know what I was doing wrong. I need tolook into this then get back to the programming team and see if they want to develop DNN modules or just write their own asp/.net pages.

thanks again,

Paul
 
New Post
10/5/2006 12:00 PM
 

 

There is a 3rd party module that does kind of what you were expecting:

http://www.snowcovered.com/snowcovered2/Default.aspx?tabid=242&PackageID=4607

 


DotNetNuke Modules from Snapsis.com
 
New Post
10/5/2006 12:18 PM
 

Paul,

We use DNN modules to write Intranet applications instead of standard ASP.NET applications.  The learning curve for an experienced developer is actually quite short.

The amount of coding that would no longer need to be done by using DNN modules saves huge amounts of hours.  Until your developers get inside the code of a module they simply will not understand the benefits of the DNN core api and functions.

Another huge benefit is that all modules run under the same interface.  Users go to a single place for any modules, information, etc.  Access is given to pages and modules depending on which role the logged in user has been assigned.  Try writing that into each separate ASP.NET application.

Once you begin to code modules you'll never look back...

mikez

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...embedding asp.net code ?embedding asp.net code ?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out