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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With