I have two tabs and configured usign jQuery UI.
ul class=\"tabs\"
li tabone
li tabtwo
ul
dynamically from C# code behind I will hide
I make a wild assumption that you really have layout as:
<ul class="tabs">
<li id="tabone">one</li>
<li id="tabtwo">two</li>
</ul>
IF that assumption is correct, you simply use the ID to select the "tab"
$('#tabone').css("display","none");
EDIT: select the tab on your layout:
var index = $('.tabs ul').index($('#tabone'));
$('.tabs ul').tabs('select', index);
$("#tabs").tabs({active: [0,2], disabled: [3], selected: 2});
Where Selected is used for open Particular Tab or Select Particular Tab on onload.