Quantcast
Channel: Telerik Forums RSS
Viewing all 81499 articles
Browse latest View live

Expose ReportController Errors

$
0
0

Hi,

I've been seeing this issue for a long time, but I can't seem to find where to log the errors that are being thrown when users are generating reports with the WebAPI/HTML5 report viewer.

I see tons of exceptions happening that look like this:

* /api/reports/clients/094113-ecd1/instances/094113-5731/documents/094113-aabb094141-da97 - 500 Internal Server Error

* /api/reports/clients/094843-e940/instances/095003-e56b/documents/095003-5023095009-20af - 500 Internal Server Error

* /api/reports/clients/112823-f291/instances/113024-cb46/documents/113024-837d113030-be3d - 500 Internal Server Error

* /api/reports/clients/112823-f291/instances/113219-b3dd/documents/113219-bc2d113229-8387 - 500 Internal Server Error

Is there anything I can do to catch these? Is it as simple as adding a filter to catch the webapi unhandled exceptions and logging them?

 


Rotator Styling

$
0
0

I've bumped up against an issue where in the basic rotator, my button on the right overlaps the content.  This happens only in Chrome, and it looks fine in all other browsers.  I haven't added any styling and I'm doing it on a blank test page.  So either the existing default styling is off, or there is some setting (like my widths?)  that I need to adjust.  Any help is appreciated.

 

 

<telerik:RadRotatorRenderMode="Lightweight"ID="RadRotator1"OnItemDataBound="RadRotator1_ItemDataBound"runat="server"Width="930px"Height="200px"
                            RotatorType="Buttons"  ItemHeight="200"ItemWidth="896"   >
    <Items>
        <telerik:RadRotatorItem></telerik:RadRotatorItem>
    </Items>
     <ItemTemplate>
           test test test
    </ItemTemplate>
</telerik:RadRotator>

Change Formatting Style Of The Menu

$
0
0

Hi Magdalena

Thanks for the video, and I get exacty the same result running the page on my machine.

I don't have any support ticket credits available to me so I can't send a running example, but in any case when I paused on the demo, and zoomed in, I could still see a slight grey border (see attached screenshot), but it is not very noticeable on a white background.

However when I added a div round the menu in your demo to put the menu on the same blue background as here:

<div style="height:40px; background-color: #005daa; padding-top:3px; padding-left:10px;">

        <telerik:RadMenu runat="server" Skin="Glow" RenderMode="Classic">
            <Items>
                <telerik:RadMenuItem Text="Item" />
                <telerik:RadMenuItem Text="Item" />
                <telerik:RadMenuItem Text="Item" />
                <telerik:RadMenuItem Text="Item" />
                <telerik:RadMenuItem Text="Item" />
            </Items>
        </telerik:RadMenu>

</div>

I get a more conspicuous (darker border) border. See attached screenshot.

It seems like the border of some kind is still there.

 

Thanks for your support!

 

Clive

 

Telerik.Web.UI.InsecureExternalStyleSheetException

$
0
0
<addkey="Telerik.ScriptManager.TelerikCdn"value="Disabled"/>
<addkey="Telerik.Skin"value="Default"/>
<addkey="Telerik.StyleSheetManager.TelerikCdn"value="Disabled"/>
<addkey="Telerik.Web.UI.StyleSheetFolders"value="~/Content;~/Scripts"/>

Master Test Failing

$
0
0

I have a bunch of tests that are more or less used to open my application, browse through it, run a specific database query, and then using some custom-code files with a self-made object, I test the query against another file which will return true or false (depending on whether or not the files are identical in the data that they hold).

In my tests, I use an assert to call the function and fail my coded step depending on if the values are different.

Now my real problem is, I have a "master test" which I use to "Test As Step" all my tests so they run one after the next...instead of me having to go through and run each test manually, I can walk away and not worry about them not getting done.

When I run my tests individually, my coded step can pass (the Assert is not thrown).

When I run my master, my coded steps (and therefore those tests) can pass, AS LONG AS any of the previous "Test As Step"'s haven't failed on the coded step. If a single "Test As Step" fails, every subsequent "Test As Step" fails on their individual coded steps.

Each test has it's own objects instantiated with the new keyword which are compared...so I can't see it being data in the objects still in a new test...? Not really sure what else the problem could be though. Any push in the right direction would be greatly appreciated...

FileBrowserContentProvider - TreeView Performance

$
0
0
Hi Petar,

I am afraid that the desired loading cannot be achieved with the current implementation of FileExplorer. By design the control loads the first level children of each loaded folder in order to know whether it is empty or not (showing a plus sign before the folder icon).

The optimal solution I can suggest you is remove the TreeView from the visible controls of your FileExplrorer, enabling the Upper folder navigation, so the clients will be able to navigate through the folders of the control:
<telerik:RadFileExplorer ID="RadFileExplorer1" runat="server" VisibleControls="AddressBox,ContextMenus,FileList,Grid,ListView,Toolbar"DisplayUpFolderItem="true" >
    <Configuration ViewPaths="~/Images" UploadPaths="~/Images" DeletePaths="~/Images" />
