Hi guys how can i display the user profile picture , when the user login? I am using APS.Net MVC
this is the js code :
DTR.init = function () { user = $("#user").text(); username = $("#username").text(); userIdEmployee = $("#userIdEmployee").text();
if ($('#userGender').text() == "Female") { $("#imageProfileFemale").show(); $("#imageProfileMale").hide(); } else { $("#imageProfileMale").show(); $("#imageProfileFemale").hide(); } $("#dtrBTN").addClass("active"); $("#eventManagerBTN").removeClass("active"); $("#hrisBTN").removeClass("active");
DTR.SetUserData(); DTR.SetDate(); DTR.GetTransactionLogs(); }