Author |
Share Topic Topic Search Topic Options
|
gregweb
DevForce MVP
Joined: 10-Sep-2009
Location: Clearwater, Fl
Posts: 253
|
Post Options
Quote Reply
Topic: EntityPagedCollectionView Refresh Posted: 25-Jul-2011 at 4:40pm |
Yes, that works!
Greg
|
|
sbelini
IdeaBlade
Joined: 13-Aug-2010
Location: Oakland
Posts: 786
|
Post Options
Quote Reply
Posted: 25-Jul-2011 at 9:47am |
Hi Greg, The issue seemed to be with the DevForce MVP group. It appears to be fixed now. Can you double check it and confirm? Thanks. Silvio.
|
|
sbelini
IdeaBlade
Joined: 13-Aug-2010
Location: Oakland
Posts: 786
|
Post Options
Quote Reply
Posted: 24-Jul-2011 at 1:20pm |
I thought about this possibility too.
I'll double check this Monday and let you know.
Silvio.
|
|
gregweb
DevForce MVP
Joined: 10-Sep-2009
Location: Clearwater, Fl
Posts: 253
|
Post Options
Quote Reply
Posted: 24-Jul-2011 at 12:51pm |
Both IE9 and FFox 4.01 give me the same options as before. Maybe it is a setting in the forum for users, ie it gives you more options as a moderator then me as a user.
See screenshot for what it looks like in FF4
It's not a big issue, but would be nice to resolve. I looked through the Member settings, but I didn't find anything related to this.
Greg
|
|
sbelini
IdeaBlade
Joined: 13-Aug-2010
Location: Oakland
Posts: 786
|
Post Options
Quote Reply
Posted: 04-Jul-2011 at 12:59pm |
Hi Greg, That's odd. What browser are you using? (I've checked IE9, FFox5, and Chrome12.0.742.112 with no issues)
|
|
gregweb
DevForce MVP
Joined: 10-Sep-2009
Location: Clearwater, Fl
Posts: 253
|
Post Options
Quote Reply
Posted: 02-Jul-2011 at 11:33am |
I tried going into the full editor, but I still don't see an upload button. I see one for inserting pictures, videos etc, but not uploads. I am not sure what I am doing wrong.
I put a screenshot of what I see here: http://Jet-Email.com/FileUpload.png
Greg
Edited by gregweb - 02-Jul-2011 at 11:35am
|
|
sbelini
IdeaBlade
Joined: 13-Aug-2010
Location: Oakland
Posts: 786
|
Post Options
Quote Reply
Posted: 27-Jun-2011 at 2:38pm |
Thanks for the update Greg. By the way, if you wish to upload a sample to a forum post, you need to get in the Full Reply Editor. (screenshot below) Note that the uploaded samples will be available to anyone. Regards, Silvio.
Edited by sbelini - 27-Jun-2011 at 3:02pm
|
|
gregweb
DevForce MVP
Joined: 10-Sep-2009
Location: Clearwater, Fl
Posts: 253
|
Post Options
Quote Reply
Posted: 27-Jun-2011 at 2:15pm |
Hi Silvio, I know exactly what the issue is now: You are correct in your testing. However, if you subscribe to CurrentChanged, it fires three times after a refresh. The values of current item goes to -1, then -1 again, and then finally goes back to the correct item. So in my project, the -1 was forcing the current item to the first item in the list. The workaround is to ignore a negative value. I have a sample that shows this which I will email to Kim (I don't see how to upload on this forum). In the sample, just select any item in the grid, then click refresh the fresh button at the top. At the bottom is a console window that shows the Current Position changing as described above. Greg
|
|
sbelini
IdeaBlade
Joined: 13-Aug-2010
Location: Oakland
Posts: 786
|
Post Options
Quote Reply
Posted: 27-Jun-2011 at 12:13pm |
Hi Greg, I was not able to verify the issue you described. In my testing the current item is still the same after a Refresh. (the exception being that if a new element is loaded in to the EntityPagedCollectionView and the current item 'is pushed' to the next page, then the new current element will be first one of the current page) Could you upload a test solution reproduding the issue? Regards, Silvio.
|
|
gregweb
DevForce MVP
Joined: 10-Sep-2009
Location: Clearwater, Fl
Posts: 253
|
Post Options
Quote Reply
Posted: 17-Jun-2011 at 2:38pm |
One of the items on the list for 6.1.1 was an update to the EntityPagedCollectionView. The issue was that after a Refresh(), the CurrentItem reverts to the first item on the list. Well, I applied the updated and did some testing, and it seems to work but only part of the time. Most of the time, it moves the current item to the first item on the list. The only thing I was able to come up with is that it seems to move the CurrentItem at the start of the refresh, not the end when the new items arrive. So what happens visually is that an item in the list is selected, I click on the refresh button, the first item on the list is selected. Then, if I move it to a lower item while the refresh is in progress, it stays there, even after new items show up in the list. If there are no new items, it still moves it to the first item on the list 9 times out of 10. I don't know what the difference is on the 10th one. If I can figure it out, I will post it here. Note that I have also tried RefreshCurrentPage() instead of Refresh(), but no new items show up using the former. Greg
Edited by gregweb - 17-Jun-2011 at 2:38pm
|
|