Click here to Skip to main content
Sign Up to vote bad
good
See more: C#routingasp.net4
hi
sorry i cant write English very well
 
when i use Routing in my program i can't to use a tag
for example :
 
in result-search Page
when user come to www.namesite.com/result-search/love
 

<asp:Image ID="Image1" runat="server" Height="104px"
ImageUrl='<%# Eval("previewPath") %>' Width="169px" />

 

in this code i want when user on click image
user redirect to "www.namesite.com/download-image/1"
 
but Routing redirect user to "www.namesite.com/result-search/1"
 
help me please
Posted 10 Sep '12 - 3:29

Comments
source.compiler - 10 Sep '12 - 16:02
you dont have any url! how this image can redirect user?

3 solutions

i use a tag for link and bind herf in a tag with db
  Permalink  
salam , moshkelet o farsi ham begi inja kheili irani hast negaran nabash
  Permalink  
ok mamnoon
moshkelam roo tozih dadam age komak konid mamnoon misham
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 OriginalGriff 325
1 Sergey Alexandrovich Kryukov 140
2 Mohammed Hameed 123
3 Santhosh G_ 113
4 Ron Beyer 99
0 Sergey Alexandrovich Kryukov 8,286
1 OriginalGriff 6,561
2 CPallini 3,533
3 Rohan Leuva 2,703
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 12 Sep 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid