Forums

Forums / Developing Portals / Sitefinity Portal Connector - lookup selection

Sitefinity Portal Connector - lookup selection

Thread is closed for posting
2 posts, 1 answered
  1. Rim Wehby
    Rim Wehby avatar
    2 posts
    Registered:
    14 Aug 2017
    14 Aug 2017
    Link to this post
    how to select the first value of a lookup field from javascript in the sitefinity portal connector ?
  2. Sonam Joshi
    Sonam Joshi avatar
    29 posts
    Registered:
    20 Mar 2017
    Answered
    30 Oct 2017
    Link to this post
    To select the first item in a MVC Lookup widget you can use JavaScript:
    $(function(){
    tpc.find("lookup").get_kendoInput().select(1);
    });

    Thanks,
    Sonam Joshi
2 posts, 1 answered