Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
320 views

Hi there,

 

I want to change the color of the  Pin Makers in RadMap for example here is a table  that has consisted with three columns ( Latitude , Longitude and isCancelled )  now I need to change the Pin Marker color based the isCancelled column if the isCancelled is true the Pin Marker color would be in green and other false rows would be in red any idea ? thnaks

LatitudeLongitudeisCancelled
6.83249124.454363false
45.397714.77996true
41.35636182.63142true
50.342267813.9673223true
60.88934924.5208664true

 

Protected Sub RadMap1_ItemDataBound(sender As Object, e As Telerik.Web.UI.Map.MapItemDataBoundEventArgs) Handles RadMap1.ItemDataBound
       
    End Sub

 

Rebeen
Top achievements
Rank 1
Iron
 answered on 03 May 2021
1 answer
284 views

Hi,

I'm using RadClientDataSource to grab data from an api endpoint but I need to pass a variable inside the url but can't figure out how.

<script language="VB" runat="server"> Dim id As String = HttpContext.Current.Request.QueryString("id") </script> <WebServiceDataSourceSettings> <Select Url="http://localhost:5000/api/v1/test/<%=id%>/cars" RequestType="Get" /> </WebServiceDataSourceSettings>

 

Attila Antal
Telerik team
 answered on 03 May 2021
1 answer
670 views

Hello,

My ASP.NET Web forms application compiles fine in Visual Studio 2019 however when the project is built with MSBuild in Azure Pipelines to automate some processes we are getting errors that the telerik web ui namespace cannot be loaded in because we are building against .NET 4.0 for this project and despite the Telerik.Web.UI.dll being a 4.0 built DLL it is complaining about some .NET 4.5 dependencies internally. How can I resolve this issue? If I switch this project to build with .NET 4.5 then these issues go away however we need to get the project working while compiling with .NET 4.0 for other reasons I cannot specify here.

Warning causing the errors at the bottom:

##[warning]D:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2123,5): Warning MSB3275: The primary reference "Telerik.Web.UI, Version=2020.1.219.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the assembly "AWSSDK.S3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=885c28607f98e604" which was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0".

##[error]Artoo.Telerik.Web\Extensions\NumericTextBox.cs(11,55): Error CS0246: The type or namespace name 'RadNumericTextBox' could not be found (are you missing a using directive or an assembly reference?)


EDIT:

Adding this setting below to my csproj for this project removed this error but now I am getting an error saying Telerik.Web.UI is depending on System.Net.Http despite the fact that my project is .NET 4 and this assembly is for .NET 4.5 and above only.

<ResolveAssemblyReferenceIgnoreTargetFrameworkAttributeVersionMismatch>true</ResolveAssemblyReferenceIgnoreTargetFrameworkAttributeVersionMismatch>

New Error:

Warning MSB3268: The primary reference "Telerik.Web.UI, Version=2020.1.219.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.0". To resolve this problem, either remove the reference "Telerik.Web.UI, Version=2020.1.219.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".

Thank you!

 

Attila Antal
Telerik team
 answered on 30 Apr 2021
0 answers
124 views

Hi Team,

Current Version of Telerik 2015.3.1111.35 with .NetFramework 4.8.

RadAjax  version - 1.5.1

IIS Apppool - v4.0

Tested in Both Edge(90.0.818.46) and IE11 Browser.

Snippets with .Netframework 4.8(Not Working):

<INPUT onclick="javascript:setTimeout('window['Control_RadAjaxManager'].AsyncRequest(\'Control$ShareRadioButton\',\'\')', 0)" 

Actual Snippet with .Netframework 3.5(Working):

<INPUT onclick="javascript:setTimeout('window[\'Control_RadAjaxManager\'].AsyncRequest(\'Control$ShareRadioButton\',\'\')', 0)"

Code Snippet:

private void AddAjaxResponseScripts()
        {
            this.RadAjaxManager.ResponseScripts.Add("Sample.Controls.init(); if(Sample.QueryAddEdit) { Sample.AddEdit.init(); } ");
        }

Observation: Here Escape characters are not getting loaded properly .Missing  Escape characters window['Control_RadAjaxManager'].

