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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryUpload/Edit Form looses files selection every PostbackUpload/Edit Form looses files selection every Postback
Previous
 
Next
New Post
10/26/2010 1:29 PM
 
Hi all,

I'm having a problem with the Repository module Create new / Edit form.
I've already google-it and read the Rep DNN Foruns extensively and i'm running out of ideas.

The problem is:

Every time I do any of the following actions (that requires postback), the already selected files (File and Image) are reseted to the first element of the dropdown list in the 'Upload New Item' scenario, and to the last saved item in the 'Edit Existing Item' scenario:
- Select 'File' instead of  'URL'
- Select a category for item
- Click in the 'Upload New File' link
- Click in the 'Upload Selected File' link

The selected data, unlike the Title and Description aren't apparently stored in the Viewstate.


The changes that I previously made to the template were:
- using the [URLCONTROLFILE] and [URLCONTROLIMAGE]
- use the TREE control to select the item categories.

I'm using the 3.1.17 version of the Repository and the 5.1.4 (3) version of DNN.

This is happening at least in IE 7 and Firefox 3.6.

Anyone can help me figuring out if: 
- Anyone had the same problem?
- Is this an expected behavior?
- Is any workaround for this?
 
New Post
10/30/2010 5:05 AM
 
Hi, Have the same problem with an unmodified rep. module. Discovered it when I forgot to input a description for the upload. I think it's an issue with the file input type. ASP.net viewstate will not work for this input type for security reasons.



Siri Monsoey - Triangel Software View Siri Merete Monsøy Elgenes's profile on LinkedIn
 
New Post
10/31/2010 3:25 PM
 
Hi Siri, Thanks for your reply. Did you find any solution or work-around besides use a different module?
 
New Post
11/1/2010 5:21 AM
 
Hi Ricardo, No sorry, I just accepted it as expected behaviour but I'm pretty sure there are workarounds if you are prepared to modify the module. I haven't used repository module that much (I use Ultra Media Gallery for photos).



Siri Monsoey - Triangel Software View Siri Merete Monsøy Elgenes's profile on LinkedIn
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryUpload/Edit Form looses files selection every PostbackUpload/Edit Form looses files selection every Postback


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