Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
How post back to another page when click image in datalist ?
Karthik Che
Dec 2 2017 12:15 AM
186
Reply
Hi Friends,
I want post back to another page in datalist , when i click the image ,I can share the image ., can anyone suggest to the appropriate code with example .Here PID Is the datakeyname for the datalist controls
Code :
<ItemTemplate>
<table style="margin-left:0px" width="315px">
<tr>
<td align="center"><img src='<%#Eval("ImagePath").ToString() %>' width="140px" height="150px" / alt=""></td>
</tr>
<tr>
<td align="justify"><b> Title : </b><%#Eval("Title")%><br />
<b> Description : </b><%#Eval("Description")%><br />
<b> Price : Rs <%#string.Format("{0:0}",Eval("Price")) %> </b> <br />
<b> ItemCode : </b> <%#Eval("SourceCode")%></td>
</tr>
</table>
</ItemTemplate>
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
make contextual menu item
Mvc .Net login through Mobile Number