Tried with Upgrade of Telerik Controls - R3 2020.3.915.45 and .Netframework 4.8 - but still issue exists.

Can anyone please help on this issue?

Sachita
Top achievements
Rank 1
Iron
Iron
Iron
 asked on 29 Apr 2021
0 answers
57 views

Hi Team,

Currently we are using Telerik Version -Q3  2015.3.1111.35 and Upgraded .NetFramework 3.5 to .NetFramework 4.8.

Microsoft Edge Browser version - 90.0.818.46 (chromium).

Tested in IE, Edge and chrome - Not working.

Radcombobox dropdown click events are not firing after apppool changed to 4.0 for the first postback and 

It works for other controls in further postbacks.

Not able to select any item.

So, we have tried with Upgrade of telerik control to R3 2020.3.915 - but still issue exists.

There are no errors in the console.

Can anyone please help on this?

Sachita
Top achievements
Rank 1
 asked on 29 Apr 2021
0 answers
77 views

Hi Team,

Currently testing with Telerik Trail version R32020(2020.3.915.45) with .Netframework 4.8 .

Apppool version- v4.0

Microsoft Edge Browser version - 90.0.818.46 (chromium).

Issue with RadEditor , We are trying to use Editor toolgroups like bold,Italic,date,Table,File managers ,Body etc.

When we try to click on toolgroups ,not able to add any text as well.

Observation:  uncaught error 'Selection' undefined in console when we click.

RadEditor exists in the namespace -Telerik.web.ui.

Tried with Latest Telerik version also - 2021.1.330 -Issue exists with Edge Browser.

What can be the issue?

Can anyone please help on the issue?

 

Sachita
Top achievements
Rank 1
 asked on 29 Apr 2021
2 answers
91 views

Hi.

I'm used to working with DevExpress controls. When I use the Configuration Wizard I simple drag and drop the columns from my data source (SQL) and everything just lights up. 

In the Telerik RadHTMLChart Configuration Wizard, even though I've connected to a SQLDataSource and data is coming through fine, I still have to type the column names in the wizard.

And I still haven't figured out how to do this for stacked column chart.

Am I missing something? Is there another tool I should be using for this? I should be able to create a sqldatasource based stacked column chart in about 10 seconds!

Thanks.

Vessy
Telerik team
 answered on 29 Apr 2021
0 answers
267 views

Hi Team,

Upgraded from .Netframework 3.5 to 4.8 and tested with existing Telerik version 2015.3.1111.35 in Microsoft Edge Browser.

Microsoft Edge Browser Version -90.0.818.46 (64-bit)(Chromium) .

1.Replicating by sorting on the Date, source, Name as shown in Screenshot 1 .

2.Observed the issue RadGridNamespace.RadGrid.AsyncRequest.

3.So,we have tried with telerik control to R3 2020.3.915.45 and .Netframework is same as 4.8 -but still issue exists with upgraded Telerik R32020 as well.

Can anyone please help on the issue?

 

Sachita
Top achievements
Rank 1
Iron
Iron
Iron
 asked on 29 Apr 2021
3 answers
156 views

Hi,

Is there a way , that whenever a value changes in a column, the paging will start in a new page (sort of like page break).

for example if i set page size to 4 and I have a table like this, I want to start eqipi

---------------page 1 --------------
equipid  amount notes

1              5  

1              3

1             5           test

1             34

---------------page 2 --------------

1           10           test2 

1            23  

 

 

---------------page 3 --------------

2          22 

2          45

2          3

Vessy
Telerik team
 answered on 28 Apr 2021
1 answer
124 views

Your fancy new forums interface isn't working. If I search for "AllowKeyboardNavigation" I get lots of results. If I filter by the tag "Grid" I surprisingly get no results.

I imagine you are getting a significantly increased number of ticket submissions because of the inability to find threads.

Anyhow, my issue is this. I have a grid with 100% height and scrolling and AllowKeyboardNavigation="true". When the user toggles the arrow down key,  subsequent items in the grid are selected, which is great. However when the item is too far down to be seen w/o scrolling, the arrow key doesn't force a scroll which makes it impossible for the user to see the selected item. I'm guessing there must be some sort of property setting or method to avoid this.

Attila Antal
Telerik team
 updated answer on 28 Apr 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?