Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
159 views

Hi,

I created a test RadMap and I'm getting some odd results. Here is the code:

 

<telerik:RadMap RenderMode="Lightweight" runat="server" ID="RadMap1" Zoom="6" Width="600" Height="500" >
    <CenterSettings Latitude="51.525619" Longitude="-0.111802" />
    <LayersCollection>
        <telerik:MapLayer Type="Tile" Subdomains="a,b,c"
                    UrlTemplate="https://#= subdomain #.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png"
                    Attribution="&copy; <a href='http://osm.org/copyright' title='OpenStreetMap contributors' target='_blank'>OpenStreetMap                    contributors</a>.">
                </telerik:MapLayer>
    </LayersCollection>
    <MarkersCollection>
        <telerik:MapMarker Shape="pinTarget" Title="London, UK">
            <LocationSettings Latitude="51.525619" Longitude="-0.111802"/>
        </telerik:MapMarker>
        <telerik:MapMarker Shape="pin" Title="Test">
            <LocationSettings Latitude="53.525619" Longitude="-1.111802"/>
        </telerik:MapMarker>

    </MarkersCollection>
</telerik:RadMap>

 

So the pin target and pin show the same icon, the icon is clipped, and when you zoom out the marker is in the completely wrong location. I'm not sure where to go from here. I haven't modified any css or applied any custom styles to the icons. Any help would be appreciated.

 

Thanks!

Ryan
Top achievements
Rank 1
 asked on 12 Jul 2021
0 answers
136 views
I am trying to add a multiselect drop down inside a rad grid. Can someone direct me to a simple example for this?
h
Top achievements
Rank 1
 asked on 09 Jul 2021
1 answer
212 views

Hi there,

              I have used your example code to be able to export a chart to PDF

<script>
     function exportChartToPDF() {
         var $ = $telerik.$;
         $get('<%=RadClientExportManager1.ClientID%>').exportPDF($(".RadHtmlChart"));
     }
     function exportChartToImage() {
         var $ = $telerik.$;
         $find('<%=RadClientExportManager1.ClientID%>').exportImage($(".RadHtmlChart"));
     }
</script>

I have this triggered by a button and it is working, but I need to be able to export a specific RadHTMLchart.

I have limited knowledge of this in page scripting.

 

the supplied function finds the first instance of the type requested, is there a way to find a specific control?

Please excuse my lack of understanding, I am finding my feet with this stuff.

Thanks.

Vessy
Telerik team
 answered on 09 Jul 2021
1 answer
313 views

Is there any option to enable or show the horizontal scroll bars in Multicolumncombobox on VB.Net 2012 development environment?

Thanks in advance

Sachin

 

Vessy
Telerik team
 answered on 08 Jul 2021
1 answer
283 views

I have inherited a solution from a developer that's no longer here. I am new to Telerik and not sure what the problem is with this project. In the extensions menu, it tells me to convert to a Telerik project even though it is already a telerik project. I have been told not to use the convert option because it causes problems when it's already an existing Telerik solutions. I have manually removed references that were marked when the build failed and tried to re-add them but I can't find Telerik.Web, only Telerik.Win

Is there something I can update in the web.config or elsewhere that will allow the project to references to reconnect?

Doncho
Telerik team
 answered on 08 Jul 2021
0 answers
108 views

This is odd, I am using the latest SP1 libraries and have followed all the steps and only see this in the WPF application. The Activities column should look like a drop-down combo box when the green checkbox is showing. Obviously, I am missing something, but not sure what it is. I hope I can look at it fresh in the morning and figure it out, but if there are tips, please let me know.

My XAML has this definition for the column:

<telerik:GridViewComboBoxColumn Header="Activities" Width = "271" DataMemberBinding = "{Binding Description}" SelectedValueMemberPath = "SicCodeValue" DisplayMemberPath = "SicCodeDescription" IsLightweightModeEnabled="true" IsComboBoxEditable="True">
</telerik:GridViewComboBoxColumn>


and I set up my itemssource via code using the following line on data load:

(this.myList.Columns[2] as GridViewComboBoxColumn).ItemsSource = (ViewModel as MyViewModel).SicCodes;

Pavel
Top achievements
Rank 1
Iron
Iron
 asked on 08 Jul 2021
37 answers
1.6K+ views
Hi,

I am using a RadGrid (Q1 2009) to edit a column of "percentages" and I am not getting the behaviour I would expect - though my expectation may be wrong.

The values stored in the database are "factors" i.e. 0.015 (for a number which the user should "see" as 1.5%), and, if I set the DataFormatString to be {0:p4} my values are displayed as expected (they are multiplied by 100 and displayed to 4 decimal places).

I would like the user to edit the values in the same way i.e. they edit/enter 12.5600% and what gets written to the database is 0.125600 and what is then re-displayed is 12.5600 %. But leaving the NumericType as "Number" ignores the DataFormatString (the value is displayed as 0.1256), and setting the NumericType to "percent" just results in a % sign being appended to the unmultiplied number (so they have to edit it as 0.125600%) which is frankly wrong.

It seems a little odd to me - is this intentional (by design), is there anything I can do to easily fix it?
Doncho
Telerik team
 answered on 07 Jul 2021
8 answers
506 views
Hi Telerik team,

In one of my asp page,i'm displaying the radgrid whose datasource is autogenerated columns[autogeneratedcolumns property is set to true for radgrid].Now my new requirement is ,i need to add a control [Link button]to the header of the each autogeneratedcolumn.
I have tried with ItemDataBound,ItemCreated,ColumnCreated events.
finding the header item in these events and then adding the control to the cell..
 if (e.Item is GridHeaderItem)
        {
            TableCell cell = new TableCell();
            LinkButton lnk_edit = new LinkButton();
            lnk_edit.ID = "lnk_" + e.Column.OrderIndex;
            lnk_edit.Text = "Edit";
            lnk_edit.Width = Unit.Pixel(50);
  cell.Controls.Add(lnk_edit);
}

But unable to add the LinkButton control to the header cell of each column.

Please reply ASAP.

Thankyou,
Pradeep
Edwin
Top achievements
Rank 1
Iron
 answered on 06 Jul 2021
1 answer
180 views

Hello!

Do you guys have any tips on how to design buttons so that they would look good after translation into foreign languages, like German or Korean? After translation text can be too long

Rumen
Telerik team
 answered on 06 Jul 2021
0 answers
61 views

Is there a way to properly set the localization culture for the month and year with month header when it is showing the month and date?

I have set the culture property and the days of the week are showing the correct localization based on the culture settings however the header is not

Attached is a screw grab showing the issue. The month and year should actually be Ago 2021 (localization is for it-IT)

Matt Smith
Top achievements
Rank 1
 asked on 02 Jul 2021
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?