How to hide one part of Person_details.aspx
-
Hi! I am just beginner, but How I can hide part of Person.aspx (MySite) page? I want show part of page if accountname (querystring) is same as current user. Is it possible?
-
Hi! I am just beginner, but How I can hide part of Person.aspx (MySite) page? I want show part of page if accountname (querystring) is same as current user. Is it possible?
Just make
and you can set its visibility --(true/false) from your code eg: div1.Visible = false; or div1.Visible = true; using your condition.. --you can use multiple div tag... :-)
-
Hi! I am just beginner, but How I can hide part of Person.aspx (MySite) page? I want show part of page if accountname (querystring) is same as current user. Is it possible?
Yes, Based on condition(User Type) you have to show/hide the elements using the properties[^] at runtime, that's it.
thatraja
FREE Code Conversion VB6 ASP VB.NET C# ASP.NET C++ JAVA PHP DELPHI ColdFusion
HTML Marquee & its alternativesNobody remains a virgin, Life screws everyone :sigh:
-
Just make
and you can set its visibility --(true/false) from your code eg: div1.Visible = false; or div1.Visible = true; using your condition.. --you can use multiple div tag... :-)
Thanks, this works fine. I have still problem? How I can hide/unhide if "accounname" is same as current user. I try to use asp code: if Request.QueryString("accountname") = v_currentuser then ' Visible = true else ' Visible = false end if ... as I say I am beginner
-
Thanks, this works fine. I have still problem? How I can hide/unhide if "accounname" is same as current user. I try to use asp code: if Request.QueryString("accountname") = v_currentuser then ' Visible = true else ' Visible = false end if ... as I say I am beginner
Then what is the problem .?? "your write Visible = true" but with which control...?? please upvote previous answer if you find its helpful for you :-)