in
Forums
Blogs
Files
Devexpress.Com
ClientCenter
Support Center
DevExpress Channel

2 textbox'es and one popup lookup

Last post 8/26/2008 9:39 AM by Vic S (Developer Express). 3 replies.
Page 1 of 1 (4 items)
Sort Posts:
Previous Next
  • 8/21/2008 7:43 AM

    2 textbox'es and one popup lookup

     Hi. I'm using DevEx v 8.1. In my project i have 2 textbox'es with one popup lookup (Like in your example). Depending on clicked textbox, i have differens datasource for grid inside this popup. But i have problem. If i clicked textbox1, popup always showing under this textbox. I could click on textbbox2, but popup will shows under textbox1 with source for textbox2. I tryied to clean in js popupElementID, but this is not helped:

    cUniqueLookupPopup.popupElementID = "";
    cUniqueLookupPopup.popupElementID = s.uniqueID;
    cUniqueLookupPopup.popupVerticalAlign = "Below"
    cUniqueLookupPopup.popupVerticalAlign = "LeftSides";
    cUniqueGrid.gridCallBack();
    cUniqueLookupPopup.Show();

    This is in Switch Case

  • 8/22/2008 10:31 AM In reply to

    Re: 2 textbox'es and one popup lookup

    Hi,

    We do not quite understand your problem. Could you please upload a sample project
    and steps to reproduce the bugs to the Support Center?

    Thanks,
    Vic

    R&D, ASP.NET Team, Developer Express Inc.

    PS. If you wish to receive direct assistance from our Support Team, use Support Center at http://www.devexpress.com/Support/Center
  • 8/25/2008 9:44 AM In reply to

    Re: 2 textbox'es and one popup lookup

     Hi. i found a bug. it's just needed to add one line cUniqueLookupPopup.popupElement = ControlName. And that's it. :)

    But i have another problem. Different controls have different DataSources. When i'm clicking first time on Control1, everything's fine. But when i'm clicking on Control2, at first Lookup shows previos DataSource (for Control1) and after that it's reloading and showing DataSource for Control2. It's possible to Clean DataSource after Hiding Popup? Some solution in js or vb? 

  • 8/26/2008 9:39 AM In reply to

    Re: 2 textbox'es and one popup lookup

    Dmitrij S:

     Hi. i found a bug. it's just needed to add one line cUniqueLookupPopup.popupElement = ControlName. And that's it. :)

    It's not a bug.
    You cannot set internal fields on the client side.

    Thanks,
    Vic

    R&D, ASP.NET Team, Developer Express Inc.

    PS. If you wish to receive direct assistance from our Support Team, use Support Center at http://www.devexpress.com/Support/Center
Page 1 of 1 (4 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED