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

how to make a control read only inside templates & populating data

2 Answers 153 Views
ListView
This is a migrated thread and some comments may be shown as answers.
imran syed
Top achievements
Rank 1
imran syed asked on 17 Feb 2010, 01:12 PM
Hello ,

I created the Radlistview control using the following example 

but i want some controls such as text boxes which are inside Item Template, Alternate Template and insert Template,   as read only  on page load how do i achieve this ?

 can you give me a example of code how can i upload a data  in control  from a database such as text box  inside insert template as i am not able to figure to write  a code in  which event in Rad list view that will populate the data when user click on insert template.

I look forward to hear from you.

Thanks,
Imran



2 Answers, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 22 Feb 2010, 10:56 AM
Hi Imran,

Attached to this message, you will find a sample project I made for you showing how to set the ReadOnly property of a textbox in a RadListViewInsertItem.

I hope you find it useful.

Kind regards,
Mira
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
imran syed
Top achievements
Rank 1
answered on 03 Mar 2010, 12:47 PM
Hi Mira,

Sorry for the late reply thanks very much for the sample code, 

Kind & Regards,
Imran
Tags
ListView
Asked by
imran syed
Top achievements
Rank 1
Answers by
Mira
Telerik team
imran syed
Top achievements
Rank 1
Share this question
or