Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
794 views

Hello, I have a RadPdfViewer in one of my pages but no matter the way I try to load a PDF, it stays hanging in the loading stage indefinitely.

It stays that way even if I try to load a Pdf by simply clicking open.

What can I do to fix this ?

Vessy
Telerik team
 answered on 21 Feb 2022
0 answers
163 views
I have a composite control that has a link button and RadAyncUpload in RadDataForm.
I access the control as follows using Javascript in a  WebForm.

var filelength = find("<%= CompositeControl1.RadAsyncUpload.ClientID %>").getUploadedFiles().length;

I am not sure how to access this control using javascript from RadDataForm.

I tried using the following,

 var container = $(".RadDataForm")[0];
 var uploaded = $telerik.findElement(container, "CompositeControl1");

I am not sure how to access RadAsyncUpload from the above.Any help is appreciated.Thank you.
T
Top achievements
Rank 1
 asked on 21 Feb 2022
0 answers
93 views

Hello

Please Help me.

attacted file : problem1.png, problem2.png, problem3.png

It is automatically displayed like a StatusBar of RadGridin the RadListBox?
If possible, please teach me how.

 

 

 

 

 

 

anna
Top achievements
Rank 1
Bronze
Iron
 asked on 21 Feb 2022
1 answer
172 views

I am working on a timesheet application that tracks a person's hours using a RadGrid.

I have the totals for the day column displayed in the footer. But I want to create a column that sums up all the hours in the row. Is there a way to do that?

Attila Antal
Telerik team
 answered on 21 Feb 2022
2 answers
396 views

Hi,

I want to change the language of the filter in a excel like grid. I try this solutions :

-----------------------------------------------------------------------------------------------

Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-FR");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr-FR");

-----------------------------------------------------------------------------------------------

The culture is fr-FR but the calendar and the labels of the filters are in english.

Can I have some help ? Thank you

Best regards,

Audrey

Attila Antal
Telerik team
 answered on 21 Feb 2022
0 answers
81 views

Hello

Please Help me.

attacted file : problem1.png, problem2.png, problem3.png

It is automatically displayed like a StatusBar of RadGridin the RadListBox?
If possible, please teach me how.

 

 

 

 

 

 


anna
Top achievements
Rank 1
Bronze
Iron
 updated question on 20 Feb 2022
1 answer
183 views

I had to use a custom chart legend but can't seem to figure out how to export the custom legend when exporting to pdf.

html:
<telerik:RadButton RenderMode="Lightweight" runat="server" OnClientClicked="exportChart1" Text="Export to PDF" AutoPostBack="false" UseSubmitBehavior="false"></telerik:RadButton>

Javascript:
function exportChart1() {
var $ = $telerik.$;
var ddlValue = $find("<%= ddlChart1.ClientID %>").get_selectedItem().get_value();
var selectedChart = "." + ddlValue;

/*The selectedChart is found by the CssClass of the chart*/
$find('<%=RadClientExportManager1.ClientID%>').exportPDF($(selectedChart));
}

The custom legend :

<div class="customLegendWrapper">
<div class="customLegend">
<div class="series1">
<div></div>
Series 1
</div>
<div class="series2">
<div></div>
Series 2
</div>
<div class="series3">
<div></div>
Series 3
</div>
</div>
</div>

Vessy
Telerik team
 answered on 18 Feb 2022
1 answer
540 views

I have a Grid with a template column with a MultiSelect as the EditItemTemplate. The MultiSelect displays fine with all of the available values, but I can't figure out how to save the selected items to the database.

When I use a ComboBox, I used SelectedValue='<%# Bind("Team_ADS_Person_IDs") %>' to bind and the selected value is saved in the Team_ADS_Person_ID field correctly, but I'm not sure what to use for the MultiSelect.

<MasterTableView DataKeyNames="Record_ID" EditMode="InPlace" DataSourceID="sql" AutoGenerateColumns="false" AllowAutomaticInserts="true" AllowAutomaticUpdates="true" AllowAutomaticDeletes="true">
    <Columns>
        <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" HeaderStyle-Width="110px"></telerik:GridEditCommandColumn>
        <telerik:GridTemplateColumn HeaderText="Team" SortExpression="Team_ADS_Person_IDs" HeaderStyle-Width="275px">
            <ItemTemplate>
                <%# Eval("Team_ADS_Person_IDs")%>
            </ItemTemplate>
            <EditItemTemplate>
                <telerik:RadMultiSelect ID="selTeam" runat="server" DataSourceID="sqlEmployee" DataTextField="Display_Name" DataValueField="ADS_Person_ID" Filter="Contains" Width="100%" AutoClose="False"></telerik:RadMultiSelect>
            </EditItemTemplate>
        </telerik:GridTemplateColumn>
        <telerik:GridButtonColumn Text="Delete" CommandName="Delete" ConfirmText="Are you sure you want to delete this record?" HeaderStyle-Width="50px" UniqueName="DeleteCommandColumn">
        </telerik:GridButtonColumn>
    </Columns>
</MasterTableView>
</telerik:RadGrid>


<asp:SqlDataSource ID="sql" runat="server" ConnectionString="<%$ ConnectionStrings:csCHPServiceDesk %>" SelectCommand="Release.usp_Product" SelectCommandType="StoredProcedure" InsertCommand="Release.usp_Product" InsertCommandType="StoredProcedure" UpdateCommand="Release.usp_Product" UpdateCommandType="StoredProcedure" DeleteCommand="Release.usp_Product" DeleteCommandType="StoredProcedure">
    <SelectParameters>
        <asp:Parameter Name="Action" DefaultValue="Select" Type="String" />
    </SelectParameters>
    <InsertParameters>
        <asp:Parameter Name="Action" DefaultValue="Insert" Type="String" />
        <asp:Parameter Name="Team_ADS_Person_IDs" Type="String" />
    </InsertParameters>
    <UpdateParameters>
        <asp:Parameter Name="Action" DefaultValue="Update" Type="String" />
        <asp:Parameter Name="Record_ID" Type="Int32" />
        <asp:Parameter Name="Team_ADS_Person_IDs" Type="String" />
    </UpdateParameters>
    <DeleteParameters>
        <asp:Parameter Name="Action" DefaultValue="Delete" Type="String" />
        <asp:Parameter Name="Record_ID" Type="Int32" />
    </DeleteParameters>
</asp:SqlDataSource>

<asp:SqlDataSource ID="sqlEmployee" runat="server" ConnectionString="<%$ ConnectionStrings:csCHPServiceDesk %>" SelectCommand="usp_Lookup" SelectCommandType="StoredProcedure">
    <SelectParameters>
        <asp:Parameter Name="Action" DefaultValue="Select Employee" Type="String" />
    </SelectParameters>
</asp:SqlDataSource>

Attila Antal
Telerik team
 answered on 18 Feb 2022
1 answer
129 views
I would like to show the alt tag / tooltip of the image title when the cursor is hovered over the thumbnail. Any way that can be done?
Rumen
Telerik team
 answered on 18 Feb 2022
1 answer
249 views

I have multiple charts in a dashboard page.  I've attempted using the Java script example in the demo page (see link below), including the function call in the "ClientEvents -Onload" property of each chart. The script works. However, only one of charts resizes properly. I've also attempted modifying the script by adding a function for each chart but the result is the same.

   

https://demos.telerik.com/aspnet-ajax/htmlchart/examples/functionality/responsive-chart/defaultvb.aspx

Thank you in advance for any help on this issue.

 

Vessy
Telerik team
 answered on 17 Feb 2022
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?