Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# routing ASP.NET4.0
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 4:29am
Comments
source.compiler at 10-Sep-12 16:02pm
   
you dont have any url! how this image can redirect user?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

i use a tag for link and bind herf in a tag with db
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

salam , moshkelet o farsi ham begi inja kheili irani hast negaran nabash
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

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
0 Sergey Alexandrovich Kryukov 8,478
1 OriginalGriff 6,516
2 Peter Leow 3,567
3 Zoltán Zörgő 3,351
4 Richard MacCutchan 2,397


Advertise | Privacy | Mobile
Web03 | 2.8.150123.1 | Last Updated 12 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100