Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
521 views
Hi.

I have a project thats contain RadColorPicker. I need to change text color according the chosen one. inspect shows me the wrong color. Process steps;

     1)Choose color and close the RadColorPicker,

     2)Inspect still shows me the previous color that i chosen,

     3)Inspect has been updated when i clicked second time to RadColorPicker.

I don't know why is happening and need your help.

Thanks a lot.
Caner
Top achievements
Rank 1
 answered on 27 Dec 2018
12 answers
859 views
I just wanted to open document in RADEditor through C# code, instead of navigating File->Open link in RADEditor. If this is possible, I'll display the document link in my web application to open the respective document in RADEditor.So that, can edit the word document in RADEditor and save it on the server which is hosted. Let me know the case is possible.
Eyup
Telerik team
 answered on 27 Dec 2018
3 answers
112 views
No formatting is being stripped when the user is using IE11.  Works fine on other browsers.

Does anyone know the fix?

thanks!
baojian
Top achievements
Rank 1
 answered on 25 Dec 2018
3 answers
539 views

Hi,

 

I am trying to access a control in InsertItemTemplate.

 

On EditTemplate is fine, I use:

var Ctlcst_costru_civmec_note = (RadTextBox)CtlCstCostruzione.EditItems[0].FindControl("Ctlcst_costru_civmec_note");

 

But I am not able to find the same control on insert one. How can I do?

 

Thx,

Valerio

Marin Bratanov
Telerik team
 answered on 24 Dec 2018
1 answer
362 views

I have a requirement to dynamically build a table on server side and fill it with either textbox(for entering strings) or textbox with a small drop down next to it to enter numbers and unit of measure.  My problem is that if I add both text and drop down to the same cell drop down overlaps text box for few pixels and is not aligned with other controls in rows above.normal text box size is 200(from CSS) and short is 150(from CSS). List box width is set to 50, so I expect controls to be aligned, but they are not. Screen shot attached.  How this can be fixed?

Here is my code :

CSS:

.myLabelCss {
            color: Red !important;
            width: 20px !important;
        }

        .myLabelCssDD {
            color: Red !important;
            width: 10px !important;
        }

        .CustomClass {
            width: 200px !important;
        }

        .CustomClass .riSingle .riTextBox {
                width: 200px !important;
            }

            .CustomClassShort{
            width: 150px !important;
        }

Table declaration

<asp:Table ID="tblParms" runat="server" Font-Names="Arial"        ForeColor="Black"  CellSpacing="10" BorderColor="Black" Width="100%"
                                                    EnableViewState="False" BorderStyle="None"   meta:resourcekey="tblParmsResource1">  </asp:Table>

 

VB code:

Private Sub buildControls()
        Dim tRow As New TableRow()
        tRow.ID = "MyRow1"
        Dim tCell As New TableCell()
        ' cell 1, label
        tCell.Text = "MyLabel1"
        tCell.VerticalAlign = VerticalAlign.Top
        tCell.Width = New Unit("30%")
        tRow.Cells.Add(tCell)
        'cell 2, controls
        tCell = New TableCell()
        tCell.VerticalAlign = VerticalAlign.Top
        tCell.HorizontalAlign = HorizontalAlign.Left
        tCell.Width = New Unit("30%")
        Dim txtBox = New RadTextBox()
        txtBox.ID = "MyText1"
        txtBox.CssClass = "CustomClassShort"
        txtBox.Label = "*"
        txtBox.LabelCssClass = "myLabelCss"
        txtBox.MaxLength = 15
        tCell.Controls.Add(txtBox)
        Dim ddUOMList As RadDropDownList = New RadDropDownList
        ddUOMList.ID = "MyList1"
        ddUOMList.Width = 50
        ddUOMList.CausesValidation = False
        Dim UOMItem As New DropDownListItem()
        UOMItem.Text = "A"
        UOMItem.Value = "A"
        ddUOMList.Items.Add(UOMItem)
        UOMItem = New DropDownListItem()
        UOMItem.Text = "mA"
        UOMItem.Value = "mA"
        ddUOMList.Items.Add(UOMItem)
        tCell.Controls.Add(ddUOMList)
        tRow.Cells.Add(tCell)
        tblParms.Rows.Add(tRow)
        tRow = New TableRow()
        tRow.ID = "MyRow2"
        tCell = New TableCell()
        ' cell 1, label
        tCell.Text = "MyLabel2"
        tCell.VerticalAlign = VerticalAlign.Top
        tCell.Width = New Unit("30%")
        tRow.Cells.Add(tCell)
        'cell 2, controls
        tCell = New TableCell()
        tCell.VerticalAlign = VerticalAlign.Top
        tCell.HorizontalAlign = HorizontalAlign.Left
        tCell.Width = New Unit("30%")
        txtBox = New RadTextBox()
        txtBox.ID = "MyText2"
        txtBox.CssClass = "CustomClass"
        txtBox.Label = "*"
        txtBox.LabelCssClass = "myLabelCss"
        txtBox.MaxLength = 15
        tCell.Controls.Add(txtBox)
        tRow.Cells.Add(tCell)
        tblParms.Rows.Add(tRow)
    End Sub

 

