Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
870 views
Hello,

    I have recently been having some trouble with the the radControls for ASP.NET.
They were working fine and everything was ok until I randomly started getting this error on every page in my webapp.

The base class includes the field 'RadScriptManager1', but its type (Telerik.Web.UI.RadScriptManager) is not compatible with the type of control (Telerik.Web.UI.RadScriptManager).

i've gone as far as removing rad controls from the GAC, uninstalling and reinstalling them to no avail.


In the code view, there is no error for the scriptmanager, however the RadDatePicker shows an error that is the following

"Warning 1 C:\Projects\ProjectName\Secure\OrderHistory.aspx: ASP.NET runtime error: The base class includes the field 'BeginDate', but its type (Telerik.Web.UI.RadDatePicker) is not compatible with the type of control (Telerik.Web.UI.RadDatePicker). C:\Projects\ProjectNameSecure\OrderHistory.aspx 35 1 ProjectName


 

 

 

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">   
</telerik:RadScriptManager>   
<table cellpadding="5" cellspacing="0" border="0" align="center">   
<tr>   
<td>   
Begin Date  
</td>   
<td>   
End Date  
</td>   
<td colspan="2">  
&nbsp;  
</td>   
</tr>   
<tr>   
<td>   
<telerik:RadDatePicker ID="BeginDate" Runat="server"   
 Culture="English (United States)" Skin="Office2007">   
<Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x" skin="Office2007"></Calendar>   
 <DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton>   
 <DateInput DisplayDateFormat="M/d/yyyy" DateFormat="M/d/yyyy"></DateInput>   
</telerik:RadDatePicker>   
</td>   
<td>   
<telerik:RadDatePicker ID="EndDate" Runat="server" Skin="Office2007">   
<Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x" skin="Office2007"></Calendar>   
<DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton>   
<DateInput DisplayDateFormat="M/d/yyyy" DateFormat="M/d/yyyy"></DateInput>   
</telerik:RadDatePicker>   
</td>   
<td>   
<asp:Button ID="btnGo" runat="server" Text="Go!" onclick="btnGo_Click" />   
</td>   
<td>   
<asp:LinkButton ID="lnkShowAll" runat="server" onclick="lnkShowAll_Click">Show All</asp:LinkButton>   
</td>   
</tr>   
</table> 
 
 

Whats even more interesting is the fact that the production test of this website (which is online on our server) works with no problems.
I haven't changed anything with the references or done anything to the controls on the page. This project is under source control and even after I had gotten the restore for it, the problem persists.

Any insight would be greatly appreciated, thanks!

Joshua Smith

 

 

 

 

Maria Ilieva
Telerik team
 answered on 25 Sep 2012
1 answer
86 views
I have a custom skin created using the visual style builder. The skin is based on Sunset, and I made no changes to it. So essentially it should be identical except for the name difference.

I have the custom skin files registered using the following .css file and by using the DialogsCssFile property. But it seems like I am missing something or some reference as there are several problems with the dialogs. For example, when I open the Table property dialog it looks like the attached image (unusable).

Here are the contents of the dialog.css file used to reference custom skin files.

@import url("Ajax.MySkin.css");
@import url("ImageEditor.MySkin.css");
@import url("FileExplorer.MySkin.css");
@import url("ColorPicker.MySkin.css");
@import url("ComboBox.MySkin.css");
@import url("Dock.MySkin.css");
@import url("FormDecorator.MySkin.css");
@import url("Grid.MySkin.css");
@import url("Input.MySkin.css");
@import url("Menu.MySkin.css");
@import url("PanelBar.MySkin.css");
@import url("Rotator.MySkin.css");
@import url("Slider.MySkin.css");
@import url("Spell.MySkin.css");
@import url("Splitter.MySkin.css");
@import url("TabStrip.MySkin.css");
@import url("ToolBar.MySkin.css");
@import url("TreeView.MySkin.css");
@import url("Upload.MySkin.css");
@import url("Window.MySkin.css");

Anyone has any ideas what I might be missing?

Thanks!
Rumen
Telerik team
 answered on 25 Sep 2012
2 answers
107 views
Hi All

I have a RadEditor in my page of Telerik 2012. I have a button named "Preview" on which upon clicking , the content of editor should be displayed in the default email client of the machine. (say OutLook, Thunderbird etc...)

Any help will be highly appreciated.

Thanks in advance.....
Rekha
Top achievements
Rank 1
 answered on 25 Sep 2012
3 answers
200 views
Hi all

I have been trying for quite some time to get the radeditor as a textbox working inside a MVC partial view. Bascially, I have a razor page(.cshtml) from where I render the partial(editor.ascx, an MVC partial), there is no error but the editor does not work, if I remove ToolbarMode="ShowOnFocus" property from the editor, it does render on the page but the layout is all broken, but if I include this property, nothing works on the page as expected. It appears that its trying to render the editor, but not the necessary markup for showing/hiding the toolbar when clicked inside/outside the editor. Any help appreciated.

Thanks
Vishal
Rumen
Telerik team
 answered on 25 Sep 2012
