Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
141 views

Hi

When I click on the control panel download I'm being asked which program to open it with.

Whats wrong? there is no file extension

ANdy

Andrey
Telerik team
 answered on 21 Dec 2015
2 answers
382 views

Hi,

We're using 2015.1.225.45  Telerik version to export graphics bar from RADHtmlChart to PDF. We have a javascript handler to export it with the following code:

$find('<%=RadClientExportManager1.ClientID%>').exportPDF($(".RadHtmlChart"));

The graphics bar have some text with accents. On the browser, the text is shown correctly but on the exported PDF, the text with accents has errors. 

You can confirm this comparing the images graphics_bar_browser.png and graphics_bar_PDF.png attached to this thread.

It looks like there's some encoding problem or the font being used does not supports accent characters

Best Regards,

AMBISIG

 

Ivan Danchev
Telerik team
 answered on 21 Dec 2015
5 answers
831 views
Hi, Telerik,
I have a RadGrid with a checkbox in each row.  I need to use JavaScript to iterate each row and check and see whether each row are checked. The checkbox is defined in <telerik:GridTemplateColumn> in MasterTableView.  How do I do that? 
Eyup
Telerik team
 answered on 21 Dec 2015
1 answer
53 views

I am having an issue with the display of the Radeditor control.  

The issue only occurs when the Browser is IE 10.  

Attached are two images B4postback.png  shows the way the RadEditor window is rendering before postback.  (Incorrect rendering   The window is not the correct height.)  

Afterpostback.png - shows how the RadEditor window renders after a Postback with the Multipage page the editor is on being visible.  (Correct rendering)  

If I set the Tab controls to autopostback the editor does render correctly; however, that does not appeal to the client as a postback on tab click causes too much of a delay between switching tabs/pages.  

I have updated the site to use Q3 2015. Previously we were using Q1 2013, but that version always renders incorrectly in IE 10, even after postback.    

I have tried using the solution for display issues: http://docs.telerik.com/devtools/aspnet-ajax/controls/editor/troubleshooting/content-area-appearance-problems 

But that appears to have no effect.  

The control only displays incorrectly on page load when the control is on a non-focused multipage page that is later made visible with at a postback of that multipage page, under IE 10.   All other browsers I have tested, IE 8, IE 9, IE 11  and Chrome appear to render correctly. 

The issue is pressing because the Client just updated all 4000+ of it's computers to IE 10 this past week and The end user has no choice except to use the browser that has been made available to them.  

Any Ideas on what I can try so that the control always renders correctly, that don't involve a postback before the multipage with the Editor Control is switched too? 


 

 

 

Ianko
Telerik team
 answered on 21 Dec 2015
1 answer
40 views

I have a dynamically loaded grid (automatic column generation, data table as a source) and currently I use the code below to catch the rows as they are created and compare their content to the previous row to track changes in the data. If nothing changed i want to hide the row from the grid. Based on everything i have read the code below should work properly and it does for highlighting column changes BUT for some reason its ignoring the e.Item.Visible setting and still showing rows that I have set to hidden. Thanks in advance!

01.System.Data.DataTable dt = null;
02.int rowCnt = 0;
03.List<int> colsNotToTrack = new List<int>();
04.protected void rgResults_ItemCreated(object sender, GridItemEventArgs e)
05.{
06.    if (compareLines && e.Item is GridDataItem)
07.    {
08.        if (rowCnt > 0)
09.        {
10.            bool changed = false;
11.            for (int i = 2; i < e.Item.Cells.Count; i++)
12.            {
13.                if (colsNotToTrack.Contains(i))
14.                    continue;
15.                if (dt.Rows[rowCnt][i - 2].ToString() != dt.Rows[rowCnt - 1][i - 2].ToString())
16.                {
17.                    e.Item.Cells[i].BackColor = System.Drawing.Color.LightSalmon;
18.                    changed = true;
19.                }
20.            }
21.            e.Item.Visible = changed;
22.        }
23.        rowCnt++;
24.    }
25.     
26.}
Kostadin
Telerik team
 answered on 21 Dec 2015
1 answer
140 views

