Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
Select in webcombo by code
posted

HI

I need to select an item in a webcombo based on the value of the first column.

I need a webcombo property similar to .selectedIndex to give it a string value.

can anybody help me,

thanks

Parents
  • 55
    posted

    I have the same problem & there's still no solution.

    My scenario is I have a WebGrid that passes a value (Supplier Id),

    there is a Supplier  WebCombo under the WebGrid,

    when selecting a row in the WebGrid, I should get the Supplier ID set automatically in my WebCombo ! HOW TO DO THAT, I wish if it is as easy as dropdown where it is just

    WebCombo.SelectedValue =  ...... // the selected cell value from the grid above.

Reply Children