- Increase transparency
- Onboard new hires faster
- Access from mobile/offline
In part of my "code behind" ".aspx.cs" file I have a working code to get the 'Email' of the current logged in user. Maybe this can work but I don't know how to use it (or call it) in the aspx file:
<div class="firmaMail" id="firmaMaildicom"> Regards.<br /> <b>John Anibal Smith</b><br /> Team Lead<br /><br /> THE A TEAM<br /> Telephone: 1 800 1234567<br /> Mobile: 1 900 9876543<br /> Mail: Anibal@ateam.com<br /> Web: www.ateam.com<br /> </div> <asp:LinkButton ID="sendMailDicom" runat="server" ><div class="button_submit" onclick="AvisoMailDicom()">Send Email</div></asp:LinkButton> </div>
Now, if that is not possible... Is it possible to use/get both variables I need directly in the "aspx" file without calling the "aspx.cs" file?
string email = Request.Form["email"];
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
19 Experts available now in Live!