Set Default Value

1 reply. Last post: December 21, 2009 10:06 PM by Andi Santoso
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Rob DMember

Hi all;

I have an issue with webcombo, I need to set the default value.

I have tried to set value serverside after Datasource loading but I have not find a solution.

After I have tried to set value client side using this sample :


function SetValue()
{                        
   // To Set selected Value by KeyValue
   var combo = ISGetObject("WebCombo1");
   combo.SetSelectedRowByValue("Andrew");
   alert("Set value by KeyValue Andrew");
}


but doesn't run .

I Have find this sample at this link:

http://support.intersoftpt.com/docs/webcombo/4.0.7200/Set%20selected%20row%20in%20unbound%20WebCombo.html


but the only sample that run correctly is setText() method.


How can I set the default value of a webcombo?


Thanks.

All times are GMT -5. The time now is 10:45 PM.
Previous Next