4 Answers, 1 is accepted
0
Hello Surya,
Thank you for writing.
If I understand correctly, you want to problematically open the drop down of RadMultiColumnComboBox when the control is not on focus. If so, here is how you can do that:
I hope this helps.
Regards,
Stefan
the Telerik team
Thank you for writing.
If I understand correctly, you want to problematically open the drop down of RadMultiColumnComboBox when the control is not on focus. If so, here is how you can do that:
radMultiColumnComboBox1.MultiColumnComboBoxElement.ShowPopup();
I hope this helps.
Regards,
Stefan
the Telerik team
0
Surya
Top achievements
Rank 1
answered on 20 Nov 2012, 03:29 PM
Hi Stefan
Thanks for Response.
I tried with ShowPopup() method and i fails to full fill my requirement.
Following is my requirement in detailed :
I have multi column combo box , on leave event, i am binding data , if there is no exact match with Entered value ,instead of going to next control , i want to open drop down and stay focussed on same control .
Thanks & Regards,
Surya.
Thanks for Response.
I tried with ShowPopup() method and i fails to full fill my requirement.
Following is my requirement in detailed :
I have multi column combo box , on leave event, i am binding data , if there is no exact match with Entered value ,instead of going to next control , i want to open drop down and stay focussed on same control .
Thanks & Regards,
Surya.
0
Accepted
Hi Surya,
The only way to keep a control from loosing its focus is to cancel its Validating event. To handle your scenario, please move your logic to the validating event, cancel it when needed and show the popup:
Please note that it is important that you disable the control's animations in order to be able to show the popup correctly, since they cause a delay in closing the popup which might lead to undesired behavior:
I hope this helps.
Kind regards,
Stefan
the Telerik team
The only way to keep a control from loosing its focus is to cancel its Validating event. To handle your scenario, please move your logic to the validating event, cancel it when needed and show the popup:
void
radMultiColumnComboBox1_Validating(
object
sender, CancelEventArgs e)
{
if
(yourCheckHere)
{
e.Cancel =
true
;
radMultiColumnComboBox1.MultiColumnComboBoxElement.ShowPopup();
}
}
Please note that it is important that you disable the control's animations in order to be able to show the popup correctly, since they cause a delay in closing the popup which might lead to undesired behavior:
radMultiColumnComboBox1.MultiColumnComboBoxElement.DropDownAnimationEnabled =
false
;
I hope this helps.
Kind regards,
Stefan
the Telerik team
0
Surya
Top achievements
Rank 1
answered on 23 Nov 2012, 04:09 PM
Hi Stefan ,
Thanks for supporting , its works here.
Thanks & Regards,
Surya.
Thanks for supporting , its works here.
Thanks & Regards,
Surya.