Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
671 views
Hi Team,

We have updated .net framework 2.0 to 4.6 and  telerik version from 2010.2.826.20 to 2015.3.1111.45.

When the property UseSession is set to false 
We are getting an error as "Error loading RadChart image. You may also wish to check the ASP.NET Trace for further details. Display stack trace?". But I have found images are created in our TempImagesFolder(Cache). We never got this error in old version of telerik 2010.2.826.20. 
We are looking for best solution to fix this error with RadChart. As per the suggestion to replace RadChart with RadHtmlChart in Telerik sites that we found.  But in our case we are using RadChart in many parts of our application which not so easy to replace with RadHtmlChart. Please respond ASAP.

My chart image URL using browser's inspect element:http://localhost/xxx/ChartImage.axd?UseSession=false&ImageName=QbDPL66p6bEOlWq11Jibbiw64o%2btmhgdzHCOXHygpp8J9SSzUoHkZQzy0JrAcin0n5iitJHqTmroD5MwMSR20g%3d%3d&imageFormat=Png 


Below are the additional details. 

IIS 7.5
.Net 4.6

Code from ASPX Page
<telerik:RadChart ID="rchFMA" runat="server" Width="315px" DefaultType="Pie" Height="200px" AutoLayout="true" AutoTextWrap="true" Skin="WebBlue" TempImagesFolder="/Cache/" UseSession="false" IntelligentLabelsEnabled="true"> 
<Series> 
</Series> 
</telerik:RadChart> 

 
Code from webconfig
<system.web>
    <httpHandlers>     
      <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false"/>
    </httpHandlers>
</system.web>
<system.webServer>    
    <handlers>
      <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode"/>
    </handlers>
 </system.webServer>
Danail Vasilev
Telerik team
 answered on 03 Feb 2016
11 answers
423 views
Hi,

I am using a RadAjaxManager to update one RadComboBox based on a change in another RadComboBox.

On the first postback, everything works fine, but the second time I get a java script error.

"Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Specified argument was out of the range of valid values."

The script has this header info...

/* START MicrosoftAjax.js */
//----------------------------------------------------------
// Copyright (C) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------
// MicrosoftAjax.js

Here is the markup I'm using...

<telerik:RadScriptManager ID="RadScriptManager1" Runat="server"/>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="cb1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="cb2" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        
            <table border="0" cellpadding="1" cellspacing="0" style="width: 100%; background-color: ButtonFace">
                <tr>
                    <td>
                        <label class="normtext">Agency</label>
                    </td>
                    <td style="width: 40%">
                        <telerik:RadComboBox ID="cb1" runat="server" 
                            EmptyMessage="No Agencies Assigned" HighlightTemplatedItems="True"
                            AllowCustomText="True" Skin="Hay" Width="90%" 
                            AutoPostBack="true">
                        </telerik:RadComboBox>
                    </td>
                    <td>
                        <label class="normtext">Branch</label>
                            
                    </td>
                    <td>
                        <telerik:RadComboBox ID="cb2" runat="server" 
                            EmptyMessage="N/A" HighlightTemplatedItems="true"
                            AllowCustomText="true" Enabled="false" Skin="Hay">
                            <ItemTemplate>
                                <asp:CheckBox runat="server" ID="chk1" Checked="true" onclick="onCheckBoxClick(this)"/>
                                <%#DataBinder.Eval(Container.DataItem, "BranchNameAndID")%>
                            </ItemTemplate>
                        </telerik:RadComboBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="normtext">Records Modified Between</label>
                    </td>
                    <td>
                        <telerik:RadDatePicker ID="RDPStart" runat="server" Width="100">
                            <DatePopupButton Visible="true"></DatePopupButton>
                            <DateInput ID="DIStart" runat="server" onclick="ToggleFirstPopup()">
                            </DateInput>
                        </telerik:RadDatePicker>
                    </td>
                    <td>
                        <label class="normtext">And</label>
                    </td>
                    <td>
                        <telerik:RadDatePicker ID="RDPEnd" runat="server" Width="100">
                            <DatePopupButton Visible="true"></DatePopupButton>
                            <DateInput ID="DIEnd" runat="server" onclick="ToggleSecondPopup()">
                            </DateInput>
                        </telerik:RadDatePicker>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="normtext">Clinician Name</label>
                    </td>
                    <td>
                        <asp:TextBox runat="server" ID="txtClinician"></asp:TextBox>
                    </td>
                    <td>
                        <label class="normtext">Patient Last Name</label>
                    </td>
                    <td>
                        <asp:TextBox runat="server" ID="txtPatient"></asp:TextBox>
                    </td>
                </tr>
            </table>

Please help!

Thanks,
Billy
Pavlina
Telerik team
 answered on 03 Feb 2016
3 answers
159 views
Hello. Is there a way to disable/hide the Thumbnails View on the File Explorer (for Document Manager, Flash Manager, Image Manager, et. al.)? If so, can someone give an example of how to set this property in code, either client-side or server-side?
Vessy
Telerik team
 answered on 03 Feb 2016
2 answers
119 views

I've got a customer who is reporting that occasionally when exporting from the grid (and then opening the file directly rather than saving it), they receive an error message box from Excel, "Unable to read file."

 I have been unable to reproduce the issue, and it doesn't happen every time for them either. Any thoughts on what could be causing this?

Pavlina
Telerik team
 answered on 03 Feb 2016
