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

We are doing some work for a client who has a number of web applications which were initially built in .net 2.0 and which use Telerik 2009.1.402.20.

As part of some minor changes to the applications. We also upgraded to .net 4.0. This has caused a number of issues with the telerik controls and we are assuming that there are compatibility issues between this version and .net 4.0. 

We tried to fix a number of issues by using the known _DestoryTree JS fix. However this doesn't seem to have worked for many of the issues. 

Could someone please advise on the following:

1 - Is there anyway around the incompatibility?

2 - If not and an upgrade in Telerik is required will this in itself cause other issues with the migration from the old version to the new? Are there issues with backward compatibility.

Thanks for your help.

Pavlina
Telerik team
 answered on 08 Feb 2016
1 answer
126 views

RadComboBox not rendered (Rendered as "") when within asp panel with initial visible= false.

The asp panel is set to visible= true when postback is triggered via client using ajaxManager.ajaxRequest('InitialPageLoad'

 
protected void Page_Load(object sender, EventArgs e)
        {
            // register ajax
            Telerik.Web.UI.RadAjaxManager ajaxMgr_CCF =   Telerik.Web.UI.RadAjaxManager.GetCurrent(Page);
            ajaxMgr_CCF.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(AjaxRequestsForCCF);

}

 

protected void AjaxRequestsForCCF(object sender, AjaxRequestEventArgs e)
       {
           if (e.Argument == "InitialPageLoad")
           {
              pnlWithComboBox.Visible = true;
           }
       }

 

 RadCombobox is always set to visible = true.

The panel has other server side control but they render fine. 

If I set radComboBox1.visible = true then it works fine. But should it automatically render and no need for setting specificly

<asp:Panel ID="pnlWithComboBox" runat="server" visible="false">
        <telerik:RadComboBox ID="radcombobox1" runat="server"                                   Width="123px" RenderMode="Lightweight"                                    OnSelectedIndexChanged="btnSavePlaybackForward_Click" AutoPostBack="true" OnClientSelectedIndexChanged="comboBoxContext">
                                    <Items>
                                        <telerik:RadComboBoxItem Text="1" Value="1" runat="server" />
                                        <telerik:RadComboBoxItem Text="2" Value="2" runat="server" />
                                        <telerik:RadComboBoxItem Text="3" Value="3" runat="server" />
                                    </Items>
                                </telerik:RadComboBox>
                            </asp:Panel>

function initializePage(sender, eventArgs) {                 var ajaxManager = $find('<%= RadAjaxManager.GetCurrent(this.Page).ClientID %>');                 ajaxManager.ajaxRequest('InitialPageLoad');   
          }

<telerik:AjaxSetting AjaxControlID="radAjaxManager1">  
 <UpdatedControls>         
        <telerik:AjaxUpdatedControl ControlID="pnlWithComboBox"  />   
  </UpdatedControls>  
 </telerik:AjaxSetting>

Maria Ilieva
Telerik team
 answered on 08 Feb 2016
5 answers
1.3K+ views
Hi,

I am enabling combobox with checkbox using 

cmbValue.CheckBoxes = true;
cmbValue.EnableCheckAllItemsCheckBox = true;

I want to change the text of first item "Check all" which is generated by automatically to "Select All"

Please suggest for the above.
swarup
Top achievements
Rank 2
 answered on 08 Feb 2016
7 answers
198 views
Hi! it's possible set customize labels for a graph something like the image that I attach
Danail Vasilev
Telerik team
 answered on 08 Feb 2016
1 answer
197 views

Hello

I have an old version of Telerik Devcraft RadControls For Asp Net Ajax. (v 2013_3_1015)

I want to develop an asp.net web application with Xamarin Studio.

I have copy 2 dlls: Telerik.Web.UI and Telerik.Web.UI.Skins. I've fetch web.config file from a visual studio project.

The project compiles and run fine on an Apple computer !

But *.asp.designer.cs files are not been generating or update. I have to write thoses designer files by hand.

What should i do ?

Thanks

  

Marin Bratanov
Telerik team
 answered on 08 Feb 2016
1 answer
83 views

 I am trying to access text entered into a RadEditor but when I try to retrieve the value in a button click event there isn't any value there.  It works fine in Chrome but not IE 11.

 

Here is the UI tag:

 <td colspan="6">

 <telerik:RadEditor ID="reCommentsJDEItem" runat="server" ToolbarMode="ShowOnFocus" ToolsFile="~/BasicTools.xml" CssClass="td" Enabled="false"EditModes="Design" AutoResizeHeight="true" Height="80px"></telerik:RadEditor></td>

 

From the click event:

oPackSlipDetail.Comments = reCommentsJDEItem.Content;

 

No value appears even though something has been typed.  Version I am using: 2016.1.113.35  Runtime: v2.0.50727

 

Thanks

Marin Bratanov
Telerik team
 answered on 08 Feb 2016
12 answers
713 views
I'm frustrated beyond belief. What I want to do seems simple enough. First, I'm using RadControls Q2 for ASP.NET AJAX. I have a grid of users with four columns (username, email address, state, city). I need to edit existing records in place and add new records. Some of the properties of the grid include EditMode="InPlace", AllowAutomaticUpdates="true" and AllowAutomaticInserts="true". The issue I am having is that I need to have the "cities" combo box populate based upon the selection of the "state" combo box. Seems simple enough. The combo boxes appear in edit and insert modes. The combo boxes also need to stay in sync for an "edit" of an existing row.

I see examples of loading on demand, but not in the edit/insert row of a RadGrid. Populating the first combo box is easy, but the second... aaarrgh. I can not find an example of how to 'find' the EditItemTemplate combo box in a javascript function attached to the "OnClientSelectedIndexChanging" event.

I found another telerik example that was using a streamer page. Is that old tech? I'm using Q2 ASP.NET AJAX.

Please help.
Eyup
Telerik team
 answered on 08 Feb 2016
1 answer
596 views

Hello telerik team,

 I am developing an aspx page (C#, ASP.Net),

In my webform i have four buttons with its own functionality aligned similar to tabs.

If i click  button1, then button1 should be highlighted and automatically all the other three buttons should not be highlighted, vise versa to all the three buttons.

Only one clicked button should be highlighted at a time.

Is there any easy ways to achieve it..

Thanks in advance.

Will be more grateful if u people replied a bit faster..

Danail Vasilev
Telerik team
 answered on 08 Feb 2016
1 answer
129 views

I have a radgrid bound by entity datasource and has the following column:

<telerik:GridTemplateColumn UniqueName="Color" HeaderText="Background Color" DataField="Colour" ItemStyle-Width="150px" ItemStyle-HorizontalAlign="Center"
                                    SortExpression="myColor" AllowFiltering="false" HeaderStyle-Width="32px">
                                    <ItemTemplate>
                                        <div style='width: 16px; height: 16px; background-color: #<%# Eval("Colour") %>'></div>
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                        <telerik:RadColorPicker runat="server" ShowIcon="true" ID="RadColorPicker1" SelectedColor='<%# System.Drawing.ColorTranslator.FromHtml("#" + Eval("Colour")) %>' />
                                    </EditItemTemplate>
                                </telerik:GridTemplateColumn>

 

The datasource looks like this

 

<asp:EntityDataSource ID="eds1" runat="server" OrderBy="[it].Name" ConnectionString="name=DBSchoolsEntities" DefaultContainerName="DBSchoolsEntities" EnableDelete="True" EnableFlattening="False" EnableInsert="True" EnableUpdate="True" EntitySetName="Classifications" EntityTypeFilter="Classification">
                    </asp:EntityDataSource>

I have other columns on the grid that dont have EditItemTemplates and these fields update in the db just fine, but the colour picker column doesnt update in the database and I dont know why?

Viktor Tachev
Telerik team
 answered on 08 Feb 2016
1 answer
108 views

Hi all,

I have a grid and I use Popup for editing row. I use client side event OnPopUpShowing to set popup position and size. The problem is that my data contains text with symbols '<>' which are not allowed for web request and I need to replace them before request is sent to server. I can do it simple by javascript when any button is clicked, but I am not able to detect closing button (from top right corner).

Is there any client-side event when popup is closing?

Or is it possible to remove/hide closing button when dialog is showing?

Thank you for any idea,

Petr

Petr
Top achievements
Rank 1
Iron
Iron
 answered on 08 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?