Click here to Skip to main content
15,920,708 members
Home / Discussions / Web Development
   

Web Development

 
QuestionRe: Browser Control Pin
JayaDurai6-Nov-05 22:26
JayaDurai6-Nov-05 22:26 
Questiondefine shortcut keys in web applications Pin
Member 55690225-Oct-05 21:48
Member 55690225-Oct-05 21:48 
AnswerRe: define shortcut keys in web applications Pin
minhpc_bk26-Oct-05 5:04
minhpc_bk26-Oct-05 5:04 
QuestionWe provide total BPO Project and Project management consultancy Pin
vchandra25-Oct-05 19:58
vchandra25-Oct-05 19:58 
AnswerRe: We provide total BPO Project and Project management consultancy Pin
Christian Graus26-Oct-05 10:05
protectorChristian Graus26-Oct-05 10:05 
QuestionTrouble with IE Treeview control Pin
raj42025-Oct-05 19:32
raj42025-Oct-05 19:32 
AnswerRe: Trouble with IE Treeview control Pin
minhpc_bk26-Oct-05 5:04
minhpc_bk26-Oct-05 5:04 
GeneralRe: Trouble with IE Treeview control Pin
raj42027-Oct-05 2:46
raj42027-Oct-05 2:46 
Well thank you very much for your help.But i already tried that.and wrote 7 function to enable and disable the tree check boxes and to set the queueEvent to each of the checkboxes.the thing is that while i am at it this code is cheking all the checkboxes and not the ones i want.


function start(tree){
checkCheckBox(tree);
TreeView_ReadyForPostback(tree);
}
function TreeView_ReadyForPostback(objTreeView){
//alert("treeview_resdy 0")
if(objTreeView != null)
{
// alert("treeview_resdy 1");
TreeView_CheckVals(objTreeView, objTreeView.getChildren());
}
else
alert("ERROR: TreeView object is null");
}

function TreeView_CheckVals(objTreeView, arrChildren){
//
var objChild;
for(var i = 0; i < arrChildren.length; i++){
objChild = arrChildren[i];
if(TreeView_IsChecked(objChild) != TreeView_GetInitCheckValue(objChild))
objTreeView.queueEvent("oncheck", objChild.getNodeIndex());
//alert("TreeView_CheckVals 1");
TreeView_CheckVals(objTreeView, objChild.getChildren());
}
}

function TreeView_IsChecked(objNode){
//alert("TreeView_CheckVals 1");
if(objNode.getAttribute("Checked"))
return true;
else
return false;
}
function TreeView_GetInitCheckValue(objNode){
alert("iitval");
return objNode.getAttribute("InitCheckValue");

}

function checkCheckBox(c)
{ //TreeView_ReadyForPostback(c);
var tst = c;
var nodeIndex = c.clickedNodeIndex;
var node = c.getTreeNode(c.clickedNodeIndex);
var bChecked = node.getAttribute("checked");
if (c.clickedNodeIndex != null)
{
checkChild(node, bChecked, nodeIndex) ;
node.setAttribute("DEFAULTSTYLE","color:black");
}
}


function checkChild(node, bCheck, nodeIndex)
{ node.setAttribute("DEFAULTSTYLE","color:black");
var ar = node.getChildren();
var i;
var bChecked = node.getAttribute("checked");
var parent;
var el;
if(ar.length > 0)
{
for(i = 0; i < ar.length; i++)
{ ar[i].setAttribute("checked", bChecked, 0);
checkChild(ar[i], bCheck) ;

}
}
else
{
if(bCheck == false)
{
parent = node.getParent();
parent.setAttribute("DEFAULTSTYLE","color:gray");
}
}
}
GeneralRe: Trouble with IE Treeview control Pin
minhpc_bk27-Oct-05 16:36
minhpc_bk27-Oct-05 16:36 
GeneralRe: Trouble with IE Treeview control Pin
raj42027-Oct-05 19:54
raj42027-Oct-05 19:54 
QuestionHTML Image or ASP:ImageButton inside a datalist causing a postback Pin
K.P.Kannan25-Oct-05 18:29
K.P.Kannan25-Oct-05 18:29 
AnswerRe: HTML Image or ASP:ImageButton inside a datalist causing a postback Pin
minhpc_bk26-Oct-05 5:02
minhpc_bk26-Oct-05 5:02 
QuestionApplication root in CSS? Pin
Anonymous25-Oct-05 8:12
Anonymous25-Oct-05 8:12 
AnswerRe: Application root in CSS? Pin
Edbert P25-Oct-05 19:52
Edbert P25-Oct-05 19:52 
AnswerRe: Application root in CSS? Pin
dwatkins@dirq.net26-Oct-05 10:10
dwatkins@dirq.net26-Oct-05 10:10 
Questionpaint problem Pin
llp00na25-Oct-05 3:00
llp00na25-Oct-05 3:00 
QuestionCSS: HTTP 500 Internal Server Error? Pin
hrdegroot24-Oct-05 23:44
hrdegroot24-Oct-05 23:44 
QuestionSQL Writable Data Pin
Illegal Operation24-Oct-05 20:28
Illegal Operation24-Oct-05 20:28 
AnswerRe: SQL Writable Data Pin
Gavin Jeffrey24-Oct-05 20:54
Gavin Jeffrey24-Oct-05 20:54 
QuestionCookies Pin
Smallishfry24-Oct-05 20:26
Smallishfry24-Oct-05 20:26 
AnswerRe: Cookies Pin
Christian Graus24-Oct-05 20:32
protectorChristian Graus24-Oct-05 20:32 
GeneralRe: Cookies Pin
S Douglas24-Oct-05 21:19
professionalS Douglas24-Oct-05 21:19 
AnswerRe: Cookies Pin
Dinuj Nath24-Oct-05 20:51
Dinuj Nath24-Oct-05 20:51 
QuestionRe: Cookies Pin
Smallishfry24-Oct-05 20:56
Smallishfry24-Oct-05 20:56 
AnswerRe: Cookies Pin
code-frog24-Oct-05 21:06
professionalcode-frog24-Oct-05 21:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.