editor.attachEventHandler(
"click", function (e) {
alert(e.srcElement.nodeName);
});
But i need to get tag for below ,
<Store>dfg fdg</Store>
WHen i click inside / over the text "dfg fdg" (i.e.,Inside the editor content).i want to get the tage name "Store".Similar the node inspector.
It working for only HTML tags.
I know RadEditor is not xml Editor. But i need to get the custom tag.
Is any possibility to get the current cursor position to find the text or Kindly explian detail what function done by click the cursor in editor content shows the breadcrumb in editor's footer (i.e., Store > )?
Kindly expect your co-operation regards this ASAP.
Hi
Is it possible to have the GridClientSelectColumn check box take on the skin look?
In your examples:
http://demos.telerik.com/aspnet-ajax/grid/examples/client/selecting/defaultcs.aspx
Select Metro, the check boxes do not have the Metro look.
Thanks
Russell Mason
My Editor background is using my site's background. Ugh.
http://www.telerik.com/help/aspnet-ajax/editor-content-area-appearance-problems.html
I want to override. I've looked this up and I find code-in-front but want to use codebehind. It should be something like this, but this says the EditorCssFile is not part of the collection.
myEditor.CssFiles.EditorCssFile = resolvePath & "Scripts/RadEditorStyleSheet.css"
RadEditor1.CssFiles = New String(2) {"~/styles/1.css", "~/styles/2.css"}
Protected Sub RadDockLayout1_LoadDockLayout(ByVal sender As Object, ByVal e As DockLayoutEventArgs) Handles RadDockLayout1.LoadDockLayout
'Populate the event args with the state information. The RadDockLayout control
' will automatically move the docks according that information.
'If isNeedReload Then
Dim state As DockState
Dim intIndex As Integer
Dim serializer As Script.Serialization.JavaScriptSerializer = New Script.Serialization.JavaScriptSerializer()
Dim stateList As List(Of DockState) = Me.RadDockLayout1.GetRegisteredDocksState()
If Not stateList Is Nothing Then
For Each state In stateList
e.Positions(state.UniqueName) = state.DockZoneID
e.Indices(state.UniqueName) = state.Index
Next
End If
End If
End Sub
Protected Sub RadDockLayout1_SaveDockLayout(ByVal sender As Object, ByVal e As DockLayoutEventArgs) Handles RadDockLayout1.SaveDockLayout
Dim strMethodName As String = Me.strClassName & "RadDockLayout1_SaveDockLayout"
Try
Dim stateList As List(Of DockState) = Me.RadDockLayout1.GetRegisteredDocksState()
//on stateList , the dock index changed ????
End sub
Protected Sub RadComBoxView_SelectedIndexChanged(ByVal o As Object, ByVal e As Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs) Handles RadComBoxView.SelectedIndexChanged
Dim strMethodName As String = Me.strClassName & "RadComBoxView_SelectedIndexChanged"
Try
If Not Me.RadComBoxView.SelectedItem Is Nothing Then
'reset SystemUserWidgetID
SystemUserWidgetID = -1
Me.CurrentViewTypeID = Me.RadComBoxView.SelectedItem.Value
'need to load WidgetState based on viewid
Me.GetUserWidgetState()
CreateWidgetStates()
End if
End Sub
<
telerik:RadComboBox
ID
=
"RadComboBox1"
Runat
=
"server"
Width
=
"300"
AppendDataBoundItems
=
"True"
>
<
ItemTemplate
>
<
div
class
=
"item c1"
><
asp:Image
ID
=
"Image1"
runat
=
"server"
ImageUrl='<%# Eval("URLImage") %>' /></
div
>
<
div
class
=
"item c2"
><%# Eval("Imagename") %></
div
>
</
ItemTemplate
>
</
telerik:RadComboBox
>
RadComboBox1.DataSource = getimages()
Function
getimages()
As
List(Of Fotos)
Dim
ofile, foto
Dim
ObjetoFSO = Server.CreateObject(
"Scripting.FileSystemObject"
)
Dim
ObjetoFolder = ObjetoFSO.GetFolder(Server.MapPath(
"../images/works"
))
Dim
ofotos =
New
List(Of Fotos)
For
Each
ofile
In
ObjetoFolder.Files
foto =
New
Fotos()
foto.Imagename = fichero.name
foto.URLImage = ResolveUrl(
"~/Images/works/thumbs/"
& ofile.name)
ofotos.Add(foto)
Next
file
=
Nothing
ObjetoFolder =
Nothing
ObjetoFSO =
Nothing
Return
ofotos
End
Function