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

Hi,

Telerik grid functionalities such as pagination, filter and sorting are not working in Google Chrome, however it works only in Internet Explorer. Please provide us the solution.

Pribadi
Top achievements
Rank 1
Iron
Iron
 answered on 21 Jul 2021
1 answer
144 views

Hello,

I would like the user to have the ability to zoom in and out of a Day view.

I've added the following to the toolbar;

<Toolbar>
   <ClientTemplate>
        <a class="k-button" onclick="return ganttZoomIn(this, event)" title="Zoom In">+</a>
        <a class="k-button" onclick="return ganttZoomOut(this, event)" title="Zoom Out">-</a>
    </ClientTemplate>
</Toolbar>  

and the following javascript;

function ganttZoomIn(button, ev)
{
   var gantt = $find("<%= RadGannt1.ClientID %>");
   gantt._viewsData[0].slotSize += 10;
}

function ganttZoomOut(button, ev)
{
   var gantt = $find("<%= RadGantt1.ClientID %>");
   gantt._viewsData[0].slotSize -= 10;
}

But the changes to the slot size is not changing the Gantt.

Can the slot size be updated using javascript?

Thanks,

Matt

Peter Milchev
Telerik team
 answered on 21 Jul 2021
0 answers
144 views

I'm  experiencing an issue where RadEditor in a modal is breaking out of a Bootstrap column and card. 

Any solution to contain the RadEditor that renders as a table properly? 

b
Top achievements
Rank 1
 updated question on 21 Jul 2021
1 answer
140 views

I imported some excel files with UI for ASP.NET AJAX R2 2021 SP1 (version 2021.2.616)

but rendering result is different from Demo,  font size.  and one file occurred some error in my project.

How to do this problem?

I attached 2 excel files.

Thank you.

Peter Milchev
Telerik team
 answered on 20 Jul 2021
1 answer
321 views

Hello,

I have followed the example shown here https://demos.telerik.com/aspnet-ajax/map/examples/data-binding/dataset/defaultcs.aspx to add a marker collection via a DataSet on my map.

I am now trying to remove or update the locations without success, either by re-setting the DataSource object or my clearing the MarkersCollection without any success. For example:

protected void ClearMarkers_Click(object sender, EventArgs e) { 
    RadMap.MarkersCollection.Clear();
    RadMap.DataSource=null;
    RadMap.DataBind();
}
How can I dynamically remove/update the markers in the map?
Thanks
Doncho
Telerik team
 answered on 20 Jul 2021
0 answers
99 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
123 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
158 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
137 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
94 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
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?