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

Hi Telerik,

Could you advice me the solution to refresh server-sided creating control's panel by radcombobox selectedindex_changed event?

I find the data-related radcomboboxs in your Demos, but it isn't my workflow.

Then I checked that radcombobox with switch on autopostback don't request the server-side.

RadButton's postback works, but it works without Ajax on AdvancedAppointmentForm.

 

With respect, Anatoliy

Plamen
Telerik team
 answered on 18 Dec 2015
13 answers
441 views
Hi,

I am tried to set the AllowedMimeTypes property as shown below, but its not working.
string[] allowedMimeTypes = System.Configuration.ConfigurationManager.AppSettings.Get("epNMAllowableMimeTypes").Split(',');
                if (allowedMimeTypes.Length > 0)
                    RadAsyncUpload1.AllowedMimeTypes = allowedMimeTypes;

In web.cong the Mimetypes are declared as
<add key="epNMAllowableMimeTypes" value="application/pdf,application/msword,application/x-dot,application/vnd.ms-excel,image/tiff,image/png,image/jpeg,image/gif"/>

I am using Telerik.Web.UI.dll(Ver 2010.3.1317.20), IE 7.0 browser, .Net 2.0

I found the below link where something related to this peoperty was fixed.
http://www.telerik.com/products/aspnet-ajax/whats-new/release-history/q3-2010-sp1-version-2010-3-1215.aspx

Thanks,
Raji
Peter Filipov
Telerik team
 answered on 18 Dec 2015
12 answers
175 views

Hello,

Ivan Ivanov, from Telerik, ask me to open up a new thread for this topic, so I will ask my question again:

