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

Hello,

I have a problem with RadHtmlChart export to base64:

With UI for ASP.NET AJAX R3 2017, I generate my chart on a div with a "display : none" and after, on JS, I take the value (base64) of this graph and I can generate my image:

But with UI for ASP.NET AJAX R1 2021, if I generate my chart on this div, the chart doesn't take full size of the canvas and when I generate the image, the chart wasn't in full screen:

Do you have an idea why my canvas don't take the full size?

Ludovic
Top achievements
Rank 1
Iron
 asked on 19 Jul 2021
0 answers
177 views

Hi,

My web applications have no permission to install telirik asp.net components (RadButton) during runtime in vmware/RDSH environment? how can i solve this problem? thx.

Henry
Top achievements
Rank 1
 asked on 16 Jul 2021
2 answers
200 views

I've found a bug, it's strange but it's working if i remove a parameter.

I'm french and i've got an application made since year and use Telerik 2017.3 (same in recent) the problem was found by a user who use "point" in numeric pad.

I know this problem was resolved since years, and other website in my society. but i've searched why is again present. and make sample to find difference and remove parameter by parameter of RadNumericTextbox to find who blocked :

Originale code

<telerik:RadNumericTextBox ID="rntbMontantMensuel" runat="server" Enabled="true" IncrementSettings-InterceptArrowKeys="False" IncrementSettings-InterceptMouseWheel="False" DataType="Currency" ShowSpinButtons="false" MinValue="0" NumberFormat-DecimalDigits="2" RenderMode="Auto" EnabledStyle-Width="220px" EmptyMessage="0 " EnabledStyle-HorizontalAlign="right" FocusedStyle-HorizontalAlign="right" ReadOnlyStyle-HorizontalAlign="Center" HoveredStyle-HorizontalAlign="right" Type="Currency" AutoPostBack="true" ClientEvents-OnFocus="disableValide" ClientEvents-OnBlur="enableValide" NumberFormat-KeepNotRoundedValue="True"></telerik:RadNumericTextBox>

Code worked :

<telerik:RadNumericTextBox ID="rntbMontantMensuel" runat="server" Enabled="true"  IncrementSettings-InterceptMouseWheel="False" DataType="Currency" ShowSpinButtons="false" MinValue="0" NumberFormat-DecimalDigits="2" RenderMode="Auto" EnabledStyle-Width="220px" EmptyMessage="0 " EnabledStyle-HorizontalAlign="right" FocusedStyle-HorizontalAlign="right" ReadOnlyStyle-HorizontalAlign="Center" HoveredStyle-HorizontalAlign="right" Type="Currency" AutoPostBack="true" ClientEvents-OnFocus="disableValide" ClientEvents-OnBlur="enableValide" NumberFormat-KeepNotRoundedValue="True"></telerik:RadNumericTextBox>

Yes if i've IncrementSettings-InterceptArrowKeys="False"

when user press "." in numeric pad, i've got an icon "block" (red cross inside circle) and don't change my point to coma (French decimal separator)

 

Vincent
Top achievements
Rank 1
Iron
Iron
 answered on 16 Jul 2021
1 answer
169 views

Hi, 

Currently working with a RadGrid on ASP.Net AJAX, I'm using a GridTemplateColumn to display some informations. Here's the code :

<telerik:GridTemplateColumn AutoPostBackOnFilter="true" UniqueName="UniqueName1" HeaderText="Header text" HeaderStyle-HorizontalAlign="Center" FilterControlWidth="80%" >
   <ItemTemplate>
      <asp:Literal ID="Literal1" Text='<%# MyFunction(DataBinder.Eval(Container.DataItem, "myField").ToString())%>' runat="server" />
   </ItemTemplate>
</telerik:GridTemplateColumn>

The problem is : I've got a code "myField" wich is returned from the datasource. Then I load a full string from this code with the function "MyFunction".

What I would like to do is to be able to group the column on the resulting string of the function, not on the code.

Hope you can help.

Doncho
Telerik team
 answered on 16 Jul 2021
1 answer
121 views

Here is my code

 

Markup

<EditFormSettings EditFormType="Template">
   <FormTemplate>
      <table id="tblEmployeeDetails" style="width:100%">
         <tr class="EditFormHeader">
            <td colspan="2">
               <b>EMPLOYEE DETAILS</b>
            </td>
         </tr>
         <tr>
            <td class="labelHeader">Manager Full Name:</td>
            <td>
               <telerik:RadComboBox RenderMode="Lightweight" ID="rcbManageFullNameEdit" DataSourceID="SQL_Employees" 
                  DataTextField="FULLNAME" DataValueField="IDNUM" Width="200px" AppendDataBoundItems="true" 
                  SelectedValue='<%#Eval("MANAGER_IDNUM")%>' runat="server" OnItemCreated="rcbManageFullNameEdit_itemCreated">
                  <Items>
                     <telerik:RadComboBoxItem Text="-- CHOOSE --" Value ="0" />
                  </Items>
               </telerik:RadComboBox>
    </td>
         </tr>
      </table>   
   </FormTemplate>
</EditFormSettings>

VB.Net Code

Protected Sub rcbManageFullNameEdit_itemCreated(ByVal sender As Object, ByVal e As RadComboBoxItemEventArgs)
        Dim item As RadComboBoxItem = e.Item
        Dim x = item.Value

        Dim dt1 As DataTable = New DataTable
        dt1 = DAL.spHR_GetManagerList()

        Dim dv1 As DataView = dt1.DefaultView

        For Each row1 As DataRowView In dv1
            If item.Value = row1!IDNUM Then
                item.CssClass = "manager"
            End If
        Next
End Sub

 

My item.Value is always empty.

Attila Antal
Telerik team
 answered on 15 Jul 2021
0 answers
203 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
179 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
254 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
405 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
341 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?