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.
<
telerik:RadComboBox
ID
=
"RadComboBoxDocument"
runat
=
"server"
EmptyMessage
=
"Choose an existing SPA or upload a new one"
AppendDataBoundItems
=
"true"
Height
=
"200px"
Width
=
"300px"
>
<
ItemTemplate
>
<
div
>
<
telerik:RadAsyncUpload
ID
=
"RadAsyncUploadDocument"
runat
=
"server"
ControlObjectsVisibility
=
"None"
MultipleFileSelection
=
"Disabled"
MaxFileInputsCount
=
"1"
AllowedFileExtensions
=
"pdf"
Width
=
"300px"
OnClientFileUploaded
=
"fileUploaded"
>
</
telerik:RadAsyncUpload
>
</
div
>
</
ItemTemplate
>
<
Items
>
<
telerik:RadComboBoxItem
Text
=
" "
/>
</
Items
>
</
telerik:RadComboBox
>
<
telerik:RadAjaxManagerProxy
ID
=
"RadAjaxManagerProxy1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadAjaxManagerProxy1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadComboBoxType"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadComboBoxArtistGenre"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadComboBoxType"
>
<
updatedcontrols
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadComboBoxType"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
</
updatedcontrols
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadComboBoxArtistGenre"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadComboBoxArtistGenre"
LoadingPanelID
=
"RadAjaxLoadingPanel2"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManagerProxy
>
<
div
class
=
"cellArtistControl"
>
<
telerik:RadComboBox
ID
=
"RadComboBoxType"
Runat
=
"server"
Skin
=
"Vista"
Width
=
"250px"
onselectedindexchanged
=
"RadComboBoxType_SelectedIndexChanged"
AutoPostBack
=
"True"
>
<
CollapseAnimation
Duration
=
"200"
Type
=
"OutQuint"
/>
</
telerik:RadComboBox
>
<
asp:RequiredFieldValidator
ID
=
"RequiredFieldValidator1"
runat
=
"server"
ControlToValidate
=
"RadComboBoxType"
ErrorMessage
=
"*"
Font-Bold
=
"True"
InitialValue
=
"-- Select A Type --"
ValidationGroup
=
"ArtistValidation"
></
asp:RequiredFieldValidator
>
</
div
>
<
div
class
=
"cellArtistControl"
>
<
telerik:RadComboBox
ID
=
"RadComboBoxArtistGenre"
runat
=
"server"
Skin
=
"Vista"
Width
=
"250px"
>
</
telerik:RadComboBox
>
</
div
>
</
div
>