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

How to add new binded textbox in radlisview to be shown ,edited or even inserted by user

1 Answer 15 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Ali
Top achievements
Rank 1
Ali asked on 23 Mar 2013, 11:52 AM

Dear sir ,
Radlist view edit template example on Telerik database on customerphotos table shows the following fields

Name:
Title:
City:
Country:
Phone:


my question is how do I add the address field( in design time) to be shown and edited ,updated or even inserted in the Radlistview templates

note that I show and update the photo too

============================
what i did is reconfiguring the sqldatasource and added the field address from customerphotos
then i added in design time in edititemtemplate a binded textbox to that field but when i press update after writing in the address field and selecting an image ,I got the following error

Parameter '@Photo' exceeds the size limit for the sql_variant datatype.

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 28 Mar 2013, 06:20 AM
Hello,

Most probably the problem comes from the photo that you are uploading. As this MSDN thread says the sql_variant type is limite to 8016 bytes and the value portion is limited to 8000 bytes. So anything bigger than that would cause the exception.

Kind regards,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
ListBox
Asked by
Ali
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or