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

AutoInsert and update Question

3 Answers 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
L
Top achievements
Rank 1
L asked on 09 Feb 2009, 05:37 PM
hi

I have a table with field A,B,C,D,E,F. Field A is the PK.

In my grid it display only A,B,C, but when click on the Add New Record, i want the insert form to show all fields for insertion in in-Form edit mode.


Can it be done?

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 10 Feb 2009, 06:37 AM
Hi,

You can hide the column in the normal mode by setting its Visible/Display property to false. But all these columns will be appearing in the Edit/Insert mode.

ASPX:
   <telerik:GridBoundColumn DataField="ProductName"  Display="false"  HeaderText="ProductName"  UniqueName="ProductName" > 
                    </telerik:GridBoundColumn> 


Shinu
0
L
Top achievements
Rank 1
answered on 10 Feb 2009, 07:05 AM
hi

Thanks.

By the way. i would like to have a RadUpload in the In-Form edit mode. So are there any good reference of how i should use this?

Also, i would like to upload an image and rename the file according to the primary key value. How should i go about it? Thanks
0
Accepted
Princy
Top achievements
Rank 2
answered on 10 Feb 2009, 08:04 AM
Hello,

You can refer to the following online demo which provides demonstration on using RadUpload in the EditForm of a RadGrid:
Using RadUpload in an Ajaxified Grid
You can also refer to the following help document which explains on how to manipulate files that are uploaded:
Manipulating Uploaded Files

Thanks
Princy.
Tags
Grid
Asked by
L
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
L
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or