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 3: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 265
1 _Amy 235
2 Peter Leow 205
3 Andreas Gieriet 180
4 Dave Kreskowiak 130
0 OriginalGriff 7,540
1 Sergey Alexandrovich Kryukov 6,412
2 Maciej Los 3,849
3 Peter Leow 3,653
4 CHill60 2,712


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 12 Sep 2012
Copyright © CodeProject, 1999-2014
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