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

RadImageEditor maybe one of the worst thought out controls you have in your control suite.  It could have been easy...if you consulted programmers who actually have to use this.    Rant over, now lets get to the reson why we're here.  

The source of my images are stored in a SQL DB.  After jumping thru spiked hoops...I figured out how to save and load the images in the RadImageEditor.  For the record, way harder than it needed to be.  My problem is after I make changes to the image, ie maybe a resize, there is no easy way to to get the altered image.  I thought the following code would do the trick:

Dim img As EditableImage = RadImageEditor1.GetEditableImage

boy was I wrong.  I've seen the posts about CanvasMode...doesn't change the outcome.  I've tried all 3 settings.  I've tried changing the property in the aspx page.  I've tried changing the property in the code behind.  Result is always the unaltered image.  Would it have killed you to have a GetChangedImage option?

I'm controlling the events in the code behind.  I'm not using client events.  I want to press a button and in the code behind/server code...save the data on my screen to a database and I would like to know how to include the altered image in that save?  I'm not using any of the buttons on the RadImageEditor.  

I would appreciate the code in VB and I would appreciate an actual example not a link to some demo because I've already been thru them with a fine tooth comb. 

Thanks in advance.  

Rumen
Telerik team
 answered on 04 Apr 2022
0 answers
133 views

The project I am working on, uses Grids and for some reason it has extended (customized styling and other functionalites)  RadGrids with extended Column as well (see an extract of the class below). 

When I use the functionality exportToExcel in a telerik RadGrid, it works like I want but on the extended RadGrids it doesn't export the grid to a file but it replaces the grid on the UI. Page (I have attached two images, one with the exportToExcel button and the other with the "exported" table)  . Do I also need to write a customized ExportToExcel function? or how could I approach this issue? 

Thanks in advance.

 

 

public class DefaultGridBoundColumn:GridBoundColumn
{
public int ColumnWidth { get; set; }

public DefaultGridBoundColumn()
{
AllowFiltering = false;
ColumnWidth = -1;
}

public override void Initialize()
{
if (ColumnWidth >= 0)
{
base.HeaderStyle.CssClass = (base.HeaderStyle.CssClass + " col-md-" + ColumnWidth).Trim();
base.ItemStyle.CssClass = (base.ItemStyle.CssClass+ " col-md-" + ColumnWidth).Trim();
}
base.Initialize();
}
}
}
Ellishia
Top achievements
Rank 1
 asked on 04 Apr 2022
1 answer
143 views

Hi,

Does the latest version of Telerik UI for ASP.NET AJAX support drag/drop between two TreeViews on the same page? How about two Grids?

Thanks,

Rumen
Telerik team
 answered on 01 Apr 2022
26 answers
690 views
Dear All,
How can I set RadAutoCompleteBox readonly. I can not find which function support that.
Thank you very much. 
David
Top achievements
Rank 1
Veteran
Iron
 updated answer on 31 Mar 2022
1 answer
113 views

How do I trouble shoot an upload error I am getting on Azure. RadAsyncUpload works fine on my local machines but when deployed to the server I get

"Failed to load resource: the server responded with a status of 500 (Internal Server Error)"  & "Uncaught Error while uploading, HTTP Error code is: 500" 

 

 

 

 

Peter Milchev
Telerik team
 answered on 31 Mar 2022
1 answer
192 views

Hello,

I want to filter my RadDropDownTree using multiple strings delimited by a space.

I have modified a script but it isn't working quite right.

Note the pic below.  I want to match on both "balances" and "sspro" or "ssedge" or "ss.com"

 

When I add a space and an "s" then nothing is retrieved:

 

 

However, when I type in "balances t" I get some results but actually should get all lines that have "balances" and "t".  There should be a lot more results:

 

Here is the script I'm using:


 var $T = Telerik.Web.UI;
    Telerik.Web.UI.RadDropDownTree.Manager.prototype._filterNodes = function (text) {
        var nodes = this._embeddedTree.get_allNodes(),
            count = nodes.length,
            regEx,
            i;

       
        var EnteredText = text.split(" ");

        if (EnteredText[1] == null) {

            EnteredText[1] = "";
        }

        if (this._filter == $T.DropDownTreeFilter.StartsWith)
           /* regEx = new RegExp("^\\s*" + $T.RadDropDownTree.Manager._regExEscape(text), "im");*/
            regEx = new RegExp("^\\s*(?=.*" + EnteredText[0] + ")(?=.* " + EnteredText[1] + ").*$", "im");
        else
           /* regEx = new RegExp($T.RadDropDownTree.Manager._regExEscape(text), "gim");*/
            regEx = new RegExp("^(?=.*" + EnteredText[0] + ")(?=.* " + EnteredText[1] + ").*$", "gim");

       /* alert(regEx);*/

        for (i = 0; i < count; i++) {
            var currentNode = nodes[i];
            var matchIsFound;

            if (currentNode.get_level() !== 2)
            {
                matchIsFound = false;
                /*alert(currentNode.get_text());*/
            }
            else
            {                
                matchIsFound = this._matchNode(currentNode, EnteredText, regEx);
              //  alert(currentNode.get_text());

            }
            if (matchIsFound)
            {
                this._handleVisibleParents(currentNode);
                this._filteredVisibleNodes.push(currentNode);
            }
            else
            {
                this._handleHiddenNode(currentNode);
            }
        }

        this._hideNodes(this._filteredHiddenNodes);
        this._showNodes(this._filteredVisibleNodes);

        this._filteredVisibleNodes = [];
        this._filteredHiddenNodes = [];
    }

    

Thanks!

--Clark

Clark
Top achievements
Rank 1
Iron
Iron
 answered on 31 Mar 2022
1 answer
142 views

Hello,

I would like to display the filter results of only the 3rd level nodes of my radDropDownTree.

In the example below, I only want 3rd level nodes that have "web"  in their text field displayed.

I've marked out what I don't want to see.

Thanks!

--Clark

 

 

 

 

Clark
Top achievements
Rank 1
Iron
Iron
 updated question on 31 Mar 2022
0 answers
257 views

Hi Telerik Team,

In the application, we have disabled upload, delete and rename functions, but we still can drag and drop files. Is there any way can disable drag and drop files, please?

 


 

 

Regards,

Lan

lan luo
Top achievements
Rank 1
Iron
 asked on 30 Mar 2022
1 answer
64 views

Hi all,

 

I 'm looking to convert millis into the tooltip of a RadHtmlChart

 

The convertion work well on the xAxis.

I set the DataFormating in the code behind since a have dynamical number of serie ..

But it's doesnt work.

 

Also, looking for simple Label (unit) insertion bellow the xAxis and left to the yAxis. (like my sample)

 

Thanks in advance,

 

Didier

 

 

 

Vessy
Telerik team
 answered on 30 Mar 2022
1 answer
122 views

Hi,

In RadEditor I need to use radcolorpicker to add custom colors.  When we click "Add Custom Color" now its giving a popup and

we need to type the hex color code.

without doing that is there a way to use radcolorpicker after click the  "Add Custom Color".

 

Thank You,

Sahan

Rumen
Telerik team
 answered on 30 Mar 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?