Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
132 views

W.r.t to Excel like filtering in radgrid. I am trying to call a webservice using -

ADMIN: Code removed upon OP request.

Requirement : To use Webservice , I have 40 columns so planning to send Column name as a context to WS method and reuse the select query for all..
eg)

 

ADMIN: Code removed upon OP request.

Marin Bratanov
Telerik team
 answered on 19 Jan 2017
3 answers
96 views

I have map with two layers (shapes and bubbles).

Seems i can use tooltips only on active layer

Any recommendations?

Thank you

David
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 19 Jan 2017
7 answers
385 views
Is there a way to get the RadAsyncUpload work in a modal jQuery ui dialog?

~ Matt

 

 

 

    <script type="text/javascript">  
        $(document).ready(function () {  
            $("#uploadImageDialog").dialog({  
                autoOpen: false, modal: false, resizable: false, height: 200, width: 450,  
                title: 'Bild hochladen'  
            });  
 
            $('#uploadImageDialogOpener').click(function () {  
                $("#uploadImageDialog").dialog('open');  
            });  
        });  
    </script> 
    <div id="uploadImageDialog" style="width: auto;">  
          
        <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" AllowedFileExtensions="jpg" 
                            ControlObjectsVisibility="None" Culture="German" EnableFileInputSkinning="False" 
                            MaxFileInputsCount="10"  AutoAddFileInputs="False">  
                            <Localization Remove="Entfernen" Select="Auswählen" /> 
                        </telerik:RadAsyncUpload> 
          
    </div> 
Veselin Tsvetanov
Telerik team
 answered on 19 Jan 2017
4 answers
121 views

Hi,

I have added  RadPivotGrid to my vb.net page and RadPersistenceManager . I managed to save and load the user current state with the following:
 RadPersistenceManager1.StorageProviderKey = fileId
  RadPersistenceManager1.SaveState()

However, I need to get the XML and save the XML in the db and then load the xml when user clicks the load button.
How do I load and save XML from database?

Thanks

newp
Top achievements
Rank 1
 answered on 19 Jan 2017
1 answer
328 views

Hi

 

I am looking to write a custom aggregate that sums a column but excludes certain rows.

On this grid there are 2 groups applied. I have the sum working for the first level of groups but not the total of the second group level or the total of the whole grid

They just seem to show the values of the row above

 

Any ideas? 

 

 Private Sub grid_CustomAggregate(sender As Object, e As GridCustomAggregateEventArgs)
        Dim total As Decimal = 0
        if TypeOf (e.item) is GridGroupFooterItem then
            If TryCast(e.Column, GridBoundColumn).DataType = GetType(Decimal) Then
                For Each groupHeader As GridGroupHeaderItem In _grid.MasterTableView.GetItems(GridItemType.GroupHeader)
                    Dim children As GridItem() = groupHeader.GetChildItems()
                    total = 0
                    For Each gridDataItem As GridItem In children
                        Dim item As GridDataItem = TryCast(gridDataItem, GridDataItem)
                        If TypeOf (item) Is GridDataItem Then
                            If item("exclude").Text <> "True" Then
                                total = total + CDec(item(e.Column.UniqueName).Text)
                            End If
                        End If
                    Next
                Next
            End If
        End If
        e.Result = total
    End Sub

Konstantin Dikov
Telerik team
 answered on 19 Jan 2017
3 answers
132 views

Hey, I'm having trouble getting a grid to popup inside the radwindow. getting the error- Object reference not set to an instance of an object.

I have a button that upon being clicked rebinds the chart and sets the popBlueBoxSales.VisibleOnPageLoad = true;

The controls are all properly updated in the AjaxSettings.

Here is the radwindow and grid. Thanks for the help!

