Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7068253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:18:04+00:00 2026-05-28T05:18:04+00:00

We have a Tab controlled rendered with CSS, using <li> . Once rendered, we

  • 0

We have a Tab controlled rendered with CSS, using <li>.

Once rendered, we have this:

<div class="innertabs" id="tabbar">
<ul>
    <li id="ctl00_ContentPlaceHolderMain_SIS_ICMS_IntranetWeb_Modules_Person_TabCasePlanYJ_CasePlan_TabInterventionsYJ_liOrders" class="" disabled="disabled">
        <a id="ctl00_ContentPlaceHolderMain_SIS_ICMS_IntranetWeb_Modules_Person_TabCasePlanYJ_CasePlan_TabInterventionsYJ_lnkOrders" href="javascript:__doPostBack('ctl00$ContentPlaceHolderMain$SIS_ICMS_IntranetWeb_Modules_Person_TabCasePlanYJ_CasePlan$TabInterventionsYJ$lnkOrders','')">Orders</a>
    </li>
    <li id="ctl00_ContentPlaceHolderMain_SIS_ICMS_IntranetWeb_Modules_Person_TabCasePlanYJ_CasePlan_TabInterventionsYJ_liProgramActivityList" class="" disabled="disabled">
        <a id="ctl00_ContentPlaceHolderMain_SIS_ICMS_IntranetWeb_Modules_Person_TabCasePlanYJ_CasePlan_TabInterventionsYJ_lnkProgramActivityList" href="javascript:__doPostBack('ctl00$ContentPlaceHolderMain$SIS_ICMS_IntranetWeb_Modules_Person_TabCasePlanYJ_CasePlan$TabInterventionsYJ$lnkProgramActivityList','')">Program/activity list</a>
    </li>
    <li id="ctl00_ContentPlaceHolderMain_SIS_ICMS_IntranetWeb_Modules_Person_TabCasePlanYJ_CasePlan_TabInterventionsYJ_liProgramActivityDetail" class="current">
        <a id="ctl00_ContentPlaceHolderMain_SIS_ICMS_IntranetWeb_Modules_Person_TabCasePlanYJ_CasePlan_TabInterventionsYJ_lnkProgramActivityDetail" href="javascript:__doPostBack('ctl00$ContentPlaceHolderMain$SIS_ICMS_IntranetWeb_Modules_Person_TabCasePlanYJ_CasePlan$TabInterventionsYJ$lnkProgramActivityDetail','')">Program/activity details</a>
    </li>



</ul>

Problem is, when we set a tab to disabled, the text of the tab (on the actual tab bit that you click) goes disabled – but, still remains clickable.

We are trying with this code:

private void TabCasePlanInterventionsProgramActivityDetails_OnCreateProgram()
    {
    //    ShowProgramActivityDetailPanel();
    //    TabCasePlanInterventionsProgramActivityList.Visible = false;
    //    TabCasePlanInterventionsProgramActivityDetail.Visible = true;
    //    liProgramActivityList.Disabled = true;
    //    liOrders.Disabled = true;

        ShowProgramActivityDetailPanel();
        TabCasePlanInterventionsProgramActivityList.Visible = false;
        TabCasePlanInterventionsProgramActivityDetail.Visible = true;
        TabCasePlanInterventionsOrders.Visible = false;
        //TabCasePlanInterventionsProgramActivityList.PopulateForm();

        liProgramActivityList.Attributes.Add("class", "");
        liProgramActivityDetail.Attributes.Add("class", "current");
        liOrders.Attributes.Add("class", "");
        liProgramActivityList.Disabled = true;
        liOrders.Disabled = true;


        if (CurrentAssessment!= null)
        {
            TabCasePlanInterventionsProgramActivityDetail.CurrentAssessment = CurrentAssessment; 
        }

        TabCasePlanInterventionsProgramActivityDetail.ChangeToCreateMode();   

        if (CurrentCasePlan!= null)
        {
            TabCasePlanInterventionsProgramActivityDetail.CurrentCasePlan = CurrentCasePlan;
            TabCasePlanInterventionsProgramActivityDetail.ChangeToCreateMode();   
        }
    }

Is there a way to not make it clickable?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:18:05+00:00Added an answer on May 28, 2026 at 5:18 am

    Ah, the list item is disabled instead of the child controls.

    Try cycling through the child controls of liProgramActivityList, e.g. liProgramActivityList.Controls and disableing all those as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have setup tab bar controller using interface builder, and each tab bar item
I have a tab bar controller with this code - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { // Return
I have a tab bar controller with different view controllers all using the same
I have 2 views controlled by a tab bar view controller created by the
I have a flash file in a div. This div is set to visible
I have a tab controller and within this tab controller one of the views
I have a tab bar controller and in both tab bar items i have
I have a Tab Bar Controller created in Interface Builder Within the Tab Bar
Let's have an example. In application I have a tab bar controller. Tab bar
I have a tab-bar and navigation controller application (like Youtube app or Contacts app).

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.