12 Answers, 1 is accepted
0
Accepted
Hello Paul,
Thank you for writing.
To do that you can use the ViewCellFormatting event of the inner grid:
I hope this helps.
Regards,
Stefan
Telerik
Thank you for writing.
To do that you can use the ViewCellFormatting event of the inner grid:
radMultiColumnComboBox1.EditorControl.ViewCellFormatting += EditorControl_ViewCellFormatting;
void
EditorControl_ViewCellFormatting(
object
sender, CellFormattingEventArgs e)
{
e.CellElement.DrawBorder =
false
;
}
I hope this helps.
Regards,
Stefan
Telerik
0
Paul
Top achievements
Rank 1
answered on 24 Feb 2014, 02:19 PM
Thanks Stefan, that did the trick!
0
Paul
Top achievements
Rank 1
answered on 06 Mar 2014, 09:27 PM
How about if I'd like to only show the vertical lines?
0
Hello Paul,
Here you are:
I hope this helps.
Regards,
Stefan
Telerik
Here you are:
void
EditorControl_ViewCellFormatting(
object
sender, CellFormattingEventArgs e)
{
e.CellElement.BorderTopWidth = 0;
e.CellElement.BorderBottomWidth = 0;
}
I hope this helps.
Regards,
Stefan
Telerik
DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.
0
Paul
Top achievements
Rank 1
answered on 07 Mar 2014, 02:21 PM
Stefan,
Using that code, my dropdown still has horizontal lines. Sample attached.
Using that code, my dropdown still has horizontal lines. Sample attached.
0
Paul
Top achievements
Rank 1
answered on 07 Mar 2014, 02:21 PM
Sample
0
Paul
Top achievements
Rank 1
answered on 07 Mar 2014, 02:22 PM
Let's try this attachment again.
0
Paul
Top achievements
Rank 1
answered on 07 Mar 2014, 02:25 PM
Well, just like Telerik's products, their website refuses to work properly. Here's a link to the sample.
http://rxcmpd.com/downloads/Clipboard01.jpg
http://rxcmpd.com/downloads/Clipboard01.jpg
0
Hi Paul,
Different themes have different styling for the borders. My previous reply was based on the default theme for the suite. I did not know that you were using the TelerikMetroBlue theme. The latter is using a single border for the cells, rather than four borders, hence the previous snippet did not work for it. Please give the following approach a try:
In addition, may I please ask you what are the difficulties you had experienced with the site. What file (extension) you were trying to attach? How big was it?
I am looking forward to your reply.
Regards,
Stefan
Telerik
Different themes have different styling for the borders. My previous reply was based on the default theme for the suite. I did not know that you were using the TelerikMetroBlue theme. The latter is using a single border for the cells, rather than four borders, hence the previous snippet did not work for it. Please give the following approach a try:
void
EditorControl_ViewCellFormatting(
object
sender, CellFormattingEventArgs e)
{
e.CellElement.BorderBoxStyle = BorderBoxStyle.FourBorders;
e.CellElement.BorderTopWidth = 0;
e.CellElement.BorderBottomWidth = 0;
e.CellElement.BorderLeftColor = e.CellElement.BorderColor;
e.CellElement.BorderRightColor = e.CellElement.BorderColor;
}
In addition, may I please ask you what are the difficulties you had experienced with the site. What file (extension) you were trying to attach? How big was it?
I am looking forward to your reply.
Regards,
Stefan
Telerik
DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.
0
Paul
Top achievements
Rank 1
answered on 07 Mar 2014, 03:38 PM
Thanks Stefan, that works great. I am using a custom theme, not the default.
I tried to upload a 7kb png file and a 7kb jpg file. I received an error when posting, but the message did post, but without the attachment.
I tried to upload a 7kb png file and a 7kb jpg file. I received an error when posting, but the message did post, but without the attachment.
0
Hi Paul,
I am glad everything is OK with this case on your end now.
In regards to the attachment issue, I have informed the responsible division and they will look into this case. If needed, they will contact you for additional information.
Regards,
Stefan
Telerik
I am glad everything is OK with this case on your end now.
In regards to the attachment issue, I have informed the responsible division and they will look into this case. If needed, they will contact you for additional information.
Regards,
Stefan
Telerik
DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.
0
Hello Paul,
We apologize for the caused inconveniece! Unfortunately, we were not able to reproduce the problem with attaching a .jpg file to the forum post. Could you please provide us some additional information about the problem, for example the file you`ve tried to attach, the browser you used. Thank you for the cooperation!
Regards,
Iva
Telerik
We apologize for the caused inconveniece! Unfortunately, we were not able to reproduce the problem with attaching a .jpg file to the forum post. Could you please provide us some additional information about the problem, for example the file you`ve tried to attach, the browser you used. Thank you for the cooperation!
Regards,
Iva
Telerik
DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.