The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: ListView Control in ASP.NET 3.5
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

kalu singh raoPosted Jul 8, 2016, 7:25 AM
Nice...
Ronak PatilPosted Apr 2, 2014, 4:23 AM
Thanks Sir...it is really helpfull!
Santosh YadavPosted Jul 1, 2013, 1:48 PM
Greate example ... Thankyou very much sir...
Mustafa IqbalPosted Oct 31, 2012, 5:10 AM
Thanks Mr. Raj Kumar, your article is helpful for me, but one more thing confusing me, that how can I set image in listview from SQL datasource (Image is in binary format)?
Amit RaiPosted Feb 3, 2011, 1:14 AM
I want to apply autocomplete in gridview (in asp.net3.5 with C#) using jquery and this gridview is within the ajax update panel<asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate>. For this i am using method within the <ItemTemplate> $(document).ready(function(){ $('[id$=txtItemCode]').autocomplete("SearchItem.aspx").result(function (event, data, formatted) { if (data) { alert('Value: '+ data[1]); } else { $('[id$=txtItemID]').val('-1'); } }); }); since in gridview the textbox id is <asp:TextBox id="txtItemCode" /> but on browser such as <input type="textbox" id="ctl00_otherName_101txtItemCode" /> and then for the next row same textbox id is now <input type="textbox" id="ctl00_otherName_102txtItemCode" /> i tried 1. put this code within the <ItemTemplate> 2. <%= txtItemCode.ClientID %> 3. $("*[@id$=theGridId] input[@id$=txtItemCode]") 4. jQuery.expr[':'].asp = function(elem, i, match) { return (elem.id && elem.id.match(match[3] + "$")); }; and $(":asp(txtItemCode)").autocomplete... 5.$('.txtItemCode').autocomplete("LookupCodes.aspx?type=IC", { mustMatch: true }) but autocomplete does not work in all the cases plz help me.
Amit RaiPosted Feb 3, 2011, 12:55 AM
I want to apply autocomplete in gridview (in asp.net3.5 with C#) using jquery and this gridview is within the ajax update panel<asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate>. For this i am using method within the <ItemTemplate> $(document).ready(function(){ $('[id$=txtItemCode]').autocomplete("SearchItem.aspx").result(function (event, data, formatted) { if (data) { alert('Value: '+ data[1]); } else { $('[id$=txtItemID]').val('-1'); } }); }); since in gridview the textbox id is <asp:TextBox id="txtItemCode" /> but on browser such as <input type="textbox" id="ctl00_otherName_101txtItemCode" /> and then for the next row same textbox id is now <input type="textbox" id="ctl00_otherName_102txtItemCode" /> i tried 1. put this code within the <ItemTemplate> 2. <%= txtItemCode.ClientID %> 3. $("*[@id$=theGridId] input[@id$=txtItemCode]") 4. jQuery.expr[':'].asp = function(elem, i, match) { return (elem.id && elem.id.match(match[3] + "$")); }; and $(":asp(txtItemCode)").autocomplete... 5.$('.txtItemCode').autocomplete("LookupCodes.aspx?type=IC", { mustMatch: true }) but autocomplete does not work in all the cases plz help me.
B M SuchitraPosted Dec 15, 2010, 9:08 PM
Its reallly very good article... Can u plzz tell me how to save the listview data back in a new table.. SQL table.... Thanks
Satyapriya NayakPosted Mar 26, 2010, 11:02 PM
Very good sir ,but how to do it without using SqlDataSource.