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

HomeHomeDevelopment and...Development and...Getting StartedGetting StartedPage CreationPage Creation
Previous
 
Next
New Post
9/14/2012 1:02 AM
 

Hi,

I have created one dotnetnuke website in visual studio 2012.

I have added toe child portals into that using host >> site management.

Now I want to add one page, even I have added that page also (Pages >> add page).

The problem is that I want to give some text boxes and buttons on that page, which can be given very easily by clicking manage >> edit contents, but at the background where is that newly created .aspx file.

My file name is "FirstChildSupplierPage.aspx".

How should I open that file into visual studio as I have to save the data from corresponding textboxes, and other components ??

 
New Post
9/14/2012 1:19 AM
 
Hello, 

DotNetNuke doesn't create new files for each page. All content is stored in the database - including pages (tabs) and modules. The idea is that content is editable through the site so that you don't need to use visual studio. 

You can use visual studio to extend the broader capabilities of DotNetNuke, but you don't really modify dotnetnuke code in that process.

Mike



 
New Post
9/14/2012 1:27 AM
 
Thnx Mike,

But in that page I want to add some html components like textboxes and buttons, which I have added it directly, but at background how could I access that fields?

I want that data to be get saved in database table, how should I do that??

 
New Post
9/14/2012 12:14 PM
 

Hello,

Those things are done by creating a custom module. 

I think that some of your confusion might be coming from the nature of DotNetNuke. DotNetNuke isn't like a traditional web site in the sense that you add pages and work on them in visual studio. Instead, it's a framework - that framework provides a lot, but, you need to work within the rules of the framework. 

In DNN, rather than creating a page to do your custom work, you create a module. In that module, you can do all the things you are talking about - put in your boxes, manage your db connections, etc. Then, you install the module as a plug in to DNN and place your module into a DNN page - just like how you added the HTML module to change text. It's just that now, you'll have the "Deepak" module in your list (or whatever you want to call it). 

There are some tutorials out there on module development. You might check these:

Hope this helps,

Mike

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedPage CreationPage Creation


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