Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Aug 04, 2011 07:00 AM by amitpatel.it
Aug 04, 2011 06:14 AM|LINK
Now I have one problem. My problem is
<img src="<%: Url.Content("./../Content/Images/myimage.gif"%>" /></a>
when I clikc this myimage.gif that show another page with user's related picture. Pls help me qucik.
Aug 04, 2011 06:21 AM|LINK
<a href="@Url.Action("ShowPicture")" onFocus="if(this.blur)this.blur()">
<img src='@Url.Content("/image/mypicture.gif")' alt="Show" border="0" /></a>
In above code ShowPicture is your action methods and as well view is available with same nane.
Aug 04, 2011 06:40 AM|LINK
I mean I click mypicture.gif it's show related information.
e.g I click mypicture.gif (button) show u photo.
Aug 04, 2011 07:00 AM|LINK
Yes when you click button then it exectues ShowPicture action methods which is in your controler and load your view with name as "ShowPicture" by pasing actual model with your data like image name path and that will load all those data with image in your