1 answer
152 views
I'm using RadScheduler with custom form for creating appointments. I need reload page after appointment has been added. But controls hasn't event's like 'FormClosed'. If I call reload page in 'AppintmentInsert' event it prevents creation appointment in database. How I can manage this situation? 
Nencho
Telerik team
 answered on 03 Feb 2016
10 answers
168 views
Hi,

I trying to enabled KeyboardNavigation, KeyboadShortcuts and AllowSubmitOnEnter, but nothing fired event. 

My settings :

<ClientSettings AllowKeyboardNavigation="true">
    <Selecting AllowRowSelect="true"></Selecting>
    <KeyboardNavigationSettings EnableKeyboardShortcuts="true" AllowSubmitOnEnter="true" AllowActiveRowCycle="true"></KeyboardNavigationSettings>
</ClientSettings>


Surprise, this demo don't work too!
http://demos.telerik.com/aspnet-ajax/grid/examples/client/keyboardnavigation/defaultcs.aspx

I use Chrome and IE11, both don't work for my grid and demo site :
The keyboard navigation feature of Telerik RadGrid allows you to: 
  • Focus the grid through a user-specified key combination
  • Navigate through the grid records using the [UP/DOWN] arrow keys from the keyboard
  • Advance/return the pager through the [PAGE UP]/[PAGE DOWN] key
  • Select grid items pressing the [SPACE] key
  • Select multiple grid item using the [CTRL] and [SHIFT] keys
  • Insert a new item by hitting [CTRL] and [I] keys
  • Edit rows upon hitting the [ENTER] key
  • Update/insert rows upon hitting the [ENTER] key
  • Exit EDIT/INSERT mode upon hitting the [ESC] key
  • Expand/Collapse detail tables using the [Left Arrow] and [Right Arrow] keys

Help please.

Eyup
Telerik team
 answered on 03 Feb 2016
4 answers
307 views
When using the 'Insert Symbol' drop-down in the RadEditor, some of the symbols display as symbols in HTML mode rather than as HTML code.  For example, after inserting an angle in Design mode I see an angle symbol and in HTML mode I see the corresponding HTML &ang;.  However, after inserting a triangle the triangle symbol is shown in both Design and HTML modes.  If I manually enter the equivalent Unicode (&#9651;) in HTML mode, switch to Design mode and then back to HTML mode the Unicode is replaced with the actual symbol.  Note, if I manually enter the Unicode for the angle (&#8736) in HTML mode, switch to Design mode and then back to HTML mode the Unicode is replaced with the corresponding HTML code (&ang).

Could someone provide insight as to why this is happening, and any suggestions for how to work around this issue? 

Please let me know if any additional information is needed, thank you!!
Adam
Top achievements
Rank 1
 answered on 03 Feb 2016
14 answers
326 views
Hello,
        
         I am using telerik rad grid. I want to have one more radgrid inside Radgrid MAstertableview edit form.

Inside grid is having Boundcolumn,Templatecolumn containing label as item template and combobox as edit item template.
Now how to do add, edit delete operation to inside radgrid.
I searched lot of articles. But didnt find example like this scenario.
Please help me.



Regards,
Soumya,
Bangalore.


MV
Top achievements
Rank 1
 answered on 03 Feb 2016
1 answer
99 views

Hello Team,

I am using a Rad Grid. that seems working perfect in my desktop, whereas it is not showing refresh button in mobile view.

Code:

<CommandItemStyle HorizontalAlign="Right" />
<CommandItemSettings RefreshImageUrl="../Images/Refresh_Icon.png" RefreshText="" ShowRefreshButton="true" />

Please find attachment to see the results.

In desktop view it is creating anchor tag for refresh button. But the same button is missing in mobile view.

Kindly advice to get refresh button in devices of all resolutions.

Thanks and Regards,

Ruchi Patel

Pavlina
Telerik team
 answered on 02 Feb 2016
1 answer
108 views
It generates incorrect render with this configuration, but works if I rearrange the AjaxSetting. 

 

<div>
        <table style="width:100%" border="1">
            <tr>
                <td>                  
                     <asp:Button ID="btnIgnore" runat="server" Text="Test" />    
                </td>
            </tr>
 
            <tbody id="tblNeededYes" runat="server">
                <tr>
                    <td>
                        <asp:Button ID="btnAdd" runat="server" Text="Add"  />    
                    </td>
                </tr>
                <tr>
                    <td>
                        <telerik:RadGrid id="RadGridGifts" runat="server">
                            <MasterTableView CommandItemDisplay="None" AutoGenerateColumns="false">
                                <Columns>
                                    <telerik:GridBoundColumn HeaderText="Item Description" UniqueName="ItemDescription" DataField="ItemDescription"></telerik:GridBoundColumn>
                                </Columns>
                            </MasterTableView>
                        </telerik:RadGrid>                        
                    </td>
                </tr>
            </tbody>           
        </table>
     </div>
 
    <!-- This only works if we put btnIgnore AjaxSetting below the btnAdd -->
 
      <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="btnIgnore">
                <UpdatedControls>                   
                    <telerik:AjaxUpdatedControl ControlID="tblNeededYes" />                   
                </UpdatedControls>
            </telerik:AjaxSetting>
 
            <telerik:AjaxSetting AjaxControlID="btnAdd">
                <UpdatedControls>                   
                    <telerik:AjaxUpdatedControl ControlID="RadGridGifts" />
                </UpdatedControls>   
           </telerik:AjaxSetting
 
        </AjaxSettings>       
    </telerik:RadAjaxManager>
Maria Ilieva
Telerik team
 answered on 02 Feb 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?