Home » VB.NetRSS

Ajax Combo Focus

Hi

I am having a problem Ajax Combo ,

I have 2 ajax combobox control, and both are independently populated,

if i click on the dropdown button, it shows the list dropdown , without cliking anywhere , if you click on hte other ajax combo dropdown button, the other combo dropdown should hide, but its not happening

Its showing both drop downs

Any help in this is much Appreciated.

 

Regards

Raj

 

11 Answers Found

 

Answer 1

Hi,

Could you post the related code?

For more details of Combo, please refer to:http://www.asp.net/ajaxlibrary/act_ComboBox.ashx.

 

Answer 2

<cc1:ComboBox ID="ddlOffice" CssClass="font10" RenderMode="Block" runat="server"  DropDownStyle="DropDownList" AutoCompleteMode="SuggestAppend" Width="132px">
</cc1:ComboBox>

 <cc1:ComboBox ID="ddlReviewer" CssClass="font10" RenderMode="Block" runat="server" DropDownStyle="DropDownList" AutoCompleteMode="SuggestAppend" Width="132px">
</cc1:ComboBox>

 

If you click  on the dropdown  button in the ddloffice combo  and directly if you click on the dropdown button  of the ddlReviewer combo  you will see both dropdown listed.

 

Regards

Raj

 

Answer 3

Hi,

The scenario is not happen on my side. I think there should be no problem  of that. I suggest you checking the ComboBox properties agian at:http://www.asp.net/ajaxlibrary/act_ComboBox.ashx and http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/ComboBox/ComboBox.aspx.

 

Answer 4

So for you once you click  directly on the dropdown  on the other control  , the previously opend dropdown collapsed? and you see only one dropdown shown

 

I am not able to attach the image, so that i could have shown you the snapshot

Regards

Raj 

 

Answer 5

Hi,

Yes, the two ComboBox don't have direct relation. So they will not interaction.
 

 

Answer 6

well,

its not working for me, even i have 2 two combobox  dont have any releation, i just clicked on the dropdown  ( that small arrow button  ) and then click on the next combobox's dropdown button ( that small arrow button )  without clicking anywhere.

 

  

 

Answer 7

Hi,

OK. Then could you send you project to me(my email)? And I will test on my side. 

 

Answer 8

Email address please, 

 

Answer 9

Hi,

I have sent a email to you. 

 

Answer 10

Hi 

Did you receive my email,

Please let me know if you need anything else

Regards

Raj 

 

Answer 11

Hi,

I have received your email. And reply to you attach the solution just now. The code I add in your application as below:

    <script type="text/javascript">
        function pageLoad() {
            $find("ComboBox1_PopupBehavior").add_showing(onshowing);
        }

        function onshowing() {
            $find("ComboBox2_PopupBehavior").hide();
        }
    </script>


 

 
 
Search for  Ajax Combo Focus
 

<< Previous      Next >>


Microsoft   |   Windows   |   Visual Studio   |   Follow us on Twitter