1 answer
139 views
Hi Telerik!

I have a radeditor whose contentereamode is set to "Div".  When the editor loads the content is set in code-behind.

Everything is ok but the backspace doesnt work. I can type into the editor, can delete with DEL key ..but can not delete with back space..

Please help..
Rumen
Telerik team
 answered on 25 Sep 2012
1 answer
92 views
Here's a weird one. I have a page with a Formview (insert and edit modes) and various Rad controls within it.

One particular Rad Combobox is causing problems. Within the ItemUpdating event of my formview, I'm getting the selected value of the combobox and assigning it to a parameter of an ObjectDataSource on the page:

odsPage.UpdateParameters["ParentPageCode"].DefaultValue = ddlParentPage.SelectedItem.Value;

This works fine on my local dev machine (using VS 2012 and IIS Express). However when deployed to a production server, ddlParentPage.SelectedItem.Value is always equal to 1, no matter what option is selected in the combobox.

If it helps at all, the app is .NET4.5, and using the latest version of RadControls.

Matt
John
Top achievements
Rank 1
 answered on 25 Sep 2012
1 answer
786 views
Hii,
I am Having a problem in production.........but working fine in development.

Source:

System.Web

Message:

An error occurred while communicating with the remote host. The error code is 0x80070001.


Stack trace:


at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Inner Exception:


System.Web.HttpException (0x80004005): An error occurred while communicating with the remote host. The error code is 0x80070001. ---> System.Runtime.InteropServices.COMException (0x80070001): Incorrect function. (Exception from HRESULT: 0x80070001) at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect) at System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte[] buffer, Int32 offset, Int32 size) at System.Web.HttpRequest.GetEntireRawContent() at System.Web.HttpRequest.FillInFormCollection() at System.Web.HttpRequest.get_Form() at System.Web.HttpRequest.get_HasForm() at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) at System.Web.UI.Page.DeterminePostBackMode() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Target Site:


Boolean HandleError(System.Exception)



So Please can any one help me out to find a solution to get rid of this error?

Thanks & Regards
Dev Jagarlamudi
Slav
Telerik team
 answered on 25 Sep 2012
3 answers
102 views
Good Day,

I am using a RadTreeview bound to a RadSiteMapDataSource configured as below.

<telerik:RadSiteMapDataSource ID="SiteMapDataSource1" runat="server" ShowStartingNode="false" />
<telerik:RadTreeView ID="SiteTree" runat="server" DataSourceID="SiteMapDataSource1" EnableViewState="true" SingleExpandPath="true">
    <ExpandAnimation Type="OutQuart" Duration="300" />
    <CollapseAnimation Type="OutQuint" Duration="200" />
</telerik:RadTreeView>

The sitemap's data represents a simple hierarchy of something like:
parent1---
--child1
--child2
parent2---
---child1
---child2

There are other pages that exist beyond the child pages that are not represented in the sitemap, since they should not be selected from the nav menu.  The problem exists when navigating beyond the child page to an unmapped page.  The RadTreeview basically doesn't know which node was previously selected & therefore looses focus on the current selected node.  
This seems to be a common problem with treeview controls since by default they don't persist using the session and is well documented in the wicked code article here: http://msdn.microsoft.com/en-us/magazine/cc163598.aspx in the section named SiteMapPaths and Unmapped Pages.

I would like to configure the radtreeview to remember the currently selected node.  Basically when the user navigates off of the last mapped child page,  I'd like that last mapped child node to stay highlighted in the radtreeview.  

I found a past forum post here: http://www.telerik.com/community/forums/aspnet/treeview/how-do-i-maintain-treeview-state-after-postback.aspx where it mentioned using the RetainScrollPosition attribute, but I cannot find any reference to it in the current release.  Based on that thread, it appeared that it did exactly what I was looking for...

Any advise on how to accomplish this using the current radtreeview?

Bozhidar
Telerik team
 answered on 25 Sep 2012
3 answers
224 views
I need open an url using zoom animation effect, equal to KendoUI window control.
It's possible ?
How ????


Thank you.
Marin Bratanov
Telerik team
 answered on 25 Sep 2012
14 answers
297 views
Hi,

We are globalizing the application which uses Telerik Controls. We are not using RESX files. We are using CUSTOM DB RESOURCE MANAGER. Hence, RESX files will no more be used for storage. We willbe using the Database to store the resources.

But seems like Telerik i turn uses its RESX files. To make our application use the Database for resources instead of RESX files, we will be overriding a configuration in web.config.

On overriding this configuration, Telerik is also expecting its reosurces to be available in our Database.

Is there any solution to make Telerik use its RESX files even when we are using Database in our application for other resources?

Or, do we have to push Telerik's resources to our Database to make it work? If so, is there an exhaiustive set of resources that we can add to the Database so that in future, we do not need any maintanence activity on this regard.

It will be helpful if we get a solution or suggestion on this at the earliest. We need a solution or suggestion immediately since we are in Construction phase and are facing this issue.

Thanks.
Simon
Top achievements
Rank 1
 answered on 25 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?