I found the information about accessing control inside the RadListView in this link:
http://www.telerik.com/help/aspnet-ajax/listview-accessing-controls.html
However, there is no example of using javascript, only server-side code.
Please let me know how to access control inside RadListView.
Thanks All
Lamk.
http://www.telerik.com/help/aspnet-ajax/listview-accessing-controls.html
However, there is no example of using javascript, only server-side code.
Please let me know how to access control inside RadListView.
Thanks All
Lamk.
5 Answers, 1 is accepted
0
Hello Lamkhoa,
RadListView Items does not have client objects. So if you do not know the exact ClientID of the control you wan to access it is not so easy to find it. You would need to traverse the DOM elements/objects for that purpose.
However, if you elaborate on what you are trying to achieve, we might find a suitable solution for you.
All the best,
Iana
the Telerik team
RadListView Items does not have client objects. So if you do not know the exact ClientID of the control you wan to access it is not so easy to find it. You would need to traverse the DOM elements/objects for that purpose.
However, if you elaborate on what you are trying to achieve, we might find a suitable solution for you.
All the best,
Iana
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>
0
LamKhoa
Top achievements
Rank 1
answered on 01 Sep 2011, 03:29 PM
I have RadAsyncUpload and RadBinaryImage inside the RadListView EditMode.
I would like the RadBinaryImage change when I uploaded the image file to Temp Folder.
Thanks
Lamk
I would like the RadBinaryImage change when I uploaded the image file to Temp Folder.
Thanks
Lamk
0
Hello Lamkhoa,
If you know what is the ClientId of the RadAsyncUpload, you can get the RadBinaryImage as below:
Greetings,
Iana
the Telerik team
If you know what is the ClientId of the RadAsyncUpload, you can get the RadBinaryImage as below:
var
binaryImage = $find(radAsyncUpload.get_id().replace(
"RadAsyncUpload_ID"
,
"RadBinaryImage_ID"
));
Greetings,
Iana
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>
0
LamKhoa
Top achievements
Rank 1
answered on 02 Sep 2011, 02:45 PM
How do I know the "Client ID" of RadAsyncUpload and RadBinaryImage?
You know my scenario, would you please provide for me demo project?
Thanks
Lamk
You know my scenario, would you please provide for me demo project?
Thanks
Lamk
0
LamKhoa
Top achievements
Rank 1
answered on 02 Sep 2011, 04:48 PM
I have finally found solution by following this demo:
http://demos.telerik.com/aspnet-ajax/upload/examples/async/ajaxprocessing/defaultcs.aspx
Thanks.
Lamk.
http://demos.telerik.com/aspnet-ajax/upload/examples/async/ajaxprocessing/defaultcs.aspx
Thanks.
Lamk.