Hello,
I have a radwindow that uses ContentTemplate, I need to update a radComboBox inside the ContetnTemplate on the event of a LinkButtom Clicked in a RadGrid Control

I tried using the AjaxManager like this

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
       <telerik:AjaxSetting AjaxControlID="grd_limousine">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="wnd_UpdateStatusWindow" />
            </UpdatedControls>
       </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

 

I also tried to put the window inside a panel and set it as the control to be updated instead

the problem is that when I used the AjaxManager on the radWindow it started returning null in this code

function showWindow(windowID, url) {
    //window.radopen(null, 'wnd_UpdateStatusWindow');
    var window = $find(windowID);
    window.show();
}
Can anyone tell me why this happening and how to fix it?
Ianko
Telerik team
 answered on 21 Dec 2015
3 answers
181 views

Hello,

I have a simple scenario, one RadWindow that opens another url. It works perfectly fine until I close the RadWindow (without refreshing the main page). I have tried to close the window using some JavaScript but I can replicate when I click the X button of the RadWindow. The window closes but the next time I click my lnkClient button the oWnd on the JavaScript function returns null, even though the id is passed correctly to the $find function. As a result the window cannot open again until I postback my page. I have read about DestroyOnClose property that should be false, but I have tried that and didn't work.

  <script type="text/javascript">
       function OpenWindow()
       {
           var oWnd = $find($("[id$=RadWindow1]").attr("id"));
           oWnd.show();
           return false;
       }
</script>
<asp:LinkButton ID="lnkClient" runat="server" text="Open" OnClientClick="return OpenWindow();"></asp:LinkButton>
 
<telerik:RadWindow ID="RadWindow1" runat="server" VisibleOnPageLoad="false"  NavigateUrl="/somepage.aspx" Modal="false"></telerik:RadWindow>
Ianko
Telerik team
 answered on 21 Dec 2015
26 answers
980 views
Hello,

I am using a RadDatePicker control to select a date. I want to highlight today's date on the calendar pop up. I have read a couple of previous posts related to this. But I could not get my code work. Following is my current RadDatePicker code.

<telerik:RadDatePicker ID="beginDateTimePicker" runat="server" Skin="Vista"
    <DateInput LabelCssClass="radLabelCss_Vista" Skin="Vista" EmptyMessage="mm/dd/yyyy" 
        DateFormat="MM/dd/yyyy"
        <EmptyMessageStyle Font-Italic="True" Font-Size="8pt" /> 
        <HoveredStyle Font-Italic="True" Font-Size="8pt" /> 
    </DateInput> 
    <Calendar Skin="Vista" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" 
        ViewSelectorText="x" ShowOtherMonthsDays="False" ShowRowHeaders="False"
        <SpecialDays> 
            <telerik:RadCalendarDay Repeatable="Today"
                <ItemStyle CssClass="Yellow" /> 
            </telerik:RadCalendarDay> 
        </SpecialDays> 
    </Calendar> 
    <DatePopupButton CssClass="radPopupImage_Vista" /> 
</telerik:RadDatePicker> 

Please help me on this issue.

Thank You,
Siva
Eric
Top achievements
Rank 1
 answered on 20 Dec 2015
4 answers
111 views

Is there a method like GetRadWindowManager for RadToolTipManager as shown in code snippet below?

The goal is to find the RadToolTipManager in an easy and transparent manner like in code below for RadWindowManager  in any content page, otherwise one needs to get the id from master page and then use $find, which is not an easy and transparent way of getting the manager object.

 

var omanager = GetRadWindowManager();

SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 19 Dec 2015
7 answers
215 views

Attached is a screenshot of a Column Chart I did using HTMLChart.

I would like to have a button next to each Coil ID in the chart or make each Coil ID a link that a user can click on to open a new RadWindow with a page that has more detailed data from another database table regarding that Coil ID that the user clicked.

The Column Chart is bound to a dataset that gets dynamic data from a database table.

Is it possible to do this?

If so then can you give an example of how to do it?

Sincerely,

Keith Jackson

Keith
Top achievements
Rank 1
 answered on 18 Dec 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?