Need help with this please. TIA Q1.To make the ContactForm.ascx user control even more reusable, you can create a string

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Need help with this please. TIA Q1.To make the ContactForm.ascx user control even more reusable, you can create a string

Post by answerhappygod »

Need help with this please. TIA
Q1.To make the ContactForm.ascx user control
even more reusable, you can create a string property on it such as
PageDescription that enables you to set the name of the page that
uses the control. You can then add this string to the declaration
of the control in the containing page. Finally, you can add the
description to the subject of the message that you send. This way,
you can see from which page the contact form was called. What code
do you need to write to make this happen?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply