Root root = Root.GetInstance();
var betriebe =
from w
in
root.Query(Betrieb.Entity).ToArray()
select
new
{
Betriebegruppe =
"0"
,
Betrieb = w.Get(Betrieb.Werk),
Name = w.Get(Betrieb.Name),
Strasse = w.Get(Betrieb.Strasse),
PLZ = w.Get(Betrieb.Postleitzahl),
Ort = w.Get(Betrieb.Ort),
EKORG = w.Get(Betrieb.Einkaufsorganisation)
};
treelist.DataSource = betriebe;
<
telerik:RadTreeList
runat
=
"server"
ID
=
"rtl"
AllowSorting
=
"True"
AllowMultiItemSelection
=
"True"
CausesValidation
=
"false"
ParentDataKeyNames
=
"Betriebegruppe"
DataKeyNames
=
"Betrieb"
AllowPaging
=
"True"
PageSize
=
"20"
Width
=
"100%"
>
<
Columns
>
<
telerik:TreeListCheckBoxColumn
></
telerik:TreeListCheckBoxColumn
>
</
Columns
>
<
ClientSettings
>
<
Selecting
AllowItemSelection
=
"true"
UseSelectColumnOnly
=
"true"
/>
</
ClientSettings
>
</
telerik:RadTreeList
>
<
telerik:RadCodeBlock
ID
=
"RadCodeBlock1"
runat
=
"server"
>
<
script
language
=
"javascript"
type
=
"text/javascript"
>
function setDateTimeAcknowledged() {
var toDay = new Date();
alert("toDay = " + toDay);
var dateInput = $find("<%= dateAcknowledged.ClientID %>");
dateInput.set_selectedDate(toDay);
}
function setEstReturnDate() {
var toDay = new Date();
var dateInput = $find("<%= dateEstimatedReturn.ClientID %>");
dateInput.set_selectedDate(toDay);
}
</
script
>
</
telerik:RadCodeBlock
>
...
<
telerik:RadDateInput
ID
=
"dateAcknowledged"
runat
=
"server"
DisplayDateFormat
=
"MM/dd/yyyy HH:mm"
Width
=
"125"
CssClass
=
"NotRequired"
/>
<
telerik:RadToolTip
ID
=
"tipDateAcknowledge"
runat
=
"server"
HideEvent
=
"LeaveTargetAndToolTip"
TargetControlID
=
"dateAcknowledged"
Position
=
"BottomRight"
RelativeTo
=
"Element"
ShowEvent
=
"OnMouseOver"
Text
=
"mm/dd/yyyy HH:mm (24HR) format less than or equal to today's date"
/>
<
asp:Button
ID
=
"btnAckNow"
runat
=
"server"
Text
=
"Now"
CausesValidation
=
"false"
OnClientClick
=
"setDateTimeAcknowledged(); return false;"
/>
Protected
Sub
btnAckNow_Click(
ByVal
sender
As
Object
,
ByVal
e
As
System.EventArgs)
Handles
btnAckNow.Click
dateAcknowledged.SelectedDate =
Date
.Now
End
Sub
<?xml version="1.0" encoding="utf-8" ?> |
<!-- ============================================================================================== |
Config File valid structure: |
<configuration> |
<property>...</property> |
... |
<property> |
<item>...</item> |
<item>...</item> |
... |
</property> |
... |
</configuration> |
=============================================================================================== --> |
<configuration> |
<property name="Skin">Telerik</property> |
<property name="ImagesPaths"> |
<item>Contenus/images</item> |
</property> |
<property name="DocumentsPaths"> |
<item>Contenus/documents</item> |
</property> |
<property name="FlashPaths"> |
<item>Contenus/flash</item> |
</property> |
<property name="MediaPaths"> |
<item>Contenus/flash</item> |
</property> |
<property name="TemplatePaths"> |
<item>Templates</item> |
</property> |
<property name="FlashFilters"> |
<item>*.flv</item> |
<item>*.mp3</item> |
</property> |
<property name="MaxFlashSize">81920000</property> |
<property name="MaxMediaSize">81920000</property> |
<property name="MaxImageSize">5120000</property> |
<property name="MaxDocumentSize">10240000</property> |
<property name="MaxTemplateSize">1024000</property> |
<property name="UploadFlashPaths">Contenus/flash</property> |
</configuration> |
<?xml version="1.0" encoding="utf-8" ?> |
<root> |
<modules> |
<module name="RadEditorStatistics" dockingZone="Bottom"/> |
<module name="RadEditorDomInspector" dockingZone="Module" enabled="true" visible="true" dockable="true" /> |
<module name="RadEditorNodeInspector" dockingZone="Module" enabled="true" visible="true" dockable="true" /> |
<module name="RadEditorDiagnostics" dockingZone="Module" enabled="true" visible="true" dockable="true" /> |
<module name="RadEditorXhtmlValidator" dockingZone="Module" enabled="true" visible="true" dockable="true" /> |
<module name="RadEditorHtmlInspector" dockingZone="Module" enabled="true" visible="false" dockable="true" /> |
</modules> |
<tools name="MainToolbar"> |
<tool name="Print" shortcut="CTRL+P"/> |
<tool name="AjaxSpellCheck"/> |
<tool name="FindAndReplace" shortcut="CTRL+F"/> |
<tool name="Cut" /> |
<tool name="Copy" shortcut="CTRL+C"/> |
<tool name="Paste" shortcut="CTRL+V"/> |
<tool name="PasteStrip"/> |
<tool separator="true"/> |
<tool name="Undo" shortcut="CTRL+Z"/> |
<tool name="Redo" shortcut="CTRL+Y"/> |
</tools> |
<tools name="InsertToolbar" > |
<tool name="ImageManager" shortcut="CTRL+G"/> |
<tool name="FlashManager" /> |
<tool name="MediaManager" /> |
<tool name="DocumentManager" /> |
<tool name="TemplateManager" /> |
<tool separator="true"/> |
<tool name="LinkManager" shortcut="CTRL+K"/> |
<tool name="Unlink" shortcut="CTRL+SHIFT+K"/> |
</tools> |
<tools> |
<tool name="InsertParagraph" /> |
<tool name="InsertGroupbox" /> |
<tool name="InsertHorizontalRule" /> |
</tools> |
<tools> |
<tool name="FormatBlock"/> |
<tool name="FontName" shortcut="CTRL+SHIFT+F"/> |
<tool name="RealFontSize" shortcut="CTRL+SHIFT+P"/> |
</tools> |
<tools> |
<tool name="Bold" shortcut="CTRL+B"/> |
<tool name="Italic" shortcut="CTRL+I"/> |
<tool name="Underline" shortcut="CTRL+U"/> |
<tool name="StrikeThrough" /> |
<tool separator="true"/> |
<tool name="JustifyLeft" /> |
<tool name="JustifyCenter" /> |
<tool name="JustifyRight" /> |
<tool name="JustifyFull" /> |
<tool name="JustifyNone" /> |
<tool separator="true"/> |
<tool name="Indent" /> |
<tool name="Outdent" /> |
<tool separator="true"/> |
<tool name="InsertOrderedList" /> |
<tool name="InsertUnorderedList" /> |
<tool name="ToggleTableBorder" /> |
</tools> |
<tools> |
<tool name="ForeColor"/> |
<tool name="BackColor"/> |
<tool name="ApplyClass" PopupHeight="1000"/> |
<tool name="FormatStripper"/> |
</tools> |
<tools name="DropdownToolbar" > |
<tool name="InsertSymbol"/> |
<tool name="InsertTable"/> |
<tool name="InsertSnippet"/> |
<tool name="ImageMapDialog"/> |
<tool name="InsertCustomLink" shortcut="CTRL+ALT+K" PopupHeight="1000"/> |
<tool separator="true"/> |
<tool name="AboutDialog" /> |
<tool name="ModuleManager" /> |
<tool name="ToggleScreenMode" shortcut="F11"/> |
</tools> |
</root> |
<add |
name="RadEditorProvider" |
type="Telerik.DNN.Providers.RadEditorProvider" |
ExternalDialogsPath="~/Portals/_Default/RadEditorDialogs" |
providerPath="~/DesktopModules/TelerikWebUI" |
AutoCreatePaths="False" |
LinksUseTabNames="False" |
Language="fr-FR" |
LocalizationPath="~/App_GlobalResources/" /> |
Hi,
We are using Modal Popup extender from AjaxToolkit version 3.5.40.412.2 and hosted Radgrid on this modal popup extender- We are using Asp.net 3.5.
Now while we open modal popup exteder background color does not apply.
Also, we are using skins for Radgrid and skin applies only when modal popup extnder opens second time.
Request you to please suggest.
Thanks and regards,
Manishkumar Patel
protected void RadEditor1_EditableChanged(object sender, Telerik.WebControls.EditableChangedEventArgs e)
{
try
{
Toolbar toolbar = RadEditor1.Toolbars["DecisionsToolbar"];
if (toolbar == null)
{
toolbar =
new Toolbar("DecisionsToolbar");
toolbar.ShowToolsText =
true;
toolbar.IsDockable =
false;
RadEditor1.Tools.Add(toolbar);
}
ToolbarButton button = toolbar.Tools.FindToolByCommandName("button") as ToolbarButton;
if (button == null)
{
button =
new ToolbarButton("button");
//button.ShowText = true;
button.ShowIcon =
true;
toolbar.Tools.Add(button);
}
}
catch (Exception)
{
throw;
}
}
Below message /error I got when I run the application.
'Telerik.Web.UI.RadEditor' does not contain a definition for 'Toolbars' and no extension method 'Toolbars' accepting a first argument of type 'Telerik.Web.UI.RadEditor' could be found (are you missing a using directive or an assembly reference?)
Please give me solution asap to me.
Thanks in Advance
Mr. Perfect.