Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying images from 366 rows
Message
 
 
À
13/03/2017 04:38:35
Information générale
Forum:
ASP.NET
Catégorie:
Client-side développement
Versions des environnements
Environment:
C# 5.0
OS:
Windows 10
Database:
MS SQL Server
Divers
Thread ID:
01648886
Message ID:
01648971
Vues:
23
>>>>I am trying to replicate the form we have in VFP although in that form we didn't display images in the grid.
>>>
>>>Guess it should be OK - assuming that your image data is stored as base64 (or is being converted when creating the model). Do you intend to use any paging strategy ?
>>
>>I didn't implement any paging, but I may consider using 30 days instead of all 366. Right now my table is scarcely populated, so the page loads relatively quickly.
>
>Don't know the context but sounds like some sort of calendar based page? If so then, unless you intend showing the whole year on one screen (which probably wouldn't even be feasible on a tablet), paging by month sounds more user-friendly....

I'll bring this up today in our daily standup. I agree, by month sounds like a good idea. It is indeed a one year (366 days) view for Daily codes.

BTW, do you know why I don't see the delete button with this markup (the image shows OK):
 <td>
                        <span ng-if="row.p1Caption!=''"
                              title="{{row.p1Caption}}">
                           <span><img height="32" width="32"
                                 alt="{{row.p1Caption}}"
                                 src="{{getImageData(row.dailyPict, row.p1Caption);}}" /></span>
                            <span><button modal-popup 
                            cancel-label="@Labels.cancel" ok-label="@Labels.removeImage"
        modal-message="'@String.Format(Messages.confirmDelete, Labels.image)'"
        modal-title="@Labels.removeImage"
        class="salespoint-thumb-controls remove-image-icon"
        ok-action="removeImage(row, 1)">
    <i title="@Help.removeImage" class="icon-remove"></i>
</button></span></span>
?
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform