Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
224 views
Below is the markup of my page.  I've tried to keep it as simple as possible.  The map has 3 layers:  The first is the actual map itself from opencyclemap.org which displays as it should.  Another layer displays markers from a dataset created in javascript (copied from one of the demos).  That also displays as expected.  The last one connects to the MarkersData.json file (from the demo) through a RadClientDataSource.  That does not display at all.  The file exists in the same directory as the page.  Any idea what I'm doing wrong?



<%@ Page Language="VB" AutoEventWireup="true" CodeBehind="Default.aspx.vb" Inherits="Testmap._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">

<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />

<script type="text/javascript">
var markerData = [{
"location": [51.506421, -0.127215],
"city": "London"
}, {
"location": [51.762152, -1.258430],
"city": "Oxford"
}];

function OnInitialize(sender, args) {
var originalOptions = args.get_options();

originalOptions.layers[1].dataSource = { data: markerData };

args.set_options(originalOptions);
}
</script>

<telerik:RadClientDataSource runat="server" ID="RadClientDataSource1">
<DataSource>
<WebServiceDataSourceSettings ServiceType="GeoJSON">
<Select Url="MarkersData.json" DataType="JSON" />
</WebServiceDataSourceSettings>
</DataSource>
</telerik:RadClientDataSource>

<telerik:RadMap runat="server" ID="RadMap1" Zoom="5" Width="500" Height="500">
<ClientEvents OnInitialize="OnInitialize"/>
<CenterSettings Latitude="51.506421" Longitude="-0.127215" />
<LayersCollection>

<telerik:MapLayer Type="Tile" Subdomains="a,b,c"
UrlTemplate="http://#= subdomain #.tile2.opencyclemap.org/transport/#= zoom #/#= x #/#= y #.png"
Attribution="© <a href='http://osm.org/copyright' title='OpenStreetMap contributors' target='_blank'>OpenStreetMap contributors</a>.">
</telerik:MapLayer>

<telerik:MapLayer type="Marker" Shape="pinTarget">
<TooltipSettings AutoHide="false" Template="#= marker.dataItem.city # <br/> #= location.lat #, #= location.lng #"></TooltipSettings>
</telerik:MapLayer>

<telerik:MapLayer Type="Marker" Shape="pinTarget" ClientDataSourceID="RadClientDataSource1" >
</telerik:MapLayer>

</LayersCollection>
</telerik:RadMap>
</form>
</body>
</html>
Ianko
Telerik team
 answered on 05 Jan 2015
3 answers
271 views
Is there any way of hiding this button?

I tried to hack my way around by adding a css override but it seems client-side binding brings it back out.
Aneliya Petkova
Telerik team
 answered on 05 Jan 2015
1 answer
223 views
I have a RadTreeList on a page and on the same page I open a Radwindow.
When the user has completed the task in the RadWindow, on button_click the DB is updated and the Radwindow is closed calling the funcion CloseWindow().

This is how I close the RadWindow from the inside the RadWindow:
<script type="text/javascript">
        function GetRadWindow() {
            var oWnd = null;
            if (window.radWindow) oWnd = window.radWindow;
            else if (window.frameElement.radWindow) oWnd = window.frameElement.radWindow;
            return oWnd;
        }
 
        function CloseWindow() {
            var oWnd = GetRadWindow();
            oWnd.close();
        }
    </script>

After the RadWindow is closed I need to rebind/refresh the RadTreeList which is on the parent page of the RadWindow.
How can I achieve that without using Ajax?

Thanks for supporting
Felice
Angel Petrov
Telerik team
 answered on 05 Jan 2015
6 answers
1.1K+ views
in vs 2010 I get the chart to show in design mode (telerik:RadChart)
but view the page in my local website I get the error 'Telerik.Web.UI.RadChart' is not defined.

in vs I do have a compile error showing it says "Type 'Telerik.Web.UI.RadChart' is not defined."

it seems to me perhaps I don't have a correct web.config setting or a correct dll in bin folder
Ianko
Telerik team
 answered on 05 Jan 2015
1 answer
50 views
I have a scatter chart that I have broken out in 4 sections (xAxis (-100,100); yAxis (-100,100)).  I would like to place a title/header in each section to let the user know that when a plot point is in the section, it means "this".  The image attached shows what I am looking for.  The green means ahead of TAT/Funding, Red behind in both, etc.

My question is if there is a feature that allows this or do I need to overlay labels on top the chart using CSS?
Danail Vasilev
Telerik team
 answered on 05 Jan 2015
5 answers
177 views
I am working on a system that uses a RadEditor control to setup content for mailings. I recently had a user notify me that their email went out with a single image duplicated 4 extra times at the bottom of the email. If I look at the email, I do see the duplicated image. If I look at the editor control in design view I do not see the images. Looking at the HTML view of the editor, I do see the extra images. All copies appear to be in divs with the class "telerik_paste_container", and these are contained within a parent div whose id is "radePasteHelper". I'd imagine that radePasteHelper and its children are used behind the scenes by the control to aid in pasting operations, but that they probably shouldn't end up in the content of the editor. 

I am told the user did some cut/paste with the image in question (not copy/paste, cut/paste), and this is a pretty savvy user so I'd wager they are stating the facts accurately. This user uses chrome for her work. We have another power user that uses IE and has never seen this bug on her mailings. 

This isn't the first time we've seen this, though it's my first time posting on the forums. I am personally not able to recreate in either Chrome or FireFox, and the user in question can't make it happen every time either. I'd like to know what's causing the duplicated images, and if possible see a workaround or a fix for the issue. If you'd like me to post a copy of the bad mailing or if you'd like any other information please let me know, I'll be happy to provide. Thanks.