<telerik:RadWindow ID="popBlueBoxSales" runat="server" Width="300px" Modal="true" Height="300px" Title="Description">
            <ContentTemplate>
                <telerik:RadGrid runat="server" ID="grdBlueBoxSalesQ" Height="270px" Width="90%" AllowPaging="true" OnItemCommand="grdBlueBoxSalesQ_ItemCommand" AllowSorting="true" Font-Size="Small" OnNeedDataSource="grdBlueBoxSalesQ_NeedDataSource" Visible="true" style="height:auto; margin-bottom:2%; margin-left:5%">
                    <ClientSettings AllowColumnsReorder="true" AllowExpandCollapse="true" Selecting-AllowRowSelect="true" ReorderColumnsOnClient="true">
                        <Resizing AllowRowResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="True"
                        AllowColumnResize="True"></Resizing>
                    </ClientSettings>
                        <MasterTableView CommandItemDisplay="Bottom" PageSize="5" AutoGenerateColumns="false">
                            <CommandItemTemplate>
                              <div style="float: right">
                              <asp:LinkButton ID="btnExportExcel" runat="server" CommandName="Export" >
                              <asp:Image runat="server" BorderStyle="None" ImageUrl="~/Images/Export.png" Width="16px" />&nbsp;Excel Export</asp:LinkButton>
                              </div>
                            </CommandItemTemplate>
                        <PagerStyle Mode="NextPrevAndNumeric" PageSizes="3,5,10" />
                   <Columns>
                                <telerik:GridBoundColumn DataField="ProjectDescription" HeaderText="Project Description" AutoPostBackOnFilter="True"
                                SortExpression="" CurrentFilterFunction="StartsWith"  />
                             </Columns>
                     </MasterTableView>
                 </telerik:RadGrid>
            </ContentTemplate>
        </telerik:RadWindow>

Vessy
Telerik team
 answered on 18 Jan 2017
3 answers
840 views

Hello.  I have a form with two drop down lists, one to select a month and another to select a year.  However, I cannot get them to drop down so the user can make a selection.  I have checked to make sure they are enabled and that they have items.  What could be causing this?  The other fields on the form (text boxes and buttons) work just fine.

Here is a snippet from my aspx file:

<div class="row">
     <label class="col-md-3 text-right"><span class="required">*</span> Expiration Date</label>
     <div class="col-sm-9">
          <Telerik:RadDropDownList ID="ddlMonth" DefaultMessage="Month" CssClass="form-control forgotten_txt" runat="server" Width="135px" DropDownHeight="200px" DropDownWidth="135px"></Telerik:RadDropDownList>
          <asp:RequiredFieldValidator runat="server" ControlToValidate="ddlMonth" CssClass="alert-warning" ErrorMessage="(Required)" ValidationGroup="paymentprofile"></asp:RequiredFieldValidator>
          <Telerik:RadDropDownList ID="ddlYear" DefaultMessage="Year" CssClass="form-control forgotten_txt" runat="server" Width="135px" DropDownHeight="200" DropDownWidth="135"></Telerik:RadDropDownList>
          <asp:RequiredFieldValidator runat="server" ControlToValidate="ddlYear" CssClass="alert-warning" ErrorMessage="(Required)" ValidationGroup="paymentprofile"></asp:RequiredFieldValidator>
          <asp:Label ID="lblErrorMessage" runat="server" CssClass="alert-warning"></asp:Label>
     </div>
</div>

In the code behind during page load, the following routine populates the month drop down list.  A similar routine is used for the year list.

Sub bindMonthDropdownlist()
    Dim item As DropDownListItem
    For month As Integer = 1 To 12
        item = New DropDownListItem()
        Dim monthName As String = Globalization.DateTimeFormatInfo.CurrentInfo.GetMonthName(month)
        item.Text = month.ToString("00") & " " & monthName
        item.Value = If(month < 10, "0" + month.ToString(), month.ToString())
        ddlMonth.Items.Add(item)
    Next
End Sub

The form is in a <div> that is initially hidden (visible="false").  I don't think that should make any difference, but I thought I should mention it.

I have tried removing the required field validator, populating the drop box lists using a table, but nothing seems to work.

Any suggestions would be greatly appreciated.

 

John
Top achievements
Rank 1
 answered on 18 Jan 2017
3 answers
129 views

I am running VS2017 RC and when I try to install the Telerik ASP.NET AJAX 2016.5.1111.0  extension, it fails to install with an error.   Below is the text from the install log

 

