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...Using Modules a...Using Modules a...DNN Content with Componentone ViewPortDNN Content with Componentone ViewPort
Previous
 
Next
New Post
11/5/2011 10:48 AM
 
<span style="font-size: 12px; font-family: verdana;"><span style="color: #000000;">Hai ,<br /> <br /> I have been working in DNN for 2years now. It has been great an very interesting  to work using DNN . Thanks for such a wonderful <br /> <br /> framework.<br /> <br /> I have not used any Third party  tools so far along with DNN<br /> <br /> I happened to use ComponentOne tools recently to get our DNN site to work compatible with IPhone.<br /> <br /> ComponentOne has a control named Viewport which is the base for IPhone UI  , This control holds all the rest of the module contents within.</span><br /> <br /> <span style="color: #000000;"><strong>When I use Viewport in  every module individually , I have no problem , and also get the desired output like wanted (example below). </strong></span><br /> <br /> <strong><span style="color: #000000;">This is working :</span></strong><br /> <br /> <span style="color: #000000;"><C1ViewPort Id="ViewPort_Main" runat="server"><br /> <Content><br /> <div><br /> <span>This is an Individual module . Content is visible and Viewport works </span><br /> </div><br /> </Content><br /> </CiViewPort ></span><br /> <br /> <span style="color: #000000;">Since we have a lot of module , the above approach (placing the ViewPort in each and every module) doesn't seem feasible<br /> <br /> Hence I decided to place the ViewPort in the Skin.ascx file.<br /> <br /> The options I tried are listed below</span><br /> <br /> <span style="color: #000000;"><strong> Trial - 1 :<br />  In this option , The ViewPort is only added . All the three panes are not visible in the browser as well as the source of the browser.</strong></span><br /> <br /> <strong><span style="color: #000000;">Not Working</span></strong><br /> <br /> <span style="color: #000000;"><C1Viewport Id="ViewPort_Main" runat="server"><br /> <Content><br /> <div id="LeftPane" runat="server" class="LeftPane"><br /> </div><br /> <div id="ContentPane" runat="server" class="ContentPane"><br /> </div><br /> <div id="RightPane" runat="server" class="RightPane"><br /> </div><br /> </Content><br /> </C1ViewPort></span><br /> <br /> <span style="color: #000000;"><strong> Trial - 2 :<br />  In this option, The browser shows only the ViewPort , but in the source I can see the Left and Right Pane but not the ContentPane.</strong></span><br /> <br /> <span style="color: #000000;"><strong>Not Working</strong></span><br /> <br /> <span style="color: #000000;"><div id="LeftPane" runat="server" class="LeftPane"><br /> </div><br /> <C1Viewport Id="ViewPort_Main" runat="server"><br /> <Content><br /> <div id="ContentPane" runat="server" class="ContentPane"><br /> </div><br /> </Content><br /> </C1ViewPort><br /> <div id="RightPane" runat="server" class="RightPane"><br /> </div></span><br /> <br />   <strong><span style="color: #000000;">Trial - 3 :<br />  In this option, I have 2 div's Left and Right Pane and a ViewPort  with the ID-ContentPane. I did this because DNN requires a control <br />  that has an ID - ContentPane. Since Viewport is rendered as a div , I had the ViewPort instead of a div.</span></strong><br /> <br /> <span style="color: #000000;"><strong>Not Working</strong></span><br /> <br /> <span style="color: #000000;"><div id="LeftPane" runat="server" class="LeftPane"><br /> </div><br /> <C1Viewport Id="ContentPane" runat="server"><br /> <Content><br /> </Content><br /> </C1ViewPort><br /> <div id="RightPane" runat="server" class="RightPane"><br /> </div></span><br /> <br /> <span style="color: #000000;">All these 3 methods failed.<br /> <br /> My requirement is to have the ViewPort control in a common place that can be accessed by any module.<br /> <br /> Can you please let me know as what causes the problem (or)  if there is any other way to get my requirement accomplished.<br /> </span><br /> <span style="color: #000000;"><strong>Thanks and Regards<br /> Dhanajeyan.M</strong></span><br /> <br /> <br /> <br /> </span>
 
