Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
561 views

When converting a project from VS 2003 up to VS 2013 I'm getting the following error at runtime:

 

Derived method 'get_IsEmpty' in type 'Telerik.WebControls.InputStyle' from assembly 'RadInput, Version=2.1.3.0, Culture=neutral, PublicKeyToken=a1432cd341173140' cannot reduce access.

 Anyone have any idea what this issue would refer to?

Thanks,
Cory

Vasil
Telerik team
 answered on 15 Sep 2015
1 answer
76 views

We use the RadEditor in our web application to allow non-technical users create/edit simple HTML content using the Design view. However, it seems the HTML generated by the design view is buggy or inconsistent causing numerous complaints from our end users. I am wondering if there are any properties or filters that could be applied to make the end user experience more predictable.

Normally we are very happy with all Telerik AJAX controls. Therefore we have switched recently from CuteSoft editor to RadEditor. However, the experience with RadEditor has been very bad, ​to the point we have received numerous requests from our users to switch back to CuteSoft control to make the system more stable again.

Here is an example:

Using the Design View create a bulleted list (basically UL LI construct) containing 3 bullets: Link1, Link2, Link3. Using the designer, set the Link1, Link2 and Link3 to the following URLs “http://link1.com”, “http://link2.com”, “http://link3.com”.

This will create the following HTML syntax. So far so good...

<ul>
    <li><a href="http://link1.com">Link 1</a></li>
    <li><a href="http://link2.com">Link 2</a></li>
    <li><a href="http://link3.com">Link 3</a></li>
</ul>

Then using the Design view, highlight the entire text and change color to RED.

For whatever reason, the span construct is applied differently to each LI. In some cases it is added outside of the Anchor element, in other cases it is included inside of the Anchor element. It produces the following output (see how link1 anchor is different from link2 anchor) - although we tried more than once and sometimes 2 out of 3 LI elements have correct format....

<ul>
    <li><a href="http://link1.com"><span style="color: #c00000;">Link 1</span></a></li>
    <li><span style="color: #c00000;"><a href="http://link2.com">Link 2</a></span></li>
    <li><span style="color: #c00000;"><a href="http://link3.com">Link 3</a></span></li>
</ul>

In that situation, in the DESIGN view, it is impossible to change the color of link2 or 3 since the span color is outside of the Anchor element. Note: I was able to reproduce the same exact behavior on your demo site http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx in both Chrome and IE11.

Again, non-technical users don't understand this problem. The steps they follow seem logical, yet the output is inconsistent. There are many other cases like this one, so the problem is not specific to UL LI and Anchor syntax.

Please advise on a possible solution.

Ianko
Telerik team
 answered on 15 Sep 2015
3 answers
176 views

Hi, 

I currently use the RadRating control to display the % of efficacity of our staff.

 Converting my value to % is easy to reflect this in a 5 stars precision. (i.e: 0.95 * 5  will give me 4.7. ) 

<telerik:RadRating ID="RadRating1" runat="server" Skin="Office2010Black" Orientation="Horizontal" SelectionMode="Continuous" Precision="Exact"
                                         Value='<%# Convert.ToDouble(Eval("PoucentageEfficacite")) * 5 %>' ReadOnly="true">
                                         
                                    </telerik:RadRating>

What I'm trying to acheive is: when I hover the stars, the tooltip would show 95% instead of 4.7

 I'll continue to look in your documentation if i can find something.

 

 

P.S. Is there anyway to set a TotalValue of the RadRating control then when you set the Value, it will auto ajust according to the number of  item displayed. It would be a great addition to the control.

 

 

Danail Vasilev
Telerik team
 answered on 15 Sep 2015
5 answers
97 views

Go to online demo http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx

1. When a css class applied to an element, e.g. a link, from the classname dropdown then when this element selected after that, the css class is not displayed in this dropdown. See http://screencast.com/t/xUKA00DUusUr
Is it bug or feature?

2. Is there a way to allow entering any class name which is not listed in this classname dropdown, e.g. "greenText"?

 

 

 

 

 

 

 

Ianko
Telerik team
 answered on 15 Sep 2015
3 answers
68 views

Hello,

 I have recently started using custom skins for my Telerik RadGrids. They work fine however on grids that have a GridDateTimeColumn the calendar image that opens the DatePicker doesn't show up and this is an issue as it's the button the user will click on to select the date.

