Click here to Skip to main content
15,881,600 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am trying to redirect to the listdetails custom page after insert on a custom insert form. I am using the command below. I am getting an error saying resource is not found. But I selected the url off the browse button when adding it to the markup. The page is there.

CommandName="Insert" Text="Insert" PostBackUrl ="~/DynamicData/CustomPages/tbl_lat_video_inspect_header/ListDetails.aspx"
Posted

1 solution

remove the PostBackUrl property from the markup, in your row command event you can use
C#
Response.Redirect("~/DynamicData/CustomPages/tbl_lat_video_inspect_header/ListDetails.aspx");
after you have insert data.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900