Hey Guys,
I have added a DetailsView to my page and i have enabled editing but when i click on update all the fields are editable. I want only only one row to be editable and all other rows to be ReadOnly. Please suugest some ideas on how to make this possible.

Recommended Answers

All 4 Replies

use EditItemTemplate and in the EditItemTemplate make only the field you want editable as editable . for the rest use labels to show the fields or readonly textboxes.

<FAKE SIGNATURE>
A Software Development Company
or contact me at <FAKE SIGNATURE> , send me comment or subscribe to my blog or follow me.

But i want the field to be ReadOnly during the update operation

so make the textbox readonly and it will be readonly

simple isn't it

Man,

You can't just mark the thread Solved and forget about it.

Please tell,

Was i helpful to you.

If i was helpful , Please add it to my reputation.;)

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.