New Post
11/6/2011 12:20 AM
 
please try to get rid of HTML when posting, the current DNN version has issues filtering it correctly, thank you.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/6/2011 9:41 AM
 
Hi ,

Sorry , that I didn't notice the issue caused by the HTML tags. I have posted my question below. Please advice

I have been working in DNN for the past 2 years.

It has been cool and very interesting to work using DNN . Thanks for such a wonderful tool.

I have not used any third party tools so far in DNN, I recently happened to use ComponentOne tools to get our DNN site Compatible with IPhone.

ComponentOne tools has a control named ViewPort , which is the base for the UI of IPhone display.

ViewPort control holds all the contents within , which when rendered by an IPhone browser makes the website compatible.

If I have the ViewPort in each and every individual Module , I have no problem, I get the desired output like how it is supposed to be,

Since we have a lot of modules in our site , the above approach does not seem feasible.

Hence I decided to have a common ViewPort in the Skin.acx file , so that when ContentPane is rendered the ViewPort would automatically render , like IPhone renders a page.

When I placed the ViewPort in the Skin file, for some reason I am only able to see a plain ViewPort and none of the panes nor the Modules are visible in the browser.

I also viewed the source of the browser, where I found only the ViewPort control. The LeftPane, RightPane and the ContentPane were not rendered.

I placed the ViewPort just above the ContentPane , like the Contentpane is held within the ViewPort , again only an empty ViewPort was rendered.

Since we are developing the DNN site , IPhone specific, I am not bothered about the LeftPane or the RightPane.I only want the ContentPane to be displayed.

My requirement is to  place the ViewPort control in a common place(preferably the skin file), so that whenever a module is loaded the ViewPort holds the ContentPane.

Can you pleasse let me know if I am doing any mistake , and also  as how I can accomplish my requirement.

Thanks and Regards
Dhanajeyan.M


,

 
New Post
11/7/2011 7:42 AM
 
Hi ,

Sorry , that I didn't notice the issue caused by the HTML tags. I have posted my question below. Please advice

I have been working in DNN for the past 2 years.

It has been cool and very interesting to work using DNN . Thanks for such a wonderful tool.

I have not used any third party tools so far in DNN, I recently happened to use ComponentOne tools to get our DNN site Compatible with IPhone.

ComponentOne tools has a control named ViewPort , which is the base for the UI of IPhone display.

ViewPort control holds all the contents within , which when rendered by an IPhone browser makes the website compatible.

If I have the ViewPort in each and every individual Module , I have no problem, I get the desired output like how it is supposed to be,

Since we have a lot of modules in our site , the above approach does not seem feasible.

Hence I decided to have a common ViewPort in the Skin.acx file , so that when ContentPane is rendered the ViewPort would automatically render , like IPhone renders a page.

When I placed the ViewPort in the Skin file, for some reason I am only able to see a plain ViewPort and none of the panes nor the Modules are visible in the browser.

I also viewed the source of the browser, where I found only the ViewPort control. The LeftPane, RightPane and the ContentPane were not rendered.

I placed the ViewPort just above the ContentPane , like the Contentpane is held within the ViewPort , again only an empty ViewPort was rendered.

Since we are developing the DNN site , IPhone specific, I am not bothered about the LeftPane or the RightPane.I only want the ContentPane to be displayed.

My requirement is to  place the ViewPort control in a common place(preferably the skin file), so that whenever a module is loaded the ViewPort holds the ContentPane.

Can you pleasse let me know if I am doing any mistake , and also  as how I can accomplish my requirement.

Thanks and Regards
Dhanajeyan.M
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...DNN Content with Componentone ViewPortDNN Content with Componentone ViewPort


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