Skip to Content
0
Former Member
Jul 02, 2007 at 04:05 AM

How to Diasble the button if node is null

11 Views

Hi All,

I want to disable button if node is null... I have written the code in wdInit()...

But it is not triggered....

IPrivateaView.IApplicantsListNode node = wdContext.nodeAView();

node1 = node.size()

if(node1 !=null)

{

wdContext.currentContextElement().setEnableMergeButton(true);

}

}

else

{

wdContext.currentContextElement().setEnableMergeButton(false);

}

Please Tel me how to do...

Thanks & regards

Mathi

Message was edited by:

Mathi s