our data center want to have some automated test scenarios with Microsoft Test Manager (MTM) 2015 and some coded UI tests in Visual Studio 2015. But there is a problem with the Telerik RadComponents in version 2013.2.717.35 of the Telerik.Web.UI. We can create and record the test case without any problems, but if we want to make an automated test, by clicking "run" in the MTM or VS2015, the test failed with an exception (see post attachments).
The Visual Studio seems to be unable to "find" the Telerik components (i.e. RadRadioButton, etc.) and stops the test with an error. As I read in this thread (http://www.telerik.com/forums/vs2010-codedui-test-wont-see-telerik-controls) there seems to be a problem with the MSAA support (https://en.wikipedia.org/wiki/Microsoft_Active_Accessibility) in the Telerik components.

Here is some more background: we don't have the source code of the product which uses the Telerik components, because these components are integrated as third party components in a work flow tool we use. Our goal is to test the workflows, which are based on ASP.NET webpages, so yes we only want to make 1st level testing. But how can we solve the problem with the "hidden" Telerik components and the failing tests?
A sample of one ASP.NET page, we should test, is attached to this post. The coded UI test should "click" the RadRadioButton, but fails to do so.
 

Best Regards
Christian Beermann

 

 

Joana
Telerik team
 answered on 18 Dec 2015
6 answers
137 views

AsyncUpload, the progress just shows as it taking forever to upload and never ends. after update to newest Chrome.

 

here is error showing in attachment

 

 

Nencho
Telerik team
 answered on 18 Dec 2015
1 answer
1.0K+ views

Just passing along a bug that I found with regards to tooltip positioning and IE 11 (I didn't check other versions of IE and it does not happen in Chrome or Firefox).

 

Details:

 If your <body> element is scrollable (vis overflow: auto and a fixed width/height), once you scroll, the tooltip position will be off. The reason is buried deep with Telerik's script code.In PopupScripts.js, the _fixPositionInBounds function, called when the popup tooltip is being shown, the code calls _getViewportBounds, which is this:

 getViewportBounds:function(){var e=$telerik.getClientBounds();

var f=document.documentElement;
var d=document.body;
e.scrollLeft=$telerik.isMobileSafari?window.pageXOffset:($telerik.getCorrectScrollLeft(f)||$telerik.getCorrectScrollLeft(d));
e.scrollTop=$telerik.isMobileSafari?window.pageYOffset:(f.scrollTop||d.scrollTop);
return e;
}

For IE, scrollTop for <body> will be non-0 when scrolled which causes Telerik's popup script to think the tooltip will be positioned off screen so it adjusts. Unfortunately, this adjustment puts the tooltip in the wrong place (vertically much lower than it should be).

 The simple fix for me was to put a containing <div> as a child of <body> and use that <div> to scroll. After I did that all is well. It took me 2 days to figure this out, so posting this here :)

 

- Mike

 

 

Marin Bratanov
Telerik team
 answered on 18 Dec 2015
1 answer
129 views

Hello everyone.

In a multiuser, muticulture project, I have the necessity to save the grid settings.

 I have the following use case:

- One User , with CurrentThread.CurrentCulture == "de-DE", wants to  save the grid setting for a table with a column of type "GridDateTimeColumn".

- User filters for DateTime element. The FilterExpressionValue is something like that :
((CreatedDate >= DateTime.Parse(\"03.12.2015,00:00:00\")) AND (CreatedDate <= DateTime.Parse(\"19.12.2015,23:59:59\")))"

- User saves the grid settings

- User changes his culture to "en-US"

- User loads grid settings

The loaded FilterExpression doesn't work properly because RadGrid expects a DateTime in "en-US" format (MM/dd/yyyy) but get one in "de-DE" (dd.MM.yyyy).

There is the same problem with GridNumericColumn columns.

To solve it I performed the following solution.

I don't save/load directly the FilterExpression string, but on "Save" event i just save the CurrentFilterValue/CurrentFilterFunction for the single columns parsing  GridDateTimeColumn and GridNumericColumn in "InvariantCulture" format.

On "Load" event I load the CurrentFilterValue/CurrentFilterFunction parsing it in culture dependent format, and I generate the FilterExpression joining the FilterExpressions (EvaluateFilterExpression() method) of the single columns.

I wanted to know if it is the best approchor  or there are better solutions.

Konstantin Dikov
Telerik team
 answered on 18 Dec 2015
1 answer
225 views

I have a hierarchy grid and am using templates for the edit forms.  When there are existing records in the child table I am able to add a new record.  If there are no records in the child table the template will not display when I try to add a new record.

 Any suggestions?

Konstantin Dikov
Telerik team
 answered on 18 Dec 2015
1 answer
391 views

I've read a number of other threads that relate to this, but the help article link seems to be outdated. I have an  column that contains a and the text is not exporting. 

I've tried ExportOnlyData="false", but that didn't work. Any ideas would be greatly appreciated.

<telerik:GridTemplateColumn HeaderText="Source" UniqueName="SOURCEDESCRIPTION" ShowFilterIcon="false"
SortExpression="SourceDescription" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true">
    <ItemTemplate>
        <asp:LinkButton ID="lnkSource" runat="server" CausesValidation="false" CommandName="VIEWACTIONITEM"
            CommandArgument='<%# Eval("IssueId") %>' Text='<%# Eval("SourceDescription") %>' ToolTip="View Action Item">                  </asp:LinkButton>
 </ItemTemplate>

</telerik:GridTemplateColumn>

Pavlina
Telerik team
 answered on 17 Dec 2015
2 answers
1.5K+ views

Hi,

 is there a way to have the combobox or textbox act like a textbox with an embedded DDL.

The use case is to allow the user to type in the control like a textbox ... but

when they click into the textbox, a dropdownlist  appears and allows them to select an item if they choose?

 

thanks

 

Eyup
Telerik team
 answered on 17 Dec 2015
1 answer
162 views

Hi  

1.     Does the current release support playing wav files in IE 11? ie does it fall back to a version of a player that will support it (object embed for example). I can't seem to get it to work at present so I suspect not (works in chrome)

2.     If I want to play multiple files automatically what's the best way? I currently load into a playlist but it only auto plays the first. I want it to play them all sequentially without me having to manually start them

 3. Is there a way to raise a server side event when the track has finished playing? I see there is a client event.

Many thanks

Tim

 

Viktor Tachev
Telerik team
 answered on 17 Dec 2015
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?