TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
karan shah
NA
6
5.3k
Database Of Gridview
Mar 23 2016 7:22 AM
I have My Website Which has database of gridview with image and News with ReadMore
But on ReadMore I Want Session When User Clicks on ReadMore it should go to registration Page and When user Login It should go to that id of That News.
i m uploading From RichTextData the Text of News and Readmore Hyperlink
I m Attaching the screen shot and Code
Code of aspx:
<asp:TemplateField
HeaderText="RichTextData" SortExpression="RichTextData" ShowHeader="False">
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("RichTextData") %>' ></asp:Label>
</ItemTemplate>
<ItemStyle Horizontal VerticalAlign="Middle" Wrap="False" Width="100px" />
</asp:TemplateField>
<asp:ImageField
DataImageUrlField="FilePath" ShowHeader="False" ReadOnly="True">
<ItemStyle Height="90px" HorizontalAlign="Center" VerticalAlign="Middle" Width="180px" Wrap="False" />
</asp:ImageField>
<
asp:BoundField
DataField="date" DataFormatString="“{0:MMMM d, yyyy}”" HeaderText="date" SortExpression="date" ShowHeader="False" Visible="False" />
<asp:HyperLinkField
DataNavigateUrlFields="FilePath" DataNavigateUrlFormatString="FullArticle.aspx?FilePath={0}" HeaderText="ReadMore" Text="ReadMore" ShowHeader="False" Visible="False" >
<ItemStyle HorizontalAlign="Right" VerticalAlign="Bottom" Wrap="False" />
</asp:HyperLinkField>
Reply
Answers (
1
)
View engines in MVC
recovery of lost webform