Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
179 views
I installed the Q1 '13 update this afternoon.  When I open my visual studio project and attempt to upgrade the project from the latest 2012 extensions to the new extensions I get an error in VS that states RADControls for ASP.NET AJAX Visual Studio Extensions have recovered from an error.  The details of the error are below.  

I have uninstalled and reinstalled the extensions using the control panel, and I still have this issue. Any advice?

Failed to execute command.

System.Runtime.InteropServices.COMException (0x80004005): Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))
   at EnvDTE._DTE.get_ActiveSolutionProjects()
   at Telerik.VSX.Internal.ProjectManagement.ProjectRetriever.GetFirstSelectedProject(DTE dte)
   at Telerik.VSX.Internal.ProjectManagement.ProjectRetriever.GetFirstSelectedProject(IServiceProvider serviceProvider)
   at Telerik.VSX.Internal.ProjectManagement.ProjectWrapFactoryBase`1.GetForFirstSelectedProject(IServiceProvider serviceProvider)
   at Telerik.Web.UI.VSX.ProjectConfigurators.ProjectConfigurationStyles.ProjectUpgrade(IServiceProvider serviceProvider)
   at Telerik.Web.UI.VSX.ProjectConfigurators.StreamlinedProjectConfiguration.StartUpgradeWizard()
   at Telerik.Web.UI.VSPackage.CommandExecutor.Execute(UInt32 commandId)
   at Telerik.VSX.VSPackage.PackageBase.CommandCallback(Object sender, EventArgs e)
Vesko
Telerik team
 answered on 22 Feb 2013
1 answer
120 views
Hi I have a Generic list of items that I want to bind to the DropDownTree. Is it possible to show some items as checked when the list is bound to the Tree? 
Peter Filipov
Telerik team
 answered on 22 Feb 2013
6 answers
597 views
I am buiding my RadGrid in the Code-Behind because it could change upon a post-back. I am adding my columns one at a time and binding them to the columns within my SqlDataSource. One of the types is the GridCheckBoxColumn.

I set the DataField and HeaderText. The DataField is a column that is a BIT type in Sql Server. I even tried TinyInt.

When I run my program I get an error stating 'String was not recognized as a valid Boolean'.

I am setting the RadGrid's DataSourceID to a asp:SqlDataSource that is a select statement.

How do I get around this error?
Kostadin
Telerik team
 answered on 22 Feb 2013
1 answer
38 views
as my case, I used AllowKeyboardNavigation for selection using, when I pass up arrow key, the row will highlight, but the select color is "light", it different to click selection color. As my found out, it is "current row" selection. So my problem is how to deselect that highligh?

my clear row javascript:
 var masterTable = grid.get_masterTableView();
                var row = masterTable.get_dataItems();
                for (var i = 0; i < row.length; i++) {
                    masterTable.get_dataItems()[i].set_selected(false);

my grid client setting:
<ClientSettings AllowColumnHide="True" AllowRowHide="True" AllowKeyboardNavigation="True">
                            <KeyboardNavigationSettings AllowSubmitOnEnter="False" AllowActiveRowCycle="False" />
                            <Selecting AllowRowSelect="True" />
                            <ClientEvents OnKeyPress="OnKeyPress_grdCompany" ></ClientEvents>
                            <ClientEvents OnRowDblClick="OnRowDblClick_grdCompany" ></ClientEvents>
                            <ClientEvents  OnRowSelected="OnRowSelected_grdCompany"></ClientEvents>
                        </ClientSettings>
Eyup
Telerik team
 answered on 22 Feb 2013
1 answer
63 views
Hi,

is there anyone knows if it is possible to have this chart created by Telerik charting product? Any help is appreciated before buying the right charting control.

Regards,

Tamás
Petar Kirov
Telerik team
 answered on 22 Feb 2013
0 answers
191 views
Hi, 
I have a method defined in RadCodeBlock, when i am trying to call it on page load(by pushing my method in _spBodyOnLoadFunctionNames), i am getting error : The value of the property 'MyMethod' is null or undefined, not a Function object.

(Note: I am using RadComboBox with Sharepoint 2010.)

Below is the scenerio:
<telerik:RadCodeBlock ID="RadCodeBlock" runat="server">
    <script type="text/javascript">
            function pageLoad() {
               GetComboBox = function () {
                    var combo = $find("<%= MyRadComboBox.ClientID %>");
                    return combo;
                };
            };
    </script>                    
</telerik:RadCodeBlock>


Method2 = function(){
var combo = GetComboBox(); -->// getting error
// do something
}
 
var index = ko.utils.arrayIndexOf(_spBodyOnLoadFunctionNames, "Method2");
if( index === -1) {
    _spBodyOnLoadFunctionNames.push("Method2");
}

 ERROR : The value of the property 'GetComboBox' is null or undefined, not a Function object.
Dheeraj
Top achievements
Rank 1
 asked on 22 Feb 2013
5 answers
531 views
Hi,

I am using the RadCombobox version 2.1.1/2.2 in an old web application that I need to make updates to.  I am trying to use client side javascript to adjust the width of a RadCombobox using the OnClientDropDownOpening and Closing events.  The Width property does not seem to work for this, I was able to look around the other properties and figured out how to do this, but the scroll bar still displays as the original width.  Two questions, how do I adjust the scroll bar with using jscript and is there another way of displaying only the dropdown items at a larger width, keeping the combo box the same smaller width?  Also, there's got to be another way to adjust the width than what I am doing in the jscript.  Code follows:

    function OnClientDropDownOpening(sender, eventArgs)     
    {     
    sender.S.style.width = 400;  
    }     
 
 
    function OnClientDropDownClosing(sender, eventArgs)     
    {     
    sender.S.style.width = 25;  
    }     
 
 
 
<radc:RadComboBox ID="ddReasonCode" runat="server" width="25" NoWrap="true" OnClientDropDownOpening="OnClientDropDownOpening" OnClientDropDownClosing="OnClientDropDownClosing">     
     <Items>    
    <radc:RadComboBoxItem runat="server" Text="FB - Explosive and Incendiary" Value="FB" ID="FB"/>    
    <radc:RadComboBoxItem runat="server" Text="FE - Poisons (Toxic Chemicals)-Low Degree" Value="FE" ID="FE"/>    
    <radc:RadComboBoxItem runat="server" Text="FW - Diving" Value="FW" ID="FW"/>    
     </Items>    
</radc:RadComboBox>    
 
Nencho
Telerik team
 answered on 22 Feb 2013
0 answers
150 views
Dear Telerik Team,

I updated my telerik version on my computer. After it i updated the visusal studio project too.
In this projet i use the reportviewer to the print page.

After the updating i get the error message: "The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)".  So I download and install the Reporting again. After it i updated my project but i get this error message yet.

I delete reportviewer on the aspx page and set it again. When i debug my project i get the error message again.

Could you help me?

I use .NET 4,5, Visual Studio 2010 and Win7 on my computer.

Thanks!

Z.

Zoltan
Top achievements
Rank 1
 asked on 22 Feb 2013
1 answer
126 views
Hi,

I am having an asp DetailsView control and in order to perform partial page update, I am using it with RadAjax and the issue is that update is not reflected. Can anybody help me with some sample code to demonstrate partial page update using asp DetailsView and RadAjax?

Thanks in advance,
JC.
Shinu
Top achievements
Rank 2
 answered on 22 Feb 2013
1 answer
78 views
I have a scenario where appointments are created for support reps, which are resources, and the list of available reps can be modified on the same page as the RadScheduler, so I need to rebind the resources when the list of available reps is modified.

From what I can tell from reading the docs resources are only loaded on initial page load.

I would prefer to update the resources via client script, and i am using the web service data binding.

Thanks,
Dan
Plamen
Telerik team
 answered on 22 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?