Hi Guys,
Here DataGrid Cell control has the focus, in which
it will automatically scroll to the first item that begins with the letter you type from access 2007 database.
once u select the name then it will goes automatically in 2nd row of the datagrid.
For example, if you type ap, you may want the control to select the first item that begins with ap.
but the Item will search from access 2007 database only .
Please help me ,
Loading
Ankit RathorePosted Feb 23, 2010, 12:26 AM
I am sorry for that, next time I will keep in my mind these things.
Sam HobbsPosted Feb 22, 2010, 12:54 PM
Amit ChoudharyPosted Feb 22, 2010, 6:13 AM
Sorry for very late reply.... do one thing
i didn't get the time to write the code for you but I'm giving you idea how can you achieve it.
find your combo box in your gridCell.
then set the properties like:
ComboBox1.AutoCompleteMode = AutoCompleteMode.Suggest;
ComboBox1.AutoCompleteSource = AutoCompleteSource.CustomeSource;
ComboBox1.CustomSource = … // my BindingList object
Hope it helps you
Ankit RathorePosted Feb 19, 2010, 1:21 AM
Still I am waiting for your answer,
at least give me a hint how can I do that .........?
Please help me
Regards
Ankit
Ankit RathorePosted Feb 18, 2010, 6:42 AM
I will be waiting for your reply,
Amit ChoudharyPosted Feb 18, 2010, 6:39 AM
i'll give a look at your code till you can try it out by youself. you have to wait some time.
Amit ChoudharyPosted Feb 18, 2010, 6:28 AM
if you are working in asp.net 3.5 and using ajax then you can do it using ajax autocomplete extender that uses Asp.net webservice.
I'm attaching a project that is working you can take reference from it. and also you please analyze the .svc file carefully.
All the best.
Don't forget to mark it as answer.
Ankit RathorePosted Feb 18, 2010, 6:25 AM
Here is the my sample code
Ankit RathorePosted Feb 18, 2010, 5:44 AM
exactly the same thing what I wanted to looking for .........
Amit ChoudharyPosted Feb 18, 2010, 5:39 AM
As i understood you want autofill or suggestions type of things while typing into your combo box??
if i'm right then give a response?? i can help you out.
Ankit RathorePosted Feb 18, 2010, 4:36 AM
Same thing here I wanted to put in my datagrid column1 bu which I just given the text and it will search from the database and suggest me the list.
Ankit RathorePosted Feb 18, 2010, 4:29 AM
I sent u one mail on your mail ID ,
can u please get back from gmail (kirangentlebreeze1987@gmail.
kiran kumarPosted Feb 18, 2010, 4:20 AM