We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hide nested accordion item

Thread ID:

Created:

Updated:

Platform:

Replies:

121760 Jan 22,2016 08:06 AM UTC Jan 29,2016 10:13 AM UTC ASP.NET Web Forms 5
loading
Tags: Accordion
Manolo
Asked On January 22, 2016 08:06 AM UTC

Hi,

I want hide/show accordion items in function user role. But the property visible doesn't work

accPRL.Visible = User.IsInRole("Repositorio");

For now, I remove the items, but I prefeer hide the items

accMain.Items.Remove(accMain.Items[3]);

I attach an example for test



Attachment: WebApplication21_d82fb612.zip

Kalai Selvi Rajendran [Syncfusion]
Replied On January 25, 2016 12:17 PM UTC

Hi Manolo,

We have checked your issue in our end. We suggest you to achieve the reported scenario in client side instead of server side by following code snippet.

<code>

$("#<%=accMain.ClientID%>").find("h3:nth-child(3)").css("display", "none");

</code>

Please refer to the below link for the sample

http://www.syncfusion.com/downloads/support/forum/121760/ze/WebApplication211557026075

Regards

Kalai Selvi


Manolo
Replied On January 25, 2016 02:42 PM UTC

I need hide the accordion items in function role's user, so i need do it in code behind.



Arun Palaniyandi [Syncfusion]
Replied On January 28, 2016 01:27 PM UTC

Hi  Manolo

We will give the support for “Hiding the nested accordion item in server-side” as you have requested. So we have created an incident in your account kindly follow up the incident for further queries.  

Please let me know if any concerns.

Regards,
Arun P

Manolo
Replied On January 28, 2016 02:41 PM UTC

Ok, thanks

Arun Palaniyandi [Syncfusion]
Replied On January 29, 2016 10:13 AM UTC

Hi Manolo,

Thanks for the update.


Please let us know if you have any other concern.

Regards,
Arun P 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;