Portal Engine
Version 3.x > Portal Engine > TextBox Hide and Display View modes: 
User avatar
Certified Developer 8
Certified Developer 8
vikash.kumar-netsolutionsindia - 11/30/2011 7:50:32 AM
   
TextBox Hide and Display
Hi,

I have to set the textbox, another content from kentico. Hide and display in the site from admin (kentico cms). Can I set this from kentico? On and off.
On :Display the textbox, any control or content.
OFF: Hide the textbox, any control or content.
We could set this. Please guide me.
When I will hide, it will hide the textbox or another control, When I will display, it will display the textbox or another control.
All Setting set from kentico and display in the front end. (Main site)

Thanks,
Vikash

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 12/1/2011 3:07:05 AM
   
RE:TextBox Hide and Display
Hello,

You can use the visibility property of the web part to hide or to show it on the live site. You can use also a macro to trigger this according to some custom conditions. Regrettably, I am confused by your description so please include a full example on how your site should work on this matter.

Best regards,
Boris Pocatko

User avatar
Member
Member
Developer - 12/2/2011 6:11:36 AM
   
RE:TextBox Hide and Display
Is it possible to manage hide and show of web controls through kentico(Not in aspx page).

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 12/2/2011 7:16:11 AM
   
RE:TextBox Hide and Display
Hello,

Yes, if you are talking about web parts then just un-check the checkbox in CMSDesk / Content / <your page> / Design / <edit the properties of your web part by clicking the gear icon> / Visible. This hides/shows the given web part. You can use also macros to do this dynamically by clicking the black triangle.

Best regards,
Boris Pocatko

User avatar
Member
Member
Kentico_Newbie - 12/4/2011 11:16:50 PM
   
RE:TextBox Hide and Display
Hello,

actually i am looking for a option in kentico where i could customize each page as per need i.e visibility (hide and show) of the web controls (ex: Textbox) or particular section of page. So is this possible to manage such sort of customization through Kentico cms .

it would be great If i could get descriptive steps.


Many Thanks
Kentico_Newbie

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 12/5/2011 7:29:53 AM
   
RE:TextBox Hide and Display
Hello,

In that case I would recommend you to check our documentation about personalized content. There is also a n example available so you should be able to recreate such a scenario on your side.

Best regards,
Boris Pocatko