When I inspect element on the standard skin calendar image it has a url to a background which I am assuming is the calendar image. This doesn't exist when I use my custom skin. Have I missed something out whilst setting up my custom skin or is there a way to fix this?

below is the style that is missing on the custom skin that I am assuming is the calendar image?

.RadPicker_Default .rcCalPopup, .RadPicker_Default .rcTimePopup {
    background-image: url('/WebResource.axd?d=Qh6WhsuuW-6kH4ezBYTFdGiS4gp8UKjzPCC3VZiLETi5J28Ij0vboGHCidlmMBB7qkGfp42aOGNTbE40sxO0ZOp76hbmGkoNUqWfiUkFFW2IWbPBvTMzQiPhRC7m4zNQ1udZIptvwpjsBr7tvrYvQLsr5JBQyiKDtzBS0Ltm1GA1&t=635761139180000000');
}

the source looks like a Telerik web resource.

 

Many thanks,

Maggy

Pavlina
Telerik team
 answered on 14 Sep 2015
10 answers
548 views
I'm looking for an XML file of the AJAX.NET RadEditor Tool set.  I'd like to use it as a baseline for my project but just delete 1 or 2 of the tools.  I'd rather not re-create the whole thing if I don't have to. 

I looked through the knowledge base and demos but only find simple and full toolset XML files.  Does anyone have an XML file of the default set of tools?
Thanks
J
miksh
Top achievements
Rank 1
Iron
 answered on 14 Sep 2015
1 answer
237 views
I haven't used telerik control (VS2012) before now I have chance to work on the same, all controls are awesome and very rich features.
I have a requirement where I need to load record in bulk from .csv file also validating record of each row then Want to show In a grid view with proper success/unsuccess message for each row than need to call
a API to insert record row by row in another application server. Please suggest me what control i need to use, study and
the way to achieve this in optimized manner. Appreciate if you provide and sample solution. Thanks in Advance.
Nencho
Telerik team
 answered on 14 Sep 2015
8 answers
215 views

Hi,

 I have ajaxify the attachment control I created but it doesn't show the loading panel when I click Upload button (postback after selection of files)

Below is the structure:

 Attachment Manager page

- Attachment Manager user control

--- Attachment user control

 I put RadAjaxManager in Attachment Manager user control:

<telerik:RadAjaxManager ID="radAjaxManager" runat="server" DefaultLoadingPanelID="radAjaxLoadingPanel">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="grdAttach">
            <UpdatedControls>                           
                <telerik:AjaxUpdatedControl ControlID="lblErrorMsg" />
                <telerik:AjaxUpdatedControl ControlID="grdAttach" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="attachmentControl">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="attachmentControl" />
                <telerik:AjaxUpdatedControl ControlID="grdAttach" />               
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="ddlAttachTo">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="grdAttach" />
                <telerik:AjaxUpdatedControl ControlID="attachmentControl" />               
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
 
<asp:Panel runat="server" ID="pnlControl">
                <uc:AttachmentControl ID="attachmentControl" runat="server" InputSize="75" OnUploadClick="attachmentControl_UploadClick" />
            </asp:Panel>

 On my Attachment user control, I put RadAjaxManagerProxy:

<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="btnUpload">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="radUpload" LoadingPanelID="radAjaxLoadingPanel" />
            </UpdatedControls>
        </telerik:AjaxSetting>       
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>

 This is not working and actually not doing a postback but if I remove RadAjaxManagerProxy, it will work but no loading panel will be shown while doing a postback.

 

Thanks.

Plamen
Telerik team
 answered on 14 Sep 2015
3 answers
160 views

I am using a custom Http Handler as described at http://www.telerik.com/forums/radasyncupload-without-temporary-file to upload files directly to a database without using a temporary folder.  This is working correctly, however, if the user clicks 'cancel' or 'remove' the file is obviously not removed from my database.
Is there a way to override the cancel and remove operations so I can delete the files from my database?

 I've created a new class that inherits from AsyncUploadResult to add a FileID so this should be easy... if I just knew which fuction to override.  Thanks!

Hristo Valyavicharski
Telerik team
 answered on 14 Sep 2015
8 answers
94 views
Hi,

I want to change the background color for Indicator in InputPasswordStrengthSettings.  What all I should specify in the CSS file?

Thanks,

Viktor Tachev
Telerik team
 answered on 14 Sep 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?