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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Postback issue on default site pagePostback issue on default site page
Previous
 
Next
New Post
11/18/2011 7:51 AM
 

I am experiencing an issue with postback on the default site page (http://domain.com) without an acutal page in the url such as home.aspx. On this page only,  if you attempt a postback such as search input, survey, or even try to change the view from say edit to layout. The page just posts back to itself without changing or redirecting to search results etc. I have confirmed this with 2 different installs. No changes to url rewriting other than standard installation settings. The problem is not experienced on any other page and it works just fine for the default page as long as you append say home.aspx to the url in the browser. Support has been working on the problem but I thought maybe someone here has had some success with this issue.

DNN version 6.0.1.

Thanks

Andrew

 

 
New Post
11/18/2011 4:34 PM
 

Sorry couldnt figure out how to edit the original post. So I found a post on the web were someone was experiencing the same issue in asp.net. Something about in .Net 4 the default form action on the root url is "" . I have confirmed that if I change back to 3.5 the issue goes away. I tried what the person suggested but adding the form action on page load but it did not resolve the issue.

From the post I read:
It has to do with a breaking change in asp .net 4. Answer was that the form action was empty action="" when on extensionless root url. but if on that same page, but had the name of the page in the url (blahblah.com/default.aspx) the action gets filled in. the easy fix for me was to put Me.Form.Action = "Default.aspx" on the page load of the home page. problem fixed.

I tried what the person suggested but adding the form action on page load but it did not resolve the issue.

 
New Post
6/8/2012 9:48 PM
 

Did you ever find an answer to this?  We're having the same problem in DNN 6.1.5.  This seems to be a known issue in ASP.Net with .Net Framework 4.  But none of the solutions posted have worked for us in DNN.  No matter what we do, the action link in the form post is set to "/" for the default site page:

<form method="post" action="/" id="Form" enctype="multipart/form-data">

Once a user actually clicks through to a page or specifies the page name in the url, the action takes on the proper page name:

<form method="post" action="/Home.aspx" id="Form" enctype="multipart/form-data">

Without an appropriate page name, postbacks don't work on the default page.

Don

 
New Post
6/11/2012 10:22 AM
 

We are also having the same problem in DNN 6.1.5.  Our action link in the form post is also set to "/" for the default site page:

<form method="post" action="/" id="Form" enctype="multipart/form-data">

If you navigate to any other page and back to Home, the action takes on the proper page name:

<form method="post" action="/Home.aspx" id="Form" enctype="multipart/form-data">

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Postback issue on default site pagePostback issue on default site page


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