<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.NET AJAX UI</title><link>http://forums.asp.net/1008.aspx</link><description>Here you can discuss UI-related issues with AJAX such as controls and client-side functionality including Silverlight controls for ASP.NET</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: getting selected value from autoCompleteExtender</title><link>http://forums.asp.net/thread/3283339.aspx</link><pubDate>Thu, 09 Jul 2009 10:49:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3283339</guid><dc:creator>Vince Xu - MSFT</dc:creator><author>Vince Xu - MSFT</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3283339.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=3283339</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Please debug javascript in VS. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.jonathanboutelle.com/mt/archives/2006/01/howto_debug_jav.html"&gt;http://www.jonathanboutelle.com/mt/archives/2006/01/howto_debug_jav.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;this error means $get(&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;#39;tx_name&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;) is a null object&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.jonathanboutelle.com/mt/archives/2006/01/howto_debug_jav.html"&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: getting selected value from autoCompleteExtender</title><link>http://forums.asp.net/thread/3280565.aspx</link><pubDate>Wed, 08 Jul 2009 07:13:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3280565</guid><dc:creator>svibuk</dc:creator><author>svibuk</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3280565.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=3280565</wfw:commentRss><description>&lt;p&gt;i used the above code &amp;amp; getting this error &lt;/p&gt;
&lt;p&gt;Microsoft JScript runtime error: &amp;#39;undefined&amp;#39; is null or not an object&lt;/p&gt;
&lt;p&gt;at line&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;var&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; x=$get(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;#39;tx_name&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).value = dd.substring(0, dd.indexOf(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;#39;|&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;));&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;in the below line&lt;/font&gt;&lt;/p&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;var&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; dd = $find(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;autoCompleteBehavior1&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).get_completionList().childNodes[index]._value;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;i get the value of dd as undefined&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;this is my full code&lt;/font&gt;&lt;/p&gt;&lt;/p&gt;
&lt;p&gt;function pageLoad()&lt;br /&gt;&amp;nbsp;{&lt;br /&gt;$find(&amp;quot;autoCompleteBehavior1&amp;quot;).add_itemSelected(setValue);&lt;br /&gt;}&lt;br /&gt;&amp;nbsp;&lt;br /&gt;function setValue() &lt;br /&gt;{&lt;/p&gt;
&lt;p&gt;var index = $find(&amp;quot;autoCompleteBehavior1&amp;quot;)._selectIndex;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var dd = $find(&amp;quot;autoCompleteBehavior1&amp;quot;).get_completionList().childNodes[index]._value;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert(dd)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var x=$get(&amp;#39;tx_name&amp;#39;).value = dd.substring(0, dd.indexOf(&amp;#39;|&amp;#39;));&lt;br /&gt;alert(x)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;}&lt;/p&gt;</description></item><item><title>Re: getting selected value from autoCompleteExtender</title><link>http://forums.asp.net/thread/3279530.aspx</link><pubDate>Tue, 07 Jul 2009 16:42:40 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3279530</guid><dc:creator>Pawan_Mishra</dc:creator><author>Pawan_Mishra</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3279530.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=3279530</wfw:commentRss><description>&lt;p&gt;Hi &lt;/p&gt;&lt;p&gt;I am not getting whats not actually working for you . the code snippet which I have provided , I have been using it in many places and it has even worked for many people here in this forum. Following is how I generally use it :-&lt;/p&gt;&lt;p&gt;var index = $find(&amp;quot;&amp;lt;behaviour id of the autocomplete extender&amp;gt;&amp;quot;)._selectIndex;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var dd = $find(&amp;quot;&amp;lt;behaviour id of the autocomplete extender&amp;gt;&amp;quot;).get_completionList().childNodes[index]._value;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $get(&amp;#39;&amp;lt;id of the textbox&amp;gt;&amp;#39;).value = dd.substring(0, dd.indexOf(&amp;#39;|&amp;#39;));&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Please cross check whether you are getting values form the server side code properly or not . May be there you will find something which might be causing the problem.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: getting selected value from autoCompleteExtender</title><link>http://forums.asp.net/thread/3278175.aspx</link><pubDate>Tue, 07 Jul 2009 06:21:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3278175</guid><dc:creator>svibuk</dc:creator><author>svibuk</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3278175.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=3278175</wfw:commentRss><description>&lt;p&gt;with the above i am getting &amp;quot;undefined &amp;quot;&lt;/p&gt;
&lt;p&gt;i used &lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;var&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;dd =$find(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;autoCompleteBehavior1&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).get_element().value = eventArgs.get_text().split(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;:&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)[0] ;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;i get the value selected&lt;/p&gt;
&lt;p&gt;i even get the value on the server side &lt;/p&gt;
&lt;p&gt;now my prblm is with the value which i get after selection i need to get other related data of that selected value&lt;/p&gt;
&lt;p&gt;so i use the value frm server side in the query &lt;/p&gt;
&lt;p&gt;but i am not able to use it in text changed event of textbox&lt;/p&gt;
&lt;p&gt;&amp;amp; secondaly after the selection is done i need the tab to be automiticaly moved to next control&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: getting selected value from autoCompleteExtender</title><link>http://forums.asp.net/thread/3277904.aspx</link><pubDate>Tue, 07 Jul 2009 03:22:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3277904</guid><dc:creator>Pawan_Mishra</dc:creator><author>Pawan_Mishra</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3277904.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=3277904</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;svibuk:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;function&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; pageLoad()&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;{&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;$find(&amp;quot;autoCompleteBehavior1&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).add_itemSelected(onItemSelected);&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;Rather than setting it ion pageLoad function set this attribute directly in decleration of the control ie in markup.Where are you getting the error ie in which line ? If things are proper then alret(dd)&amp;nbsp; --&amp;gt; will throw an alert message showing the content of the selected value. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: getting selected value from autoCompleteExtender</title><link>http://forums.asp.net/thread/3277903.aspx</link><pubDate>Tue, 07 Jul 2009 03:21:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3277903</guid><dc:creator>Vince Xu - MSFT</dc:creator><author>Vince Xu - MSFT</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3277903.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=3277903</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Firstly, you can use $find(&amp;#39;behaviorID&amp;#39;).get_element() to get the instance of Textbox. &lt;/p&gt;
&lt;p&gt;In your code, please use &lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;var&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; dd = $find(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;autoCompleteBehavior1&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).get_completionList().childNodes[index]._value;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;instead of&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;var&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; dd = $find(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;autoCompleteExtender1&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).get_completionList().childNodes[index]._value;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;You used incorrect behaviorID.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: getting selected value from autoCompleteExtender</title><link>http://forums.asp.net/thread/3276202.aspx</link><pubDate>Mon, 06 Jul 2009 07:36:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3276202</guid><dc:creator>svibuk</dc:creator><author>svibuk</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3276202.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=3276202</wfw:commentRss><description>&lt;p&gt;the eg &amp;nbsp;links in the &amp;nbsp;page suggested by the links in this forums are not getting opened&lt;/p&gt;</description></item><item><title>Re: getting selected value from autoCompleteExtender</title><link>http://forums.asp.net/thread/3275972.aspx</link><pubDate>Mon, 06 Jul 2009 05:08:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275972</guid><dc:creator>svibuk</dc:creator><author>svibuk</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275972.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=3275972</wfw:commentRss><description>&lt;p&gt;i tried using aboce code&lt;/p&gt;
&lt;p&gt;but getting &lt;/p&gt;
&lt;p&gt;Microsoft JScript runtime error: &amp;#39;null&amp;#39; is null or not an object&lt;/p&gt;
&lt;p&gt;the follwoing is teh javascript on client side&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;$find(&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;function&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; pageLoad()&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;{&lt;/font&gt;&lt;/p&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;$find(&amp;quot;autoCompleteBehavior1&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).add_itemSelected(onItemSelected);&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;}&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;function&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; onItemSelected(evt) {&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;var&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; index = $find(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;autoCompleteBehavior1&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)._selectIndex;&lt;/p&gt;
&lt;p&gt;alert(index)&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;var&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; dd = $find(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;autoCompleteExtender1&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).get_completionList().childNodes[index]._value;&lt;/p&gt;
&lt;p&gt;alert(dd)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i get the index butnot the value&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: getting selected value from autoCompleteExtender</title><link>http://forums.asp.net/thread/3275839.aspx</link><pubDate>Mon, 06 Jul 2009 03:36:39 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275839</guid><dc:creator>Pawan_Mishra</dc:creator><author>Pawan_Mishra</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275839.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=3275839</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;Assign a client side event handler for the item selected eevent and then in that handler you can retrive the selecetd value with the following code :-&lt;/p&gt;&lt;p&gt;function itemSelected(evt) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var index = $find(&amp;quot;&amp;lt;behaviour id of the autocomplete extender&amp;gt;&amp;quot;)._selectIndex;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var dd = $find(&amp;quot;behVendorList&amp;quot;).get_completionList().childNodes[index]._value;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;  &amp;nbsp;&amp;nbsp;  //here you can use the above variable dd and then assign value to respective textbox &lt;br /&gt;}&lt;/p&gt;</description></item><item><title>Re: getting selected value from autoCompleteExtender</title><link>http://forums.asp.net/thread/3275802.aspx</link><pubDate>Mon, 06 Jul 2009 03:01:10 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275802</guid><dc:creator>chetan.sarode</dc:creator><author>chetan.sarode</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275802.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=3275802</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;a href="http://forums.asp.net/t/1162005.aspx"&gt;http://forums.asp.net/t/1162005.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://forums.asp.net/t/1124044.aspx"&gt;http://forums.asp.net/t/1124044.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>getting selected value from autoCompleteExtender</title><link>http://forums.asp.net/thread/3274317.aspx</link><pubDate>Sat, 04 Jul 2009 06:16:02 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274317</guid><dc:creator>svibuk</dc:creator><author>svibuk</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274317.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1008&amp;PostID=3274317</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;function pageLoad(){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $find(&amp;quot;autoCompleteBehavior1&amp;quot;).add_itemSelected(onItemSelected);&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function onItemSelected(){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //you can add some code here to send a postback.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert(&amp;quot;hello&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;using above oon the client side i get the messgae from alert&lt;br /&gt;but i need the select value from the autocompleteextender in the textbox&lt;br /&gt;so that i culd assign that value to a hidden field &amp;amp; use that in the server side query to get the corresponsing details&lt;/p&gt;
&lt;p&gt;i am not able to use the normal javascript code ie document.getElementById(&amp;#39;autoCompleteExtender1&amp;#39;).value&amp;nbsp; or even with the textbox&lt;/p&gt;</description></item></channel></rss>