</telerik:RadFileExplorer>


Regards,
Vessy
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.

Save the edit in server.

$
0
0
Hi Arikkan,

When the ImageEditor is used in CanvasMode (enabled by default) all applied changes are kept on the client. The only way to pass the changed image to the server and save it is to use the ImageEditor's client-side saveImageOnServer() method and move the server side logic of your saving button to the ImageEditor's ImageSaving event handler.

You can examine a live implementation of a similar approach in the following ImageEditor's demo:
http://demos.telerik.com/aspnet-ajax/imageeditor/examples/customsaving/defaultcs.aspx

Regards,
Vessy
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.

Collapsing or expanding panel causes page jump to top on mobile devices

$
0
0

Thank you very much for your response.  I played around with your Dojo example, and was able to replicate the issue using the Chrome emulator, by modifying the code to better match our actual environment.  The issue still doesn't occur when running "normally", only when using the Chrome mobile emulator.  The changes I made are as follows:

- Added a meta "viewport" tag into the header

- The Grid is initialized from an existing HTML table, as opposed to dynamically from a datasource into a div tag.

- Added two columns to the grid, one of which is hidden, and added set widths to the columns so it will scroll horizontally.

These changes are saved in the Dojo link, the new link is here: http://dojo.telerik.com/iFUho/4 .  

 

Thank you very much for your time!

Trent


Expand/Collapse issues using Grouping

$
0
0

Sorry to be bringing up such and old post back from the dead, but this isn't working for me.

I am putting the relevant code below, with a few things removed for clarity.

I can walk through with a debugger, and I know that the .expanded property is getting set correctly, but i can't get it to work.

<uc1:CommonGridID="myGrid"runat="server"EnableEmbeddedSkins="False"
    ShowStatusBar="true"
    AutoGenerateColumns="false"
    ClientSettings-AllowGroupExpandCollapse="true"
    ClientSettings-Selecting-AllowRowSelect="True"
    AllowMultiRowSelection="True"
    AllowAutomaticUpdates="True"
    AllowAutomaticInserts="False"
    AllowAutomaticDeletes="False"
    AutoGenerateEditColumn="False">   
     
    <MasterTableViewAutoGenerateColumns="False"
        Summary="Measure Categories"
        DataKeyNames="CategoryId,CategoryName"
        AllowSorting="true"
        AllowNaturalSort="false"
        ShowHeadersWhenNoRecords="True"
        GroupLoadMode="Client"
        CommandItemDisplay="None"
        GroupsDefaultExpanded="false">

protectedvoidPage_PreRender(objectsender, EventArgs e)
{
    foreach(GridGroupHeaderItem groupHeader inmyGrid.MasterTableView.GetItems(GridItemType.GroupHeader))
    {
        var children = groupHeader.GetChildItems();
        var expanded = false;
 
        foreach(GridDataItem child inchildren)
        {
            if(child.Selected)
            {
                expanded = true;
                break;
            }
        }
        groupHeader.Expanded = expanded;
    }
    myGrid.Rebind();
}

Cannot run Fiddler in WS 2012 - Unable to use NetIsoEnumAppContainers to get AppContainer list. WinConfig button cannot be run

$
0
0
Hi,

Well, actually you should be stopping the Windows Firewall Service. Rather unfortunately there is not much else you can do. 

Please, have a look at this - http://www.telerik.com/forums/fiddler-not-working-with-windows-store-apps-on-windows-8-1#iYIQNbExAUaJCCNnnm6ITQ

Regards,
Tsviatko Yovtchev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items

Interaction trigger for FilterDescriptors events

$
0
0

I am using Interaction triggers to Data bind the Data filter event to Relay commands in view model, I can do this for FilterOperatorsLoading event that is directly in DataFilter but i need to listen to 2 other events that are in FilterDescriptors.

This event works:

<i:EventTrigger EventName="FilterOperatorsLoading">
                    <cmd:EventToCommand Command="{Binding FilterOperatorsLoadingCommand}" PassEventArgsToCommand="True" />
</i:EventTrigger>

How can do that same for RadDataFilter.FilterDescriptors.CollectionChanged and RadDataFilter.FilterDescriptors.ItemChanged event

Thanks

vikas mittal

Problem with date format

$
0
0

http://dojo.telerik.com/eXOJU/3

Essentially all I did was replace your $scope.dateString = "05-Apr-2016"; with $scope.dateString = "2016-04-13T04:00:00.000Z"; which is how the date is received from the webapi as indicated in the original post.  With this date format nothing is appearing in the date picker.l

Custom filter not persisting

$
0
0

Thank you Helen. I found that same posting earlier. It went a long ways towards helping me save only certain elements of the options. I found a workaround for the stringify issue by levering the JSONfn plugin

Regards,
Steve.

Tabbing not working for Numeric Textbox inside RadGrid

$
0
0

Big thanks! This fixed a postback refocus issue i was having, even solved the same issue when clicking from control to another control.