Telerik.Web.UI ver 2014.2.724.40
Ianko
Telerik team
 answered on 05 Jan 2015
1 answer
84 views
Dears,

Could you please tell me how can I bind my tasks when I select an project item as i mentionned in the example showed in attachement ?


Many Thanks,
Bozhidar
Telerik team
 answered on 05 Jan 2015
4 answers
145 views
I've rat-holed on CSS and the RadPageLayout control thinking I am at fault for the design problems of my page. Turns out it is not me that is mucking things up.

The straw that broke the camels back was the following story.

I had a CSS class named .intro in a Telerik ASP.NET AJAX web project, renamed .intro it to .introhdr and changed the aspx markup to reflect the new name. When the web page was loaded, the CSS properties of said class were not used at all. The . Rename the class back to intro, rename the markup to reflect intro, render and the page reflected the CSS properties.

I've wasted a few hours on this control. .introhdr h1 {
    color:#D2DFCC;
    margin-top:5px;
    font-size:2em;
}

What other controls in the "DevCraft" ASP.NET AJAX suite do you have that are the same quality?



Why was RadPageLayout added to the toolset and released in this state?

        <telerik:RadPageLayout ID="pageLayout" runat="server" ShowGrid="false" RegisterWithScriptManager="true" GridType="Fluid">
            <Rows>
                <telerik:LayoutRow runat="server">
                    <Columns>
                        <telerik:LayoutColumn runat="server" HtmlTag="Section">
                            <section class="introhdr">
                                <h1>Alternative Energy Fuel Stations</h1>
                                <h3>Locate biodiesel, compressed natural gas, ethanol, electric charging, hydrogen, liquefied natural gas, and propane station locations.
                                </h3>
                            </section>
.introhdr {
    border-radius: 0px 0px 7px 0px;
    background: -webkit-linear-gradient(#374A3C, #82976E);  /*For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#374A3C, #82976E);  /*For Opera 11.1 to 12.0  */
    background: -moz-linear-gradient(#374A3C, #82976E); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#374A3C, #82976E); /* Standard syntax */
    padding: 0px 10px 20px;
    background-color:#82976E;
    margin-top:0px;
}
NOTE this h1 class was renamed as well. .
.introhdr h1 {
    color:#D2DFCC;
    margin-top:5px;
    font-size:2em;
}

Telerik_UI_for_ASP.NET_AJAX_2014_3_1209_Dev_hotfix

Microsoft Visual Studio Ultimate 2013
Version 12.0.30723.00 Update 3
Microsoft .NET Framework
Version 4.5.51641

Installed Version: Ultimate

Architecture and Modeling Tools   06181-004-0451013-02453
Microsoft Architecture and Modeling Tools
    
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

Team Explorer for Visual Studio 2013   06181-004-0451013-02453
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013   06181-004-0451013-02453
Microsoft Visual Basic 2013

Visual C# 2013   06181-004-0451013-02453
Microsoft Visual C# 2013

Visual C++ 2013   06181-004-0451013-02453
Microsoft Visual C++ 2013

Visual F# 2013   06181-004-0451013-02453
Microsoft Visual F# 2013

Visual Studio 2013 Code Analysis Spell Checker   06181-004-0451013-02453
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Windows Phone SDK 8.0 - ENU   06181-004-0451013-02453
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio

ASP.NET and Web Tools   12.3.50717.0
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Microsoft Azure Websites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Microsoft Azure

ASP.NET Web Frameworks and Tools 2012.2   4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.20703.0
For additional information, visit http://www.asp.net/

Common Azure Tools   1.2
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Microsoft Azure Mobile Services Tools   1.2
Microsoft Azure Mobile Services Tools

NuGet Package Manager   2.8.50313.46
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Office Developer Tools for Visual Studio 2013 ENU   12.0.30626
Microsoft Office Developer Tools for Visual Studio 2013 ENU

PowerShell Tools   1.2
Provides file classification services using PowerShell

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Analysis Services   
Microsoft SQL Server Analysis Services Designer
Version 12.0.2000.8

SQL Server Integration Services   
Microsoft SQL Server Integration Services Designer
Version 12.0.2430.0

SQL Server Reporting Services   
Microsoft SQL Server Reporting Services Designers
Version 12.0.2430.0

Telerik ASP.NET AJAX VSExtensions   2014.5.1021.0
Telerik UI for ASP.NET AJAX VSExtensions

Windows Phone 8.1 SDK Integration   1.0
This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.
Peter Filipov
Telerik team
 answered on 05 Jan 2015
1 answer
306 views
We have found that some of our end users are pasting HTML into the editor that has nested double quotes for a URL. When they save their changes and the editor parses that HTML the changes the editor makes are even worse. We realize that this HTML is not compliant in the first place but is there any way to disable this specific type of change? We would prefer to preserve incorrect HTML than to have the editor make any further changes.

Our customers may paste in code like this:
<td style="width: 133px; height: 20px; text-align: center; vertical-align: middle; background-image: url("/resource/resmgr/IDGuard/LandTab_M.png");"> </td>
Which then gets changed into something like this:
<td style="width: 133px; height: 20px; text-align: center; vertical-align: middle; background-image: url(" resource="" resmgr="" idguard="" landtab_m.png);"=""> </td>

Alternatively, if there is a way to get it to change their source so that it is correct, with the URL in a single-quote that would be ideal.

Thanks
Ianko
Telerik team
 answered on 05 Jan 2015
1 answer
55 views
HI. I am using Telerik version 2014 Q1. Now am using Reporting there am using Chart in that. So thought an idea to use HtmlChart. So I would like to know whether HtmlChart can we use in Reporting. Please let me know. Thanks in advance
Stamo Gochev
Telerik team
 answered on 05 Jan 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?