12/27/2016 5:18:49 AM - Microsoft VSIX Installer
12/27/2016 5:18:49 AM - -------------------------------------------
12/27/2016 5:18:49 AM - vsixinstaller.exe version:
12/27/2016 5:18:49 AM - 15.0.26014.0 built by: D15REL
12/27/2016 5:18:49 AM - -------------------------------------------
12/27/2016 5:18:49 AM - Command line parameters:
12/27/2016 5:18:49 AM - C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VSIXInstaller.exe,C:

\Users\e0019249\Downloads\Telerik.Web.UI.VSPackage.vsix
12/27/2016 5:18:49 AM - -------------------------------------------
12/27/2016 5:18:49 AM - Microsoft VSIX Installer
12/27/2016 5:18:49 AM - -------------------------------------------
12/27/2016 5:18:49 AM - Initializing Install...
12/27/2016 5:18:49 AM - Extension Details...
12/27/2016 5:18:49 AM - Identifier         : 057d8865-d4bb-46e8-b71e-e24fed08f4b9
12/27/2016 5:18:49 AM - Name               : Telerik ASP.NET AJAX VSExtensions
12/27/2016 5:18:49 AM - Author             : TelerikInc
12/27/2016 5:18:49 AM - Version            : 2016.5.1111.0
12/27/2016 5:18:49 AM - Description        : Telerik UI for ASP.NET AJAX VSExtensions
12/27/2016 5:18:49 AM - Locale             : en-US
12/27/2016 5:18:49 AM - MoreInfoURL        : https://visualstudiogallery.msdn.microsoft.com/4762f91c-c69f-43dc-

8a69-2ec4ab27c610
12/27/2016 5:18:49 AM - InstalledByMSI     : False
12/27/2016 5:18:49 AM - SupportedFrameworkVersionRange : [4.0,)
12/27/2016 5:18:49 AM - 
12/27/2016 5:18:49 AM - SignatureState     : Unsigned
12/27/2016 5:18:49 AM - Supported Products : 
12/27/2016 5:18:49 AM - Microsoft.VisualStudio.Pro
12/27/2016 5:18:49 AM - Version : [11.0,16.0)
12/27/2016 5:18:49 AM - 
12/27/2016 5:18:49 AM - References         : 
12/27/2016 5:18:49 AM - -------------------------------------------------------
12/27/2016 5:18:49 AM - Identifier   : Microsoft.VisualStudio.MPF
12/27/2016 5:18:49 AM - Name         : Visual Studio MPF
12/27/2016 5:18:49 AM - Version      : [11.0,16.0)
12/27/2016 5:18:49 AM - MoreInfoURL  : 
12/27/2016 5:18:49 AM - Nested       : No
12/27/2016 5:18:49 AM - 
12/27/2016 5:18:49 AM - -------------------------------------------------------
12/27/2016 5:18:49 AM - Identifier   : d4f5086c-54b9-4b07-bd22-af72d5b9228f
12/27/2016 5:18:49 AM - Name         : Telerik.CommonPackage
12/27/2016 5:18:49 AM - Version      : 
12/27/2016 5:18:49 AM - MoreInfoURL  : 
12/27/2016 5:18:49 AM - Nested       : Yes
12/27/2016 5:18:49 AM - 
12/27/2016 5:18:49 AM - -------------------------------------------------------
12/27/2016 5:18:49 AM - Identifier   : 94c35263-71d0-4f81-886e-c1e23ea9c837
12/27/2016 5:18:49 AM - Name         : Telerik UserSettings VSExtensions
12/27/2016 5:18:49 AM - Version      : 
12/27/2016 5:18:49 AM - MoreInfoURL  : 
12/27/2016 5:18:49 AM - Nested       : Yes
12/27/2016 5:18:49 AM - 
12/27/2016 5:18:49 AM - Prerequisites      : 
12/27/2016 5:18:49 AM - -------------------------------------------------------
12/27/2016 5:18:49 AM - Identifier   : Microsoft.VisualStudio.Component.Web
12/27/2016 5:18:49 AM - Name         : Web development tools
12/27/2016 5:18:49 AM - Version      : [15.0,16.0)
12/27/2016 5:18:49 AM - 
12/27/2016 5:18:49 AM - Signature Details...
12/27/2016 5:18:49 AM - Extension is not signed.
12/27/2016 5:18:49 AM - 
12/27/2016 5:18:49 AM - Searching for applicable products...
12/27/2016 5:18:49 AM - Found installed product - Microsoft Visual Studio Enterprise 2015
12/27/2016 5:18:53 AM - An extension with a matching Identifier is already installed to this product.
12/27/2016 5:18:53 AM - Found installed product - Microsoft Visual Studio Professional 2015
12/27/2016 5:18:56 AM - An extension with a matching Identifier is already installed to this product.
12/27/2016 5:18:56 AM - Found installed product - Microsoft Visual Studio Community 2015
12/27/2016 5:19:00 AM - An extension with a matching Identifier is already installed to this product.
12/27/2016 5:19:00 AM - Found installed product - Microsoft Visual Studio 2015 Shell (Integrated)
12/27/2016 5:19:00 AM - Found installed product - Global Location
12/27/2016 5:19:00 AM - Found installed product - ssms
12/27/2016 5:19:00 AM - Found installed product - ssms
12/27/2016 5:19:00 AM - Found installed product - Visual Studio Enterprise 2017 RC
12/27/2016 5:19:03 AM - The extension with ID '057d8865-d4bb-46e8-b71e-e24fed08f4b9' is not installed to Visual Studio 

