This is a migrated thread and some comments may be shown as answers.

Need help in RadGrid

3 Answers 73 Views
Grid
This is a migrated thread and some comments may be shown as answers.
john
Top achievements
Rank 1
john asked on 14 Dec 2010, 04:28 PM

Hi,
            I am using RadGrid whenever i click add button (am using image buttons) am getting Insert items at the botttom of the grid.In that am getting Insert and cancel image buttons. Am using that images from GridEditCommandColumn . Initially am using Inline editimg, now i want to remove that inline editing but still i need add.If i remove GridEditCommand Column how i ll get images for Insert and cancel.Pls help me to do this.

Thanks,
John

 

3 Answers, 1 is accepted

Sort by
0
Rafaga2k
Top achievements
Rank 1
answered on 14 Dec 2010, 05:36 PM
hello:

First check the demos and examples for RadGrid , you can get more knownlegde that anyone can explain.  second you can try to use a toolbar inserted in grid to remove the inline  edit and use form edit or external edit ... but you need to check examples first

theres a lot open source icons packs rounding out there example "Fam fam fam silk icons"
0
Accepted
Shinu
Top achievements
Rank 2
answered on 15 Dec 2010, 07:16 AM
Hello John,


One suggestion is customizing the CommandItem to show Insert and cancel buttons when grid in insert mode. Use the CommandItemTemplate to customize it.
Grid / Command Item


Another option is showing the EditCommandColumn when grid is in insert mode. And when following this approach, you will have to hide all the Edit links of EditColumn. You will get some idea to accomplishing this functionality from the following forum link
Radgrid with Insert and no Update


-Shinu.
0
john
Top achievements
Rank 1
answered on 18 Dec 2010, 12:14 PM
Thanks Shinu it worked...

And also am having some more doubts.
1.In my grid am having 13 columns,I gave master table view width=150% ,but when i click add button to insert new record insert item display is coming only to the size of the grid.ie Grid width=100%.(problem is one textbox field is getting placed on another filed) I want insert item display fields to come upto to 150%.Please help me.
2.By default grid is editable so after editing, am sending all the records of the grid to database because of that performance hit is there in my screen.I want to send only affected record to the database.
Tags
Grid
Asked by
john
Top achievements
Rank 1
Answers by
Rafaga2k
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
john
Top achievements
Rank 1
Share this question
or