6 Answers, 1 is accepted
0
Hi Meet,
RadEditor "Prometheus" does not have such a property and it does not modify the content. Are you able to reproduce the reported problem with the Default example or the Save In Database example of RadEditor?
Could you please provide step-by-step instructions how to reproduce the problem? We will need a sample working project that demonstrates the problem along with sample HTML content.
Once we are able to reproduce the problem, we will do our best to provide a solution.
Best regards,
Rumen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
RadEditor "Prometheus" does not have such a property and it does not modify the content. Are you able to reproduce the reported problem with the Default example or the Save In Database example of RadEditor?
Could you please provide step-by-step instructions how to reproduce the problem? We will need a sample working project that demonstrates the problem along with sample HTML content.
Once we are able to reproduce the problem, we will do our best to provide a solution.
Best regards,
Rumen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
meet
Top achievements
Rank 1
answered on 29 Oct 2007, 02:30 PM
Thanks for your reply.
In the same way that showm in your save in database link Save in database
These are the line which fetch the content from Editor in c#(asp.net 2.0)
edtBlogContent is the ID of the radeditor
objBlogProp.BlogContent = Convert.ToString(edtBlogContent.Html.Trim());
From the link that you have sent it working fine whatever the cotent length.
But in my case in the database BlogContent field have the datatype
nvarchar(MAX)
In this case we have no limt on posted content ok .
when i post too lengthy content it retain only 1512 string in length (it is saving in the databse ) and content extra to it is is not saved in the database mean it is not there, mean it is omitted
Why is it so...........i do't know....
In the same way that showm in your save in database link Save in database
These are the line which fetch the content from Editor in c#(asp.net 2.0)
edtBlogContent is the ID of the radeditor
objBlogProp.BlogContent = Convert.ToString(edtBlogContent.Html.Trim());
From the link that you have sent it working fine whatever the cotent length.
But in my case in the database BlogContent field have the datatype
nvarchar(MAX)
In this case we have no limt on posted content ok .
when i post too lengthy content it retain only 1512 string in length (it is saving in the databse ) and content extra to it is is not saved in the database mean it is not there, mean it is omitted
Why is it so...........i do't know....
0
Hi meet,
You should use ntext type for large textual data instead of nvarchar. By the way, the max size of the nvarchar type in SQL Server is 4000, but if you count only the text characters but not the Html behind them, 1512 chars seem normal.
I hope this helps.
Kind regards,
Erjan Gavalji
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You should use ntext type for large textual data instead of nvarchar. By the way, the max size of the nvarchar type in SQL Server is 4000, but if you count only the text characters but not the Html behind them, 1512 chars seem normal.
I hope this helps.
Kind regards,
Erjan Gavalji
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Torben Hansen
Top achievements
Rank 1
answered on 07 Nov 2007, 02:54 PM
i store it in a varchar(MAX) and it seems that i have the same problem.
0
Hello,
The MAX datatypes in SQL 2005 should have no problem storing the editor content, since their practical limit is 2 GB of data. However, some operations will make the SQL server convert it back to a normal varchar type (with a max size of 8000). If you are making some modification to the content using queries or stored procedures, you should make sure that they output varchar(MAX) type.
I recommend that you also check the editor content on the server and verify that it has the correct length. Then compare it to the length of the stored value in the database.
Greetings,
Lini
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
The MAX datatypes in SQL 2005 should have no problem storing the editor content, since their practical limit is 2 GB of data. However, some operations will make the SQL server convert it back to a normal varchar type (with a max size of 8000). If you are making some modification to the content using queries or stored procedures, you should make sure that they output varchar(MAX) type.
I recommend that you also check the editor content on the server and verify that it has the correct length. Then compare it to the length of the stored value in the database.
Greetings,
Lini
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Torben Hansen
Top achievements
Rank 1
answered on 08 Nov 2007, 06:05 AM
sorry, but i was the problem.
i get a storedprocure to store the data, and the parameter in that was only varchar(4000).
i just looked at the table, here it was vachar(max) and the code was ok, but i forget to look at the storedprocedure.
i get a storedprocure to store the data, and the parameter in that was only varchar(4000).
i just looked at the table, here it was vachar(max) and the code was ok, but i forget to look at the storedprocedure.
