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

Carriage Return support in Grid Cell

12 Answers 257 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Manas
Top achievements
Rank 1
Manas asked on 31 May 2009, 01:29 PM
I understand that the next release of this control suite is going to allow the use of Rich Text in grid cells.  I am ok to wait, however, I need to be able to enter multiple lines of text with the use of "Carriage Returns".  I have tried the cell with text wrapping, and I have tried to embed a text box control, however neither are letting me easily use the carriage return (because there are already events in the grid and in IE that cath the Carriage Return key and ALT-Carriage Return (like excel). 

Has anyone done this before?  I would most appreciate any input as to how I can go about using carriage returns within a grid cell.

12 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 03 Jun 2009, 01:14 PM
Hello Manas,

We are currently working on a solution and I will notify you once it is ready.
Thanks for reporting this problem. I have updated your telerik points.

Kind regards,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Milan
Telerik team
answered on 08 Jun 2009, 12:22 PM
Hello Manas,

The problem is fixed and now you should be able to use carrage return when editing.
I have attached the latest trial binaries that include the editing fix.
Could you confirm that the problem is fixed?

All the best,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Manas
Top achievements
Rank 1
answered on 08 Jun 2009, 04:31 PM
Good knock! Now I am getting configuring issue, We are middle in development tasks, how would we change namespace reference? If I change only telerik.windows.control.GridView and telerik.windows.control, getting version or key related error.

How to swap latest trial binaries?

gr8 support.

Thanks

Regards,
Manas
0
Milan
Telerik team
answered on 09 Jun 2009, 07:33 AM
Hi Manas,

You should replace all dlls that you are referencing in your project with new ones since their version is different from the old ones. I guess you should also replace Telerik.Windows.Data and Telerik.Windows.Input dlls.

Do not hesitate to write if you run into more problems.

Best wishes,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Manas
Top achievements
Rank 1
answered on 17 Jun 2009, 09:37 AM

I am sorry for late response on this issue, I was working on telerik trial version that time carriage return was working fine, now we have purchased telerik version. Right now it is working on QA server, if I again change DLL s , that you provided for carriage return, product will show trial version on application.

 

I would be obliged if you give me a quick response.

 

Regards,

Manas

0
Milan
Telerik team
answered on 17 Jun 2009, 10:25 AM
Hello Manas,

If you use the binaries that I have sent you a trial message will be display. Foretunately the carriage return fix is now available in our latest internal builds, which you can access from our download page.

Once you visit the download page there will be a link "Latest Internal Builds" for our Silverlight control. The latest internal build is called RadControls_for_Silverlight_2009_1_612. Since you have purchased our Silverlight suite you will be able to download the Dev version which does not have trial messages.

Regards,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Michelle Bruce
Top achievements
Rank 1
answered on 17 Jun 2009, 01:13 PM
After Changed all dlls application is running fine. But I not getting Carriage Return after press <Enter>, <Shift+Enter> and <Ctr + Enter> in Grid Cell After allow TextWarpping=warp.

Do I need any setting into properties or any thing?

It is very urgent Milan, Thanks

Regards,
Manas
0
Manas
Top achievements
Rank 1
answered on 17 Jun 2009, 01:59 PM

Sorry I have sent it from different Account.

After Changed all dlls application is running fine. But I not getting Carriage Return after press <Enter>, <Shift+Enter> and <Ctr + Enter> in Grid Cell After allow TextWarpping=warp.

Do I need any setting into properties or any thing?

It is very urgent Milan, Thanks

Regards,
Manas

0
Milan
Telerik team
answered on 17 Jun 2009, 02:56 PM
Hi Manas,

I have created a column with a TextBox that allows carrage returns and has wrapping enabled and everything is working fine. I am sending you my application. Can you reproduce the problem?
How do you define your multiline editor?

Regards,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Manas
Top achievements
Rank 1
answered on 17 Jun 2009, 05:16 PM
Hi Milan,

Thanks for gr8 support from your end.
Now Carriage Return is woking cool with "RadControls_for_Silverlight_2009_1_612" version binaries.


Regards,
Manas
0
Milan
Telerik team
answered on 18 Jun 2009, 05:13 AM
Hi Manas,

I am glad that everything is working fine now.

Regards,
Milan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Eliza Sahoo
Top achievements
Rank 1
answered on 11 May 2010, 10:25 AM

Its check each character’s ASCII value entered into the textbox, so when the enter key is pressed its also check the ASCII value and then it avoid to insert the carriage return value to the textbox. So we can avoid to insert Carriage Return into the textbox having “ Multiline” TextMode property or in TextArea control.

<asp:TextBox ID="txtComments" Height="150" Columns="200"TextMode="multiline"  MaxLength="4000" runat="server"onkeydown =  "return (event.keyCode!=13);" />

Note: ASCII value for Enter Key is 13.


Textbox control

Tags
GridView
Asked by
Manas
Top achievements
Rank 1
Answers by
Milan
Telerik team
Manas
Top achievements
Rank 1
Michelle Bruce
Top achievements
Rank 1
Eliza Sahoo
Top achievements
Rank 1
Share this question
or