TypeAhead [modified]
-
Plz help me if any one can. How I can get Text From TypeAhead Control. I am using Visual Studio and developing my project in Asp.net using c#. like i am using String str = TypeAhead1.Text; but always null value is returned..
modified on Saturday, November 14, 2009 2:46 AM
-
Plz help me if any one can. How I can get Text From TypeAhead Control. I am using Visual Studio and developing my project in Asp.net using c#. like i am using String str = TypeAhead1.Text; but always null value is returned..
modified on Saturday, November 14, 2009 2:46 AM
-
Hope you aren't clearing text on postback
Please don't forget to mark 'Good Answer', if you find it really a good one! Kashif
bro I don't understand ur answer. what I have to do, to show the selected text from typeahead control on label.? Simply on postback i want to show the selected text on label1. Plz send me code.
modified on Saturday, November 14, 2009 6:15 AM
-
bro I don't understand ur answer. what I have to do, to show the selected text from typeahead control on label.? Simply on postback i want to show the selected text on label1. Plz send me code.
modified on Saturday, November 14, 2009 6:15 AM
sparlay_pk wrote:
bro I don't understand ur answer
He is trying to say that may be you are, unintentionally, re-setting the text box value onpageload event. If you are doing the same then wrap the code under if(!IsPostBack) { }
-
sparlay_pk wrote:
bro I don't understand ur answer
He is trying to say that may be you are, unintentionally, re-setting the text box value onpageload event. If you are doing the same then wrap the code under if(!IsPostBack) { }
Yes I understand.But bro this is not the case. the problem is only with TypeAhead control.... Have you ever use this control?
-
Yes I understand.But bro this is not the case. the problem is only with TypeAhead control.... Have you ever use this control?
They are assuming you're using a standard TextBox control. You appear to be using a third party control. Check the documentation on the control or contact the people who wrote it for support. I've never used it...
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009...