Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to dynamically set Imagemao NavigateURL in a datali
Message
De
13/10/2005 06:19:37
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01058549
Message ID:
01058574
Vues:
21
>I have an imagemap in a datalist with one hotspot that covers the entire image. I want the imagemap to show a URL stored in a database field name ImageURL.
>
>I get a "cannot bind" error when trying to use EVAL("ImageMap"), and I can find no other way to dynamically set it in a datalist.
>
>Does anyone know how to do this?
>
>Thanks in advance!

Not sure is this is what you're looking for:
<asp:ImageMap id="myImage"
  ImageUrl='<%# DataBinder.Eval(Container.DataItem, "ImageURLFieldValue") %>'
  runat="server"/>
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform