Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
273 views
Good afternoon,

I am now using RadControls for ASP.NET AJAX 2009 2 701. I upgraded from ASP.NET AJAX 2009 1 527. After I upgraded I made some changes to a web site that I had working. Now the web page will build but when I try and run it I get the following error:

Warning 1 ASP.NET runtime error: The base class includes the field 'RadScriptManager2', but its type (Telerik.Web.UI.RadScriptManager) is not compatible with the type of control (Telerik.Web.UI.RadScriptManager). 

I tried to rename it but that didn't work. I am not sure what to do. Can anyone help?

My Web Config looks like the following:

<

 

httpHandlers>

 

 

<

 

remove verb="*" path="*.asmx"/>

 

 

<

 

add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

 

<a

 

dd verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

 

<

 

add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>

 

 

<

 

add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>

 

 

<

 

add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>  

 

 

</

 

httpHandlers>

 

 

 

 

 

<handlers>

 

 

<

 

remove name="WebServiceHandlerFactory-Integrated"/>

 

 

<

 

remove name="ScriptHandlerFactory"/>

 

 

<

 

remove name="ScriptHandlerFactoryAppServices"/>

 

 

<

 

remove name="ScriptResource"/>

 

 

<

 

add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

 

<

 

add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

 

<

 

add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

 

<

 

add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource"/>

 

 

<

 

add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode"/>

 

 

</

 

handlers>

 

 

 

 

 

 

 

I would appreciate any help that is given.

Atanas Korchev
Telerik team
 answered on 15 Oct 2009
1 answer
91 views

Hello,
We have a straight behavior and don’t know how we can fix it.

We have an autocomplete textbox and in the next line right below, we have a RadCombobox.

Scenario:

A user tips some characters in the autocomplete textbox and the autocomplete list is shown. -> OK.

The user selects a item of the list with a mouse click. -> OK

The item will be selected -> OK

The list will be closed -> OK

The list of the RadCombobox will be opened -> Not OK!!!

The behavior appears only if the mouse cursor is over the combobox-textfield.

 

How can we fix it?  

best regards
lemon

Yana
Telerik team
 answered on 15 Oct 2009
1 answer
59 views
Hi,

I made a usercontrol using AJAX in .NET.
In my VS environnement, it works fine but, when I try to use it on our webserver, I got this error message :

Impossible d'effectuer un cast d'un objet de type 'System.Web.Configuration.ScriptingProfileServiceSection' en type 'System.Web.Configuration.ScriptingProfileServiceSection'.


When I put the "System.Web.Configuration.ScriptingProfileServiceSection" and the "System.Web.Configuration.ScriptingAuthenticationServiceSection" in comment in my web.config file, my control works but, the AJAX refreshing didn't work.

So, it seems that the Ajax.NET need this references in the web.config file but, I don't know why it didn't work.

As I saw in other thread, I also try to remove the "xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0" reference but my control still doesn't work.

I hope someone can help me.

Thanks,

Fabian
PROMISYS
Atanas Korchev
Telerik team
 answered on 15 Oct 2009
1 answer
78 views
Hi,

We are using the following version of Rad Controls together in our portal.

Telerik RadControl for Asp.net Ajax :  version 2009.1.402.35

Telerik RadControls for Silverlight 3 : version 2009.2.925.1030

We are receving JS error's when the site is browsed in IE8.

PFA for the type of error.

I am receiving JS error's particularly when using Asp.net Ajax control's.

Let me know the latest version that needs to be downloaded.

Any help would be greatly appreciated.







Atanas Korchev
Telerik team
 answered on 15 Oct 2009
1 answer
106 views
I am having a problem with date formats.  I am adding a date picker in my code behind.  When I select the date, it appears in the correct format in the textbox (10/19/2009) but when I retrieve the value through javascript it shows it in another format (2009-10-22). 

The code to add the date picker appears below.

            RadDatePicker dPick = new RadDatePicker();
            dPick.ID = "DateField1";
            dPick.Culture = CultureInfo.GetCultureInfo("en-US");
            plcForm.Controls.Add(dPick);

The javascript code I use to retrieve the value appears below:

        function TestForm()
        {
            alert(document.forms[0].DateField1.value);
        }

Am I setting the culture format incorrectly?



robertw102
Top achievements
Rank 1
 answered on 15 Oct 2009
3 answers
101 views
Hi @all,
I implemented a version of theTooltipified RadGrid (Tooltipified RadGrid). The only real change I made was that I tried to load the data with an ObjectDataSource. I tried to use a SessionParameter to pass a User object. Well, first I passed just the user ID (by standard parameter) but it took me too long to reload the user with all his rights so that I needed to pass the whole previously loaded user. With just passing the ID everything went fine.
The problem now is that the tooltip now does not show anything at all except the close button. Even a label which I placed in the UserControl is not shown.
Does anyone know what to do here?

Best regards
Ferdinand

Svetlina Anati
Telerik team
 answered on 15 Oct 2009
2 answers
70 views
Hi there,

Well, I'm having trouble in how to hide fields in EditMode when use DetailsView.

I tried without success with the following code...

        string nome = e.Item.OwnerTableView.Name;  
        if (nome == "valores")  
        {  
            if ((e.Item is GridEditFormItem) && (e.Item.IsInEditMode))  
            {  
                GridEditFormItem myColumn = (GridEditFormItem)e.Item;  
                {  
                    myColumn["id_postosQT"].Parent.Visible = false;  
                }  
            }  
        } 

The error is: Cannot find a cell bound to column name 'id_postosQT'.

Someone could give me a hand on this ?

Regards,

Marcio Nascimento
Marcio Nascimento
Top achievements
Rank 1
 answered on 15 Oct 2009
2 answers
89 views
Hi there,

Well, I'm having trouble in how to hide fields in EditMode when use DetailsView.

I tried without success with the following code...

        string nome = e.Item.OwnerTableView.Name;  
        if (nome == "valores")  
        {  
            if ((e.Item is GridEditFormItem) && (e.Item.IsInEditMode))  
            {  
                GridEditFormItem myColumn = (GridEditFormItem)e.Item;  
                {  
                    myColumn["id_postosQT"].Parent.Visible = false;  
                }  
            }  
        } 

The error is: Cannot find a cell bound to column name 'id_postosQT'.

Someone could give me a hand on this ?

Regards,

Marcio Nascimento
Marcio Nascimento
Top achievements
Rank 1
 answered on 15 Oct 2009
1 answer
95 views
Hi,
I am using Telerik Date Picker control, and having a weird issue. I have two date Picker controls ("From" and "To"). Suppose my browser language is set to 'German'. Now, Whenever my From Control date is greater than To Control, error should come(which is coming) but the date entered in my two controls changes to English format which should have been German. This does not happens when I am refreshing the page.
Could you please let me know, if there is any property in the Telerik date control from which we can restore the browser setting upon loading.

Thanks in Advance  
robertw102
Top achievements
Rank 1
 answered on 15 Oct 2009
2 answers
272 views
Hi There,

I have a radgrid with four columns. However, I have a condition: if type "A" I must show all the four columns enabled for editing. If type "B" I must show only three columns for editing.

The problem is that if I hide the column or use readonly property the field appear for editing anyway.

Is there a way or a functionality of RadGrid that could make possible to hide programmatically those fields for editing?

Thanks for any help.

Marcio Nascimento
Marcio Nascimento
Top achievements
Rank 1
 answered on 15 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?