Enterprise 2017 RC.
12/27/2016 5:19:08 AM - The following target products have been selected...
12/27/2016 5:19:08 AM - Visual Studio Enterprise 2017 RC
12/27/2016 5:19:08 AM - 
12/27/2016 5:19:11 AM - Beginning to install extension to Visual Studio Enterprise 2017 RC...
12/27/2016 5:19:11 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64 declares Chip=x64, but package 

Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64 doesn't declare a chip
12/27/2016 5:19:11 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:11 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:11 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:11 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:11 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:11 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:11 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:11 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:11 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:11 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:11 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:11 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:11 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:11 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:11 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.Extensions.X64 declares Chip=x64, but package 

Microsoft.VisualCpp.CodeAnalysis.Extensions.X64 doesn't declare a chip
12/27/2016 5:19:12 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64 declares Chip=x64, but package 

Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64 doesn't declare a chip
12/27/2016 5:19:12 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:12 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:12 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:12 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:12 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:12 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:12 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:12 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:12 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:12 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:12 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:12 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:12 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:12 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources declares Chip=x64, but 

package Microsoft.VisualCpp.CodeAnalysis.ConcurrencyCheck.X64.Resources doesn't declare a chip
12/27/2016 5:19:12 AM - Dependency Microsoft.VisualCpp.CodeAnalysis.Extensions.X64 declares Chip=x64, but package 

Microsoft.VisualCpp.CodeAnalysis.Extensions.X64 doesn't declare a chip
12/27/2016 5:19:12 AM - Install Error : Microsoft.VisualStudio.ExtensionManager.NestedExtensionInstallException: The 

extension 'd4f5086c-54b9-4b07-bd22-af72d5b9228f' nested within '057d8865-d4bb-46e8-b71e-e24fed08f4b9' failed to install.
Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an 

