or
If (TypeOf e.Item Is GridEditableItem AndAlso e.Item.IsInEditMode) Then
Dim editFormItem As GridEditFormItem = DirectCast(e.Item, GridEditFormItem)
Dim _reJobDesc As RadEditor = DirectCast(editFormItem.FindControl("reJobDesc"), RadEditor)
'_reJobDesc.Visible = False
Dim _clID As String = _UsersDB.GetCLIDByScID(sInt)
_reJobDesc.ImageManager.ViewPaths = New String() {"~/folders/clients/" & _clID & "/images/"}
I’m currently working on a complex web part, which requires a rich text editor with options to upload images and documents.
I have downloaded your SharePoint Acceleration Kit and I can see it offers a rich text editor, which can be used as a replacement of a default rich text editor in SharePoint forms.
However I need to use it in a custom web part – is that possible?
Not to be rendered with the code at run time, this is because i like using 'DotLess' in my projects and i'm used to the way i style the pages using the elements like:.RadMenu_iDefault .rmItem a.rmLink {
padding
:
1px
0
1px
12px
;
}
.RadMenu_iDefault .rmHorizontal .rmItem {
padding
:
2px
0
;
}
.RadMenu_iDefault_rtl .rmItem a.rmLink {
padding
:
1px
12px
1px
0
;
}
.RadMenu_iDefault .rmVertical .rmItem a.rmLink {
padding
:
1px
12px
;
}
div.RadMenu_iDefault_rtl .rmHorizontal .rmText {
padding
:
0
0
1px
12px
;
}
.Menu_Head{
float
:
right
;
list-style
:
none
;
#Layouts > .FullAutoWidth;
--{}
a {
color
:
#ffffff
;
text-decoration
:
none
;
white-space
:
nowrap
;
display
:
block
;
--{}
&:visited, &:active {
color
:
#ffffff
;
text-decoration
:
none
;
}}
ul {
list-style-type
:
none
;
margin
:
0
;
padding
:
0
;
list-style
:
none
outside
none
;
--{}
&:focus, li a:focus {
outline
:
none
;
outline-width
:
0
;
}}}
<
ul
class
=
"rmRootGroup rmHorizontal"
>
<
li
class
=
"rmItem rmFirst"
>
<
ul
class
=
""
>
<
li
class
=
""
>