I give the option for a user to delete a special offer on the DeleteSpecialOffer page . If they click “Submit”, it will return them to the SpecialOffers page. I want to be able to display a message on the SpecialOffers page that confirms that the SO was successfully deleted.
Is there a way to create this textbox from the DeleteSpecialOffer page or possibly just make a hidden textbox visible?
Sure, here’s one option:
Have the textbox hidden (Visible=”False”) on the
SpecialOfferspage and when you redirect the user from the DeleteSpecialOffer page, pass a parameter in the URL as so:In
SpecialOfferscheck whether this parameter is “Y” and make the textbox visible programmatically. Something like: