<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Using AJAX autocomplete extension in a dynamically populated GridView' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Using AJAX autocomplete extension in a dynamically populated GridView' posted on the 'ASP.NET' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2012 Programmers Heaven</copyright>
    <pubDate>Wed, 23 May 2012 00:36:15 -0700</pubDate>
    <lastBuildDate>Wed, 23 May 2012 00:36:15 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Using AJAX autocomplete extension in a dynamically populated GridView</title>
      <link>http://www.programmersheaven.com/mb/ASPNET/411149/411149/using-ajax-autocomplete-extension-in-a-dynamically-populated-gridview/</link>
      <description>Hello experts,&lt;br /&gt;
&lt;br /&gt;
My web application uses a single Gridview, which data source is being changed according to the selected DB table. For example, when the web is loaded, the gridview is empty and the user has to selected a table from a dropdownlist.&lt;br /&gt;
&lt;br /&gt;
When a certain table is selected, i run a DB stored procedure on the server and set the data source of the Gridview to the result of the stored procedure.&lt;br /&gt;
&lt;br /&gt;
Until now everything works quite well.&lt;br /&gt;
&lt;br /&gt;
After the selected table is being presented, the user has an "edit" option. After the Edit button is clicked, the selected row changes from text labels to text boxes, and now the user can edit the contents of the row.&lt;br /&gt;
&lt;br /&gt;
At this point i want to activate AJAX autocomplete extension. The problem is that my gridview formation is determined dynamically and therefore, i can't set the AJAX extension on the necessary textbox, as explained at all the tutorials that i've found.&lt;br /&gt;
&lt;br /&gt;
My question is, how can i attach an autocomplete AJAX extension to a certain textbox which i find using the following code segment?&lt;br /&gt;
&lt;br /&gt;
TextBox t = (GridViewTablePresent.FindControl(rowInxStr).FindC
ontrol(colInxStr) as TextBox);&lt;br /&gt;
&lt;br /&gt;
Is there a solution for a single gridview or should i use number of gridviews for each one of my tables?&lt;br /&gt;
&lt;br /&gt;
Thanks in advance,&lt;br /&gt;
&lt;br /&gt;
Metayel&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ASPNET/411149/411149/using-ajax-autocomplete-extension-in-a-dynamically-populated-gridview/</guid>
      <pubDate>Thu, 24 Dec 2009 13:48:05 -0700</pubDate>
      <category>ASP.NET</category>
    </item>
  </channel>
</rss>