Been searching for about half a day and finally found this!

 

 

MultiSelect in custom filter

$
0
0

How would I go about adding multi-select functionality to a custom filter?

columns.Bound(c => c.InventoryStatus).Title("Inventory Status").Filterable(filterable => filterable.UI("inventoryStatusFilter"));

function inventoryStatusFilter(element) {
    element.kendoDropDownList({
        dataSource: {
            transport: {
                read: "@Url.Action("FilterMenuCustomization_InventoryStatus")"
            }
        }
    });
}

Thanks in advance!

Steve.

 

 


How to change text forecolor inside the textbox

$
0
0

Hi there, 

I have been trying to set DropDownList and CheckedDropDownList's text forecolor property (text inside the textbox, not the text items on the dropdownlist), but could not be able to. I have tried:

dropDownList.DropDownListElement.EditableElement.ForeColor = Color.Red;

radCheckedDropDownList.DropDownListElement.EditableElement.ForeColor = Color.Red;

and 

((Telerik.WinControls.UI.RadTextBoxItem)(dropDownList.GetChildAt(0).GetChildAt(2).GetChildAt(0).GetChildAt(0).GetChildAt(0))).ForeColor = Color.Red;

But they did not work. May I know how I can set the text color in the textbox, please? Thank you! 

RadBinaryImage databound within RadImageGallery

$
0
0

Hi Kostadin,

I ended up doing the following to get it to work (mostly) this is a method called on Page_Load:

private void displayFullContent() {
  if (presentationSlideEntity.Slide.Extension.Contains("mp4")) {
    // this is where the video would be added.
  } else {
    ImageGalleryItem gItem = new ImageGalleryItem();
    gItem.ImageDataValue = presentationSlideEntity.Slide.FullContent;
    PresentationView_RadImageGallery.Items.Add(gItem);
  }
}

 

The remaining issues are as follows:

1. On page load, the first image does not display. Instead it displays the text 'Main Image'. If I click next, the second image displays, if I click previous, then the first image loads correctly.

2. Cannot get video to load. You can see in the above if statement, I would assume a RadMediaPlayer would need to be created and added to a ImageGalleryTemplateItem, but have not been able to achieve this.

 

Any additional help is very much appreciated.

Web API testing in Test studio

$
0
0

can we use telerik for API testing. Please let me know is it possible or not.

 

Thanks

data-value-update="keyup"

$
0
0

I'm required to support both of the following requests for a location search UI:

1. Bind and update state (required, enabled, etc) after each key press.

2. Do the same after right-click+paste.

Does the response to this thread still apply today?  http://www.telerik.com/forums/model-is-not-updated-when-text-is-inserted-by-mouse-paste-bug

Is there a way to get these working with a single data-value-update setting, rather than resorting to jquery events for each field?

Also, I can't find any documentation on what values are supported for data-value-update.  Are there any other options?

Thanks!

context parameter received by FilterCheckListWebServiceMethod

$
0
0

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

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) FilterCheckListWebServiceMethod="LoadDistinctValues"

 

[WebMethod] public RadComboBoxItemData[] LoadDistinctValues(Dictionary<string, object> context)

{    

   IDictionary<string, object> contextDictionary = (IDictionary<string, object>)context;

   ........ The following context is NULL

 

Sample:

  <telerik:RadGrid ID="rd" runat="server" AllowFilteringByColumn="true" FilterType="HeaderContext" EnableHeaderContextMenu="True"
                         EnableHeaderContextFilterMenu="True" AllowPaging="True" PageSize="35"
                         AllowSorting="true" Width="100%" >
                <PagerStyle Mode="Slider" Position="TopAndBottom" PageSizes="100,200,400,500" AlwaysVisible="True" />
                <ClientSettings Scrolling-AllowScroll="true" Scrolling-UseStaticHeaders="true"  EnableRowHoverStyle="true">
                    <DataBinding Location="loadOnDemand.asmx" SortParameterType="Linq" FilterParameterType="Linq">
                    </DataBinding>
                </ClientSettings>
   <MasterTableView CommandItemDisplay="Top" DataKeyNames="ID" HorizontalAlign="NotSet" EditMode="Batch" AutoGenerateColumns="False"
                             AllowAutomaticDeletes="False" Font-Size="9" FilterItemStyle-HorizontalAlign="Center" Width="100%"
                             TableLayout="Fixed" CheckListWebServicePath="loadOnDemand.asmx">

                    <telerik:GridBoundColumn DataField="VERIFIEDBY" HeaderText="Verified By" ColumnEditorID="ceVERIFIEDBY"
                                             SortExpression="VERIFIEDBY" UniqueName="VERIFIEDBY"
                                             AutoPostBackOnFilter="true" CurrentFilterFunction="StartsWith"
                                             FilterControlWidth="80px" HeaderStyle-Width="140px" FilterCheckListWebServiceMethod="LoadDistinctValues"  >
                    </telerik:GridBoundColumn>

Viewing all 81499 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>