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
karthik v
NA
109
70.9k
Custom Error Message in Hyperlink field of the Griview
Sep 15 2011 1:07 PM
hi Experts I have the following code on my gridview in an aspx page
<asp:HyperLinkField DataNavigateUrlFields="ProposalPath" DataTextField="ProposalPath" DataTextFormatString="View Proposal" Target="_blank" />
<asp:BoundField DataField="ProposalPath" HeaderText="ProposalPath" ReadOnly="True" SortExpression="ProposalPath" Visible="False" />
I have binded the gridview to a sql datasource and when the user clicks the hyperlink field in the gridview a document would open if its a valid url .If it is a invalid url the error message would pop up saying
"Cannot find file: url ,Make sure the path or internet address is correct."
My Requirement is to amend the error message to a custom error message by using some script or any way possible.
Please Suggest .
Thank you
Reply
Answers (
2
)
Web forms 2010
Database design for hotel reservation project