instance of an object.
   at Microsoft.VisualStudio.ExtensionManager.InstallableExtensionImpl.RefreshExtractedPackageStream(IInstalledExtension 

parentExtension, IExtensionReference reference)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallNestedExtensions(InstallableExtensionImpl 

parentExtension, IInstalledExtension installedParentExtension, ZipPackage parentVSIX, InstallFlags installFlags, 

IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList 

modifiedInstalledExtensionsList, AsyncOperation asyncOp, IProgress`1 progress)
   --- End of inner exception stack trace ---
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallNestedExtensions(InstallableExtensionImpl 

parentExtension, IInstalledExtension installedParentExtension, ZipPackage parentVSIX, InstallFlags installFlags, 

IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList 

modifiedInstalledExtensionsList, AsyncOperation asyncOp, IProgress`1 progress)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.PerformLegacyInstall(InstallableExtensionImpl extension, 

IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList 

modifiedInstalledExtensionsList, IProgress`1 progress, InstallFlags installFlags, AsyncOperation asyncOp, Boolean 

isPackComponent, IInstalledExtension& newExtension)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.PerformSetupEngineInstall(InstallableExtensionImpl 

extension, Boolean installPerMachine, Boolean isPackComponent, IDictionary`2 extensionsInstalledSoFar, List`1 

extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, IProgress`1 progress, InstallFlags 

installFlags, AsyncOperation asyncOp, IInstalledExtension& newExtension)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallInternal(InstallableExtensionImpl extension, 

InstallFlags installFlags, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, 

IInstalledExtensionList modifiedInstalledExtensionsList, AsyncOperation asyncOp, IProgress`1 progress)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.BeginInstall(IInstallableExtension installableExtension, 

InstallFlags installFlags, AsyncOperation asyncOp)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallWorker(IInstallableExtension extension, 

InstallFlags installFlags, AsyncOperation asyncOp)

 

Momchil
Telerik team
 answered on 18 Jan 2017
1 answer
75 views

Hi

I hava a problem with DropDownTree. 

When I Navigate with arrow keys between Items and Select 1 item with Pressing enter key Display Duplicate Item Text that Seperate with  ,

also I have RadAjaxManagerProxy on my page

and Version of Telerik is 2016.3.1027.45

Please help me what do I should do

Thanks

 

Ivan Danchev
Telerik team
 answered on 18 Jan 2017
4 answers
871 views

I am trying to create a RadGrid that shows RadDropDownList in both ItemTemplate and EditTemplate.

When the user clicks on the the dropdown list in ItemTemplate mode and changes the selected item and then clicks off the grid to collapse the dropdown list, the red icon does not appear in the top corner of the cell to show a change has been. When the grid is saved the changes are not saved and the value remains the same as it was before the user made the change.

However if the user clicks on the actual cell (the space on the side of the dropdown list in the same column) then changes the selected item, the red icon appears and the change is saved as expected.

I'm assuming this is because the grid only enters batch edit mode when the cell is clicked but when the dropdown list itself is clicked it remains in the ItemTemplate and shows the dropdown list that is in ItemTemplate mode.

What is the fix for this?

Code:

<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="sqlDisplayRegisters" AllowSorting="True" AutoGenerateColumns="False" ShowStatusBar="True"
    AllowFilteringByColumn="false" OnItemCommand="RadGrid1_ItemCommand" OnBatchEditCommand="RadGrid1_BatchEditCommand">
    <GroupingSettings CaseSensitive="false" />
    <MasterTableView AutoGenerateColumns="False" DataSourceID="sqlDisplayRegisters" DataKeyNames="RegID" EditMode="Batch" CommandItemDisplay="Bottom"
        NoMasterRecordsText="There are no registers for this selection" >
        <CommandItemSettings ShowAddNewRecordButton="false"  SaveChangesText="Submit Register" ShowCancelChangesButton="false" ShowRefreshButton="false"  />
        <CommandItemStyle Font-Size="Larger"/>
            <Columns>
                <telerik:GridBoundColumn HeaderStyle-Width="10%" DataType="System.String" DataField="P_Forename" HeaderText="Forename"
                    SortExpression="P_Forename" UniqueName="P_Forename" ReadOnly="true"></telerik:GridBoundColumn>
                <telerik:GridTemplateColumn FilterControlWidth="60%" DataField="Mark" FilterControlAltText="Filter Mark column"
                    HeaderText="Mark" UniqueName="Mark" SortExpression="Mark" DataType="System.String">
                    <HeaderStyle Width="80px" HorizontalAlign="Left" />
                    <ItemTemplate>
                         <telerik:RadDropDownList runat="server" ID="ddlMarkItem" DataSourceID="SqlDataSource1" DataValueField="Code" DataTextField="Description"
                             SelectedValue=<%# Eval("Mark") %> >
                        </telerik:RadDropDownList>
                    </ItemTemplate>
                    <EditItemTemplate>
                         <telerik:RadDropDownList runat="server" ID="ddlMarkEdit" DataSourceID="SqlDataSource1" DataValueField="Code" DataTextField="Description">
                        </telerik:RadDropDownList>                                   
                    </EditItemTemplate>
                </telerik:GridTemplateColumn>
            </Columns>
    </MasterTableView>
    <ClientSettings>
        <Selecting AllowRowSelect="true" />
    </ClientSettings>
</telerik:RadGrid>
Viktor Tachev
Telerik team
 answered on 18 Jan 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?