Click here to Skip to main content
13,006,180 members (64,129 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hello All ,
I have one gridview and there I am just displaying information .
I want to configure girdview property in below ways
1) Disable add row functionality
2) Disable edit row functionality
3) Disable remove row functionality
4) Remove default selection . No row selected
5) change look such that it will look like simple table
Posted 29-Mar-13 1:44am
aspnet_regiis -i 29-Mar-13 7:45am
Use Repeater....
Rahul Dhoble 29-Mar-13 7:47am
Could you please give me one example ?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

The Repeater is a basic templated data-bound list. It has no built-in layout or styles, so you must explicitly declare all HTML layout, formatting, and style tags within the control's templates.
The Repeater is the only control that allows the developers to split HTML tags across the templates. To create a table using templates, include the begin table tag (<table>) in the HeaderTemplate, a single table row tag (<tr>) in the ItemTemplate, and the end table tag (</table>) in the FooterTemplate.
The Repeater has no built-in selection or editing support. The user may use the ItemCommand event to process control events that are raised from the templates to the control.[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170628.1 | Last Updated 29 Mar 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100