Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ismail on Oct 29, 2008 03:59
open dhtmlx forum
DhtmlxCombo set to disable on Clientside using VBScript

Hi, need help please.

I need to change the state of the DhtmlxCombo on ClientSide using VBScript

I can do this in my xslt file: z.disable(true)

But I'm working in an application that uses VBscript code - so on a certain condition i need to disable the DhtmlxCombo.

ClientSide VBScript to change (disable) state of DropDown.

Please Assist!
Answer posted by Support on Oct 29, 2008 06:56
I have no real experience in VBScript client side development, but as far as I know it possible to call function from each other, so while combo generation you can place next js code on the page

function disableCombo(){
    z.disable(true);
};


and later, from VBScript code, call 
disableCombo()
Answer posted by Ismailc on Oct 29, 2008 23:43

Hi, Thank You for Assisting:

I have serached & tried a few way of executing the javascript within the vbscript app.

using : response.write (z.disabale(true))

no luck though...

Thank You

Answer posted by Support on Oct 30, 2008 03:43
Please check attached sample. 
Attachments (1)
Answer posted by ismailc on Oct 30, 2008 04:24

Thank You - exactly what i needed!

Really appreciate it.