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
Carmen
NA
11
0
GridView
Jun 5 2009 4:53 PM
I have my gridview's autogenerateeditbutton=true. I want to make it so when the user clicks on the edit button they will be redirected to a new page. I've been searching the msdn pages to find the code to redirect to a new page and I get this as an example:
<asp:Button
ID="Button1"
PostBackUrl="~/TargetPage.aspx"
runat="server"
Text="Submit" />
But It seems the only way to access the autogenerated edit button is through gridview's event:
protected
void
GridView1_RowEditing(
object
sender,
GridViewEditEventArgs
e)
How do i redirect to a new page in the event code?
Thanks
Reply
Answers (
1
)
how can i add worldpay shopping cart code with my newly made website
Storing sql raiserror message in c# Variables