Last post Dec 18, 2008 01:42 AM by aboreham
Nov 29, 2006 05:05 PM|scripter26|LINK
The Repeater control is in my mind a very very useful and powerfull tool that if beefed up could do away with the Gridview.
The repeaters ability to take on the shape and design of your liking makes more flexible in that area but at the same time features like the SelectedRow event with the GridView can make the functionality of the Gridview more powerful.
What I am suggesting is combining the functionality of the Gridview with the flexibility of the Repeater.
one good example of that is.
I had a database that I wanted to display multiple rows on the page. due to how the database was setup I could not use the gridview although was able to use the repeater to display the items i needed. The downside to that was with the gridview I would have
been able to selectedrow event and now I am not able to. Long story short Microsoft did real good with their controls but could have combined alot of these controls to make dare I say it "Super Controls"
Oct 22, 2008 04:43 PM|ardraann|LINK
Now i am trying to add sub headings to repeater control.But its not working.
I did it succesfully in gridview but that dosent worked here.
Can u pls help me to find a solution.But coz of someother problems with gridview i am using repeater.
Here my code that works succesfully in a gridview ..but not in my repeater
Can u pls hep me to edit the code ,so that i can use it under the repeater control
tmpCategoryName = drv[
span.InnerHtml = tmpCategoryName;
tbl.Rows.AddAt(tbl.Rows.Count - 1, row);
Thanks in advance.
Dec 18, 2008 01:42 AM|aboreham|LINK
Have you tried using the new ListView control? It's like you describe: a combination of a Repeater and a GridView: