WebCombo as SearchControl and Focus Issue

18 replies. Last post: April 24, 2011 11:21 PM by Yudi
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

Hi,


I am using WebCombo as a Search Control in my application. I need to display Text in the Textbox as combination of 2 columns in the combo grid.

The work around that i have come up with this is that i have added a column with value comprising combination of 2 columns and making this column as hidden and setting the position to 0, so that when i select any row then this hidden column's value is set in the Textbox of WebCombo.

Now i also want to give a facility to user that when they know the unique value in the Webcombo grid then they just type that and the record will be selected.

For this i have given the Selection Type as AutoComplete.

Now the main problem is that when i enter a value in textbox and press tab start entering the value in another combo or textbox, the combo behind the scene gets the autocompleted value but the focus again switches back to the combo. This thing disturbs the DataEntry flow.

Can you please tell me why this is happening? As the Combo is getting the Value but still its setting focus after selecting the value.

Any workaround for this?


One more thing.

As i am using this WebCombo as my searchcontrol i want filter on each column header like how WebGrid is having. How can i achieve this?

Can i set a DropDown Template?


Thanks,

Huzefa

All times are GMT -5. The time now is 7:54 PM.
Previous Next