Click here to Skip to main content
12,501,337 members (39,262 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# routing ASP.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:29am
Comments
source.compiler 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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160919.1 | Last Updated 12 Sep 2012
Copyright © CodeProject, 1999-2016
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