Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
<% foreach (var item in Model) { %>
    <tr>

        <td style="background-color: #9966FF; width: 110px;">

            <%: Html.ActionLink("Modifier", "Edit", new { id=item.IdUser })
             %>
            <input type="image",,src="../../Image/edit-validated.png"  />



            <%: Html.ActionLink("Détails", "Details", new { id=item.IdUser })
             %>
            <input type="image",src="../../Image/6327_logos_icon.png" />



            <%: Html.ActionLink("Supprimer", "Delete", new { id=item.IdUser })
             %>
            <input type="image",src="../../Image/DeleteRed.png" />


        </td>



this structure is correcte??
the hyperlink Image does not display!!! and it does not work!!!!
Posted
Comments
Suvabrata Roy 10-Jan-13 5:13am    
this structure is correcte??

which structure ??
loylmed 10-Jan-13 5:20am    
in fact I want to know if the code is correct
loylmed 10-Jan-13 5:20am    
because the image does not display!!!

1 solution

because the image does not display!!!
This might be because of the extra commas you put in Image control making it an invalid HTML markup.
HTML
<input type="image",,src="../../Image/edit-validated.png"  />

Correct all your images like:
HTML
<input type="image" src="../../Image/edit-validated.png"  />

See if thats what you were looking for.
 
Share this answer
 
Comments
loylmed 10-Jan-13 10:21am    
must i do somthing in the file 'site.css' ????
Sandeep Mewara 10-Jan-13 10:27am    
Dude, see the difference in INPUT tag above. You have comma's present between type and src attributes - thats in correct.

I did not speak of any CSS.
loylmed 11-Jan-13 5:27am    
yes i know thx,but the image is display in large!!!!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900