Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

redirect using itemreceiver sharepoint

Tags:

c#

sharepoint

When a list item is added to a sharepoint list i want to redirect to a thank you page.

how can i do that in an itemreceiver?

like image 697
raklos Avatar asked Feb 10 '26 21:02

raklos


1 Answers

I guess you could redirect on the ItemAdding event. But I would generally not recommend using event receivers for something like this. Better create your own New Item ASPX page, add the list item programmatically when the user clicks the Ok button. When the list item add is all done then you redirect to the Welcome page from your custom ASPX page.

like image 169
Lars Fastrup Avatar answered Feb 13 '26 14:02

Lars Fastrup



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!