Rank: Newbie Groups: Member
Joined: 7/13/2010 Posts: 4
|
I have dragged the slide onto web page put in the followin code<BigItemTemplate> <div style="border: solid 1px black"> <img src='<%#ResolveUrl(Eval("~\Advertising\Banner\1.jpg"))%>' /> <img src='<%#ResolveUrl(Eval("~\Advertising\Banner\2.jpg"))%>' /> <img src='<%#ResolveUrl(Eval("~\Advertising\Banner\3.jpg"))%>' /> <img src='<%#ResolveUrl(Eval("~\Advertising\Banner\4.jpg"))%>' /> <img src='<%#ResolveUrl(Eval("~\Advertising\Banner\5.jpg"))%>' /> </div> </BigItemTemplate>
Can see control but its not linking the pictures nevermind the small icons i want to add.
Is their a realtim example code i can use to make it work. Also howto add code that if they click on picture it send to link.
Regards
Daniel
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi Daniel,
The easiest way for you to troubleshoot such problems is to get your code to work with a standard ASP.NET template based control such as ASP.NET Repeater control. Once you get that to work, just copy your template definition from there to our BigItemTemplate and it should work. We won't be able to troubleshoot any problems in your template definition for you since it is standard ASP.NET stuff.
Thanks!
|