Marin Bratanov
Telerik team
 answered on 23 Dec 2018
1 answer
293 views

Hi

I have a problem in scrolling radgrid in chrome using  <Scrolling AllowScroll="True" UseStaticHeaders="True"  FrozenColumnsCount="7" ></Scrolling>

whenever my scrollbar goes to end it resets itself to first column. and i just have this problem in chrome 

what should I do?

Marin Bratanov
Telerik team
 answered on 23 Dec 2018
3 answers
218 views

hi

I'm using radtreeview  for my page and i set treeview direction " right to left"

i want to be able to drag a node and drop it under another node

but the problem is when i set tree direction right to left my grabbed ( selected) node disappears and page width keep growing

i don't have this problem when i set tree direction to left to right

does telerik support treeview drag and drop for rtl treeview ?

this is the code that i'm using

<div style="direction:rtl;">
<telerik:RadTreeView PersistLoadOnDemandNodes="true" runat="server"                             ID="rtvTables" EnableDragAndDrop="True" ClientIDMode="AutoID"                             OnClientNodeExpanded="onTreeViewExpanded"                             OnClientNodePopulating="nodePopulating"                             OnClientNodeDropping="onClientNodeDropped"  
                            OnClientContextMenuShowing="OnClientContextMenuShowing"                             OnClientNodeDragStart="OnClientNodeDragStart">                             <WebServiceSettings Path="frmReporting.aspx" Method="OnNodeExpanded">                             </WebServiceSettings>                             <%--   <WebServiceSettings Path="Services/frmReporting.asmx" Method="OnNodeExpanded">
                                    </WebServiceSettings>    --%>                         </telerik:RadTreeView>

</div>

 

 

thank you

 

 

Marin Bratanov
Telerik team
 answered on 23 Dec 2018
2 answers
836 views
I had to replace the RadUpload controls in my app with RadAsyncUpload versions rather quickly and I may have missed out on a few details.

In my old system (while using RadUpload) I had code to delete the uploaded files once processed (inserted into a database field).

It looks to me like the simplest thing to do with the RadAsyncUpload would be to leave the files alone and rely on the control's TemporaryFileExpiration setting to do the job.

My question is this.  Am I missing anything?  Is there any real drawback to using the default App_Data\RadUploadTemp path and relying on automatic deletion of these temp files?  (In fact, why should I even need a Target Folder?)
Sean
Top achievements
Rank 1
 answered on 21 Dec 2018
1 answer
169 views

Hi,

We're using your image editor tool for in-browser editing of images.
And it seems it have a strange behavior when resizing very lange images.

When i resize a image step-by-step from 2000 pixels width to 200 pixels with steps of 400 pixels each time, the resized image have better quality then when i resize it once from 2000 pixels to 200 pixels.

Is this a known behavior or i can do something to improve it?

Kind regards,

Jelle

Rumen
Telerik team
 answered on 21 Dec 2018
1 answer
100 views

Hi,

I am able to reproduce the issue at the demo site: 

1) Open 'Find and Replace' dialog.
2) Click on the HTML tab.
3) Enter a word that needs to be found.
4) Click on the 'Find' button.

When the 'Find' button is clicked, the word does not get highlighted. It only highlights the word when I close the 'Find and Replace' dialog.

Thank you.

Rumen
Telerik team
 answered on 21 Dec 2018
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?