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...Skins, Themes, ...Skins, Themes, ...Modal pop up not working after upgrade framework 3.5 to 4.0Modal pop up not working after upgrade framework 3.5 to 4.0
Previous
 
Next
New Post
10/31/2012 11:00 AM
 

Hello,

we are using a form that brings the post data to a modal pop up.

It was working in the old situation with framework 3.5 but after updating a module that was using framework 4 the modal pop up is not transfering the data to the pop up any more. the popup window is still opening.

thanx so far

rob

  

 
New Post
11/1/2012 5:51 AM
 

Its more likely that the module itself is having issues running - than the modal function stopped working.

By default dnn is NOT actually running true asp.net 4.0 - when you set your application pool to asp.net 4.0 the dnn web.config is modified to run in a compatibility mode that allows it to function correctly inside the asp.net 4.0 application pool - BUT technically its still using the asp.net 3.5 compilers - and references the 3.5 libraries

As a result - if you have a module that specifically uses asp.net 4.0 functions it is possible that the module will fail because the asp.net 4.0 functions or compiler features is it trying to use are simply not available.

To get around this issue on some of our sites we manually upgraded the web.config files to true asp.net 4.0 functionality

Westa

 
New Post
11/1/2012 9:33 AM
 

Hello westa

In that way clear.

But

I will try to explain and show the problem.
in a html/text module we setup a form like this:

<form name="Form" method="post" onSubmit="return false;">
<div class="booktable_cont">
<table id="quickBookerTabel" border="0" cellspacing="2" cellpadding="0">
    <div id="quickbooker">
    </div>
    <tbody>
        <tr>
            <td><strong>Beschikbaarheid</strong></td>
        </tr>
        <tr>
            <td>Aankomst</td>
        </tr>
        <tr>
            <td><select name="ad" id="ad" onchange="getNDay()">
            <option></option>
            <option value="1">1</option>
            <option value="2">2</option>
            <option value="3">3</option>
            <option value="4">4</option>
            <option value="5">5</option>
            <option value="6">6</option>
            <option value="7">7</option>
            <option value="8">8</option>
            <option value="9">9</option>
            <option value="10">10</option>
            <option value="11">11</option>
            <option value="12">12</option>
            <option value="13">13</option>
            <option value="14">14</option>
            <option value="15">15</option>
            <option value="16">16</option>
            <option value="17">17</option>
            <option value="18">18</option>
            <option value="19">19</option>
            <option value="20">20</option>
            <option value="21">21</option>
            <option value="22">22</option>
            <option value="23">23</option>
            <option value="24">24</option>
            <option value="25">25</option>
            <option value="26">26</option>
            <option value="27">27</option>
            <option value="28">28</option>
            <option value="29">29</option>
            <option value="30">30</option>
            <option value="31">31</option>
            </select>
            <select name="am" id="am" onchange="getNDay()">
            <option></option>
            <option value="1">Januari</option>
            <option value="2">Februari</option>
            <option value="3">Maart</option>
            <option value="4">April</option>
            <option value="5">Mei</option>
            <option value="6">Juni</option>
            <option value="7">Juli</option>
            <option value="8">Augustus</option>
            <option value="9">September</option>
            <option value="10">Oktober</option>
            <option value="11">November</option>
            <option value="12">December</option>
            </select></td>
        </tr>
        <tr>
            <td>Vertrek</td>
        </tr>
        <tr>
            <td><select name="dd" id="dd" onchange="checkDDate()">
            <option></option>
            <option value="1">1</option>
            <option value="2">2</option>
            <option value="3">3</option>
            <option value="4">4</option>
            <option value="5">5</option>
            <option value="6">6</option>
            <option value="7">7</option>
            <option value="8">8</option>
            <option value="9">9</option>
            <option value="10">10</option>
            <option value="11">11</option>
            <option value="12">12</option>
            <option value="13">13</option>
            <option value="14">14</option>
            <option value="15">15</option>
            <option value="16">16</option>
            <option value="17">17</option>
            <option value="18">18</option>
            <option value="19">19</option>
            <option value="20">20</option>
            <option value="21">21</option>
            <option value="22">22</option>
            <option value="23">23</option>
            <option value="24">24</option>
            <option value="25">25</option>
            <option value="26">26</option>
            <option value="27">27</option>
            <option value="28">28</option>
            <option value="29">29</option>
            <option value="30">30</option>
            <option value="31">31</option>
            </select>
            <select name="dm" id="dm" onchange="checkDDate()">
            <option></option>
            <option value="1">Januari</option>
            <option value="2">Februari</option>
            <option value="3">Maart</option>
            <option value="4">April</option>
            <option value="5">Mei</option>
            <option value="6">Juni</option>
            <option value="7">Juli</option>
            <option value="8">Augustus</option>
            <option value="9">September</option>
            <option value="10">Oktober</option>
            <option value="11">November</option>
            <option value="12">December</option>
            </select></td>
        </tr>
        <tr>
            <td>
            <input name="hotelID" id="hotelID" type="hidden" value="2068"></input>
            <input name="hckey" id="hckey" type="hidden" value="5284b9568a1fa6c0ce019da8f228faac"></input>
            <input name="hTarget" id="hTarget" type="hidden" value="hFrame"></input>
            <input name="mAction" id="action2" type="hidden" value="check"></input>
            <a href="#" class="big-link bookbutton" onclick="doCheckForm();" data-reveal-id="myModal">check date</a>
            </td>
        </tr>
    </tbody>
</table>
</div>
</form>

myModal is opening a Div container and this was working excelent.

the checks are doing by a .js file and the portal was running fine on a 3.5 .net framework. after the upgrade to  .net framework 4.x the problem started immediatly.

the form was not filled with the today's date and if i fill in the form manual and give the check then the Div my Modal is not filled so the post is not working.

A litlle research tells that a there is a difference between the name property in the form to .net 3.5 and 4.0.

see: http://4rapiddev.com/problem-issue-er...

i will try to bring the 2 versions online to show the difference.

Thanx,

Rob

 

 

 
New Post
11/1/2012 11:05 AM
 
the 2 portals are online.

.net 3.5 version: http://35.veloxit.nl

.net 4.0 version: http://40.veloxit.nl
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Modal pop up not working after upgrade framework 3.5 to 4.0Modal pop up not working after upgrade framework 3.5 to 4.0


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