Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
140 views
Hi,

I'm trying to Resize the image as soon as the image is cropped, without success.

I thought about something like this (does not work):

function OnClientImageChanged(imageEditor, args) {
                 
               
                    if (args.get_commandName() == "Crop") {
 
                        imageEditor.resizeImage(150, 250, true)
 
                    }
            
 
            }

or this (work but loop indefinitely) :

function OnClientImageChanged(imageEditor, args) {
               if (args.get_commandName() == "Crop") {
                   var timer = setInterval(function () {
                       imageEditor.resizeImage(150, 250, true)
                   }, 100);
               }
           }

How would you do that ? I'm using the last Telerik dll so doing something inside the 'Crop.ascx' ImageEditorDialogs is possible if its the way to go.

Thanks Arnaud

arnaud
Top achievements
Rank 1
 answered on 29 Jun 2012
1 answer
344 views
Hi. I need to have 2 dummy columns (column with no reference to a field in the database) in a radgrid. Each one of these columns need to have a javascript call, this javascript must be set on the itemdatabound event placing the value of the 3rd column (client id) inside the javascript call of the previous two dummy columns.

How can I do this? Create the 2 dummy columns and reference them in the itemdatabound for placing the javascript on it.

Thanks in advance.
Radoslav
Telerik team
 answered on 29 Jun 2012
1 answer
149 views
Hi,

I have a problem related to generated template columns cells not growing to100% height of the RadGrid row in IE. Works fine in FF and any IE in quirks mode.

The template column is composed of an ASP link button that contains a table with 1 cell; a score with color. The problem arises that some of the GridBoundColumn cells have lots of text, others with little to no text. The template column cells are not expanding to fill the row height in IE. GridboundColumn cells are behaving as they should. I'm at a complete loss here. Everything checks out style wise.

Any suggestions on where to start looking would be great.

I'm using a table that's generated dynamically and one of the other views (which has the same problem) has a need for it. That said, the first thing I did was program it to use divs instead with the same result.

I'm not posting the markup and code behind since it's a very large, complicated page and the grid is dynamic in which columns that are shown depending on certain criteria. I've attached a snapshot of the behavior I'm referring to.

Thanks

 
Marin
Telerik team
 answered on 29 Jun 2012
1 answer
161 views
The changes to the tooltip which moved the close button to hover outside the tooltip content now covers up the callout when the tooltip is positioned for the BottomRight of an element.

Any suggestions for this scenario?
Bozhidar
Telerik team
 answered on 29 Jun 2012
1 answer
83 views
How can i add a background image to the select button in a radupload????
Princy
Top achievements
Rank 2
 answered on 29 Jun 2012
1 answer
170 views
I have a treeview that is set to load on demand. When the node text is clicked I want to both expand the node if it is expandable and trigger the Node Click event in code behind. below is what I have so far. Is this even possible?

    Protected Sub radprojecttree_NodeExpand(sender As Object, e As Telerik.Web.UI.RadTreeNodeEventArgs) Handles radprojecttree.NodeExpand         
        If (Not SiteUser Is Nothing) Then             
            BSRMaster.navtree.NavTree_InitNodes(Nothing, e.Node)         
        End If     
    End Sub     
    Protected
 Sub radprojecttree_NodeClick(sender As Object, e As Telerik.Web.UI.RadTreeNodeEventArgs) Handles radprojecttree.NodeClick         
        Dim ts As String = e.Node.Attributes("contentpage")         
        radpancontentholder.ContentUrl = ts             
        Me.radprojecttree_NodeExpand(sender, e)           
    End Sub
Shinu
Top achievements
Rank 2
 answered on 29 Jun 2012
1 answer
67 views
I want to make the dropdown show only when user types anything in the input from client side?
Princy
Top achievements
Rank 2
 answered on 29 Jun 2012
1 answer
123 views
How can I check InsertCommand name is fired for detailtableviw?
Princy
Top achievements
Rank 2
 answered on 29 Jun 2012
3 answers
230 views
Hi,

I have a scenario where Age is one of the column in my grid. 
For that column I am using following syntax, and I am not using any ItemTemplate or FilterTemplate
<telerik:GridNumericColumn DataField="Age" FilterControlWidth="20px" UniqueName="Age"
               HeaderText="Age" EmptyDataText="-" HeaderStyle-HorizontalAlign="Center"
               DataType="System.Int32" MaxLength="3" FilterControlAltText="Age">
</telerik:GridNumericColumn>

And this column allow user to enter only numbers. I have requirement where I need to stop the user to not to give more than 3 digits.
Ultimately this header filter should allow user to enter only 3digit number. Suggest me how to achieve this? I have used MaxLength but this property is not used for this filter scenario.

I am thinking of finding that filter text box and adding a javascript method to it and handle that at client side, but I was not able to find the Filter text box Control. 

I would appreciate if any one help me find a solution. 
Shinu
Top achievements
Rank 2
 answered on 29 Jun 2012
1 answer
107 views
How to show currency format for a gridboundcolumn when exporting?
Shinu
Top achievements
Rank 2
 answered on 29 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?