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

HI

I'm using ToolsFile to customize the RadEditor.Tools :

.aspx

  <telerik:RadEditor ID="RadEditor1" Runat="server" ToolbarMode="RibbonBar" ToolsFile="~/Editor/DefaultToolsFile.xml">
  </telerik:RadEditor>

ToolsFile.xml

  <tools name="Clipboard" tab="Home">
    ...
    <tool name="Cut" text="cut" size="medium"/>
    ...

But how to set the group header (space char included) for tools group in ToolsFile :

  <tools name="Clipboard" text="Home here" tab="Home">
    ...
    <tool name="Cut" text="cut" size="medium"/>
    ...

text and header property not works, change the value of 'name' property ?

*group header sample - http://docs.telerik.com/devtools/wpf/controls/radribbonview/features/ribbon-controls/images/RibbonView_Group_Overview.png

Best regards

Chris

 


Marin Bratanov
Telerik team
 answered on 01 Feb 2016
1 answer
201 views

Hi,

 i recently upgrade to 2016.1.113.35.

 i have some issues with AutoTooltipify="true" in radgrid

some control or cell are not "Tooltipify" at the end of the grid without js error.

Take a look on screenshot.

Is there a new limit number of control ?

 thanks

Marin Bratanov
Telerik team
 answered on 01 Feb 2016
3 answers
82 views

 

Hi, 

We have a desktop application used to edit specification documents. These docs are basically long outline-numbered lists with hierarchical list formatting. We've been wanting to move our application to the web, but haven't found an editor control with all the features we need. These are:

  • Support for hierarchical list numbering. I understand this is possible with your control even though it's not supported out-of-the-box.
  • Very solid import and export for RTF and DOCX, including support for those outline lists. We are willing to use a third-party library to convert the RadEditor's HTML to DOCX or RTF, if that's what it takes. We just want to know if it is possible at all. Users will be doing a LOT of this with our application.
  • Track changes, including preserving track changes in imported/exported documents. Users will work a lot of with existing documents, and will want to bring in documents that already have tracked changes in them. I understand you support tracked changes (very nice!) Just want to make sure the import/export is solid as well.
  • Paragraph identification. We need to track a paragraph throughout a document's lifecycle. We thought maybe a bookmark or maybe an anchor could be used for this.

What do you say--could our requirements be fulfilled with your product, or are we stuck in the Desktop world for a while longer?

Best Regards,

David

Ianko
Telerik team
 answered on 01 Feb 2016
1 answer
193 views

The ASMX web service below returns a file that when saved and referenced in the RadClientDataSource displays correct on my RadMap. However all attempts to point the RadClientDataSource directly at the web service result in no data being displayed on the RadMap.

 Please help

 

Imports System
Imports System.Web
Imports System.Collections
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Data
Imports System.Data.SqlClient
Imports System.Web.Script.Serialization
Imports System.Web.Script.Services
Imports System.ComponentModel
' To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
' <System.Web.Script.Services.ScriptService()> _
<System.Web.Services.WebService(Namespace:="d")> _
<System.Web.Services.WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
<ToolboxItem(False)> _
Public Class SQLdataWH
Inherits System.Web.Services.WebService
<WebMethod()> _
<ScriptMethod(ResponseFormat:=ResponseFormat.Json)> _
Public Function getPBayMachinePopulation() As String
Dim sqlConnection As SqlConnection = New SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings("BKDataWarehouseConnectionString").ConnectionString)
sqlConnection.Open()
Dim sqlCommand As SqlCommand = New SqlCommand("SELECT * FROM [BKDataWarehouse].[dbo].[uvw_PBAY_MachineLocationSummary]", sqlConnection)
Dim sqlDataset As DataSet = New DataSet()
Dim sqlDataAdapter As SqlDataAdapter = New SqlDataAdapter(sqlCommand)
sqlDataAdapter.Fill(sqlDataset)
sqlConnection.Close()
'Dim MArray()() As String = New String(sqlDataset.Tables(0).Rows.Count - 1)() {}
Dim MArray(sqlDataset.Tables(0).Rows.Count - 1) As JSON_results
Dim i As Integer = 0
For Each rs As DataRow In sqlDataset.Tables(0).Rows
'MArray(i) = New String() {rs("Location").ToString(), rs("Population").ToString()}
MArray(i) = New JSON_results
MArray(i).City = rs("City")
MArray(i).Country = rs("Country")
MArray(i).Pop2010 = rs("Population")
MArray(i).Location(0) = rs("LATITUDE")
MArray(i).Location(1) = rs("LONGITUDE")
i = i + 1
Next
Dim js As JavaScriptSerializer = New JavaScriptSerializer()
Dim sJSON As String = js.Serialize(MArray)
Return sJSON
End Function
Public Class JSON_results
Private PoplationValue As Double
Private CityValue As String
Private CountryValue As String
Private LocationValue(1) As Double
Property Pop2010() As Double
Get
Return PoplationValue
End Get
Set(ByVal Value As Double)
PoplationValue = Value
End Set
End Property
Property City() As String
Get
Return CityValue
End Get
Set(ByVal Value As String)
CityValue = Value
End Set
End Property
Property Country() As String
Get
Return CountryValue
End Get
Set(ByVal Value As String)
CountryValue = Value
End Set
End Property
Property Location() As Double()
Get
Return LocationValue
End Get
Set(ByVal Value As Double())
LocationValue = Value
End Set
End Property
End Class
'Public Class LocationType
' Private LatitudeValue As Double
' Private LongitudeValue As Double
' Property Latitude() As Double
' Get
' Return LatitudeValue
' End Get
' Set(ByVal Value As Double)
' LatitudeValue = Value
' End Set
' End Property
' Property Longitude() As Double
' Get
' Return LongitudeValue
' End Get
' Set(ByVal Value As Double)
' LongitudeValue = Value
' End Set
' End Property
'End Class
End Class

Ianko
Telerik team
 answered on 01 Feb 2016
0 answers
147 views

Good Day 

 i am trying out the Telerik with a Trial Version, i am looking for a wizard control, and i came across telerik Wizard. i have a Wizard that creates the steps dynamically and add the usercontrols dynamically and it works perfectly.  

 in the user control that is shown on the Steps , there is a button. 

 

1) i cannot hit the breakpoints on the user control 

 2) if i click the button on the Step, the Wizard gets reset , all the dynamically created steps are removed i will have an empty wizard 

 Thanks 

 

Vuyiswa
Top achievements
Rank 2
 asked on 30 Jan 2016
1 answer
117 views

Hi guys,

 

My client complains that asp.net pages containing radGrids are not working correctly on iPhone 6.

Filters, items per page, sorting etc. is not working. The buttons does not react to touch.

Are there any special settings I'm missing?

 

Thanks in advance

Pavlina
Telerik team
 answered on 29 Jan 2016
10 answers
265 views
Hi,
I would like to have a slider without selection, Just the ticks, but no default value.
Is it possible?

Thank you in advance,

Sincerely.
Nikolay
Telerik team
 answered on 29 Jan 2016
3 answers
131 views

I have a RadScheduler using Web Service binding, but that uses Server Side Resource population because we need to group by Resource. This is the configuration of my RadScheduler:

 

<telerik:RadScheduler runat="server" ID="RadScheduler1" SelectedView="WeekView" Height="" HoursPanelTimeFormat="htt" ValidationGroup="RadScheduler1"<br>                        DayStartTime="04:00:00" DayEndTime="21:00:00" WorkDayStartTime="04:00:00" WorkDayEndTime="21:00:00"<br>                        OnClientAppointmentsPopulating="FitTrack.Scheduler.appointmentsPopulating" OnResourcesPopulating="RadScheduler1_ResourcesPopulating" OnClientNavigationComplete="FitTrack.Scheduler.navigationComplete"<br>                        OnClientRequestSuccess="FitTrack.Scheduler.requestSuccess" OnClientFormCreated="schedulerFormCreated" OnClientAppointmentDataBound="FitTrack.Scheduler.appointmentDataBound"<br>                        StartInsertingInAdvancedForm="true" StartEditingInAdvancedForm="true" AppointmentStyleMode="Default"><br>                        <AdvancedForm Enabled="true" Modal="true" /><br>                        <AdvancedEditTemplate><br>                            <scheduler:AdvancedForm runat="server" ID="AdvancedEditForm1" Mode="Edit" /><br>                        </AdvancedEditTemplate><br>                        <AdvancedInsertTemplate><br>                            <scheduler:AdvancedForm runat="server" ID="AdvancedInsertForm1" Mode="Insert" /><br>                        </AdvancedInsertTemplate><br>                        <DayView GroupBy="Trainer" GroupingDirection="Horizontal" /><br>                        <ResourceHeaderTemplate><br>                            <div><br>                                <a href="#" onclick="FitTrack.Scheduler.resourceHeaderClicked('<%# Eval("Key") %>')"><%# Eval("Text") %></a><br>                            </div><br>                        </ResourceHeaderTemplate><br>                        <WebServiceSettings Path="SchedulerWebService.asmx" ResourcePopulationMode="ServerSide" /><br>                    </telerik:RadScheduler>

 

When I assign Attributes to my Resources in my GetResources() method, those Attributes do not come across and are not available on the client. Is this a known limitation when using Server Side Resource population with Web Service binding or should those Attributes still be available on the client? Is there something special I need to do for the Attributes to come across?

Ivan Danchev
Telerik team
 answered on 29 Jan 2016
2 answers
251 views

Hi there,

I have a problem displaying the text on a RadButton for different browsers.

When I use IE (version 10) the text is shown, but by using Chrome or Firefox the text is not shown (see examples).
The Radbutton is part of a skin and created with Telerik stylebuilder.
Below you will find the css used.

Does anybody know why the text is only shown by using IE?

Regards,

Marcel

 

.RadButton_YaleButton {
font-family: "Segoe UI",Arial,Helvetica,sans-serif;
font-size: 12px;
}
.RadButton_YaleButton.rbSkinnedButton, .RadButton_YaleButton .rbDecorated, .RadButton_YaleButton .rbSecondaryIcon, .RadButton_YaleButton.rbVerticalButton, .RadButton_YaleButton.rbVerticalButton .rbDecorated {
background-image: none;
font-family: "Segoe UI",Arial,Helvetica,sans-serif;
font-size: 12px;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
.RadButton_YaleButton.a.RadButton input.rbDecorated, .RadButton_YaleButton.a.RadButton input.rbDecorated, .RadButton_YaleButton.a.RadButton input.rbDecorated:active, .RadButton_YaleButton.a.RadButton input.rbDecorated:focus {
background-color: transparent;
border: 0;
}
}
.RadButton_YaleButton .rbSplitRight, .RadButton_YaleButton .rbSplitLeft {
background-image: url('Button/ButtonSprites.gif');
}
.RadButton_YaleButton .rbSplitRight, .RadButton_YaleButton.rbLinkButton .rbSplitRight {
background-position: -1px 0;
background-color: #c6c6c6;
border-left: 1px solid #7e7e7e;
}
.RadButton_YaleButton.rbLinkButton.rbDisabled .rbSplitRight {
background-position: -1px 0;
}
.RadButton_YaleButton .rbSplitRight {
_right: -1px;
}
.RadButton_YaleButton.rbDisabled .rbSplitRight {
_right: 0;
}
.RadButton_YaleButton.rbLinkButton .rbSplitRight {
background-color: #e2e2e2;
border-left: 1px solid #7e7e7e;
}
.RadButton_YaleButton .rbSplitRight:hover, .RadButton_YaleButton.rbLinkButton .rbSplitRight:hover {
background-color: #ffe79c;
border-left: 1px solid #c98400;
}
.RadButton_YaleButton .rbSplitRight:focus, .RadButton_YaleButton .rbSplitRight:active, .RadButton_YaleButton.rbLinkButton .rbSplitRight:focus, .RadButton_YaleButton.rbLinkButton .rbSplitRight:active {
background-color: #ffa517;
border-left: 1px solid #ca4b0c;
}
.RadButton_YaleButton .rbSplitLeft, .RadButton_YaleButton.rbLinkButton .rbSplitLeft {
background-position: -1px 0;
background-color: #e2e2e2;
border-right: 1px solid #7e7e7e;
}
.RadButton_YaleButton .rbSplitLeft:hover, .RadButton_YaleButton.rbLinkButton .rbSplitLeft:hover {
background-color: #ffe79c;
border-right: 1px solid #c98400;
}
.RadButton_YaleButton.rbDisabled .rbSplitLeft, .RadButton_YaleButton.rbDisabled .rbSplitLeft:hover, .RadButton_YaleButton.rbDisabled .rbSplitLeft:focus, .RadButton_YaleButton.rbDisabled .rbSplitLeft:active, .RadButton_YaleButton.rbLinkButton.rbDisabled .rbSplitLeft, .RadButton_YaleButton.rbLinkButton.rbDisabled .rbSplitLeft:hover, .RadButton_YaleButton.rbLinkButton.rbDisabled .rbSplitLeft:active, .RadButton_YaleButton.rbLinkButton.rbDisabled .rbSplitLeft:focus, .RadButton_YaleButton.rbDisabled .rbSplitRight, .RadButton_YaleButton.rbDisabled .rbSplitRight:hover, .RadButton_YaleButton.rbDisabled .rbSplitRight:focus, .RadButton_YaleButton.rbDisabled .rbSplitRight:active, .RadButton_YaleButton.rbLinkButton.rbDisabled .rbSplitRight, .RadButton_YaleButton.rbLinkButton.rbDisabled .rbSplitRight:hover, .RadButton_YaleButton.rbLinkButton.rbDisabled .rbSplitRight:active, .RadButton_YaleButton.rbLinkButton.rbDisabled .rbSplitRight:focus {
background-color: #dfdfdf;
background-position: -1px 0 !important;
}
.RadButton_YaleButton .rbDisabled .rbSplitRight, .RadButton_YaleButton .rbDisabled .rbSplitRight:hover, .RadButton_YaleButton .rbDisabled .rbSplitRight:focus, .RadButton_YaleButton .rbDisabled .rbSplitRight:active, .RadButton_YaleButton .rbDisabled .rbSplitLeft, .RadButton_YaleButton .rbDisabled .rbSplitLeft:hover, .RadButton_YaleButton .rbDisabled .rbSplitLeft:focus, .RadButton_YaleButton .rbDisabled .rbSplitLeft:active {
_background-position: -1px 0 !important;
}
.RadButton_YaleButton.rbDisabled .rbSplitLeft, .RadButton_YaleButton.rbDisabled .rbSplitLeft:hover, .RadButton_YaleButton.rbDisabled .rbSplitLeft:focus, .RadButton_YaleButton.rbDisabled .rbSplitLeft:active, .RadButton_YaleButton.rbLinkButton.rbDisabled .rbSplitLeft, .RadButton_YaleButton.rbLinkButton.rbDisabled .rbSplitLeft:hover, .RadButton_YaleButton.rbLinkButton.rbDisabled .rbSplitLeft:active, .RadButton_YaleButton.rbLinkButton.rbDisabled .rbSplitLeft:focus {
border-right: 1px solid #9b9b9b;
}
.RadButton_YaleButton.rbDisabled .rbSplitRight, .RadButton_YaleButton.rbLinkButton.rbDisabled .rbSplitRight {
border-left: 1px solid #9b9b9b;
}
.RadButton_YaleButton .rbSplitLeft:focus, .RadButton_YaleButton .rbSplitLeft:active, .RadButton_YaleButton.rbLinkButton .rbSplitLeft:focus, .RadButton_YaleButton.rbLinkButton .rbSplitLeft:active {
background-color: #ffa517;
border-right: 1px solid #ca4b0c;
}
.RadButton_YaleButton.rbSkinnedButton, .RadButton_YaleButton.rbVerticalButton, .RadButton_YaleButton .rbDecorated {
background-color: #e2e2e2;
}
.RadButton_YaleButton.rbSkinnedButton, .RadButton_YaleButton.rbVerticalButton {
border: 4px solid #e6a900;
border-radius: 12px;
box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);
}
.RadButton_YaleButton.rbSkinnedButton:hover, .RadButton_YaleButton.rbVerticalButton:hover, .RadButton_YaleButton:hover .rbDecorated {
background-color: #e6a900;
color: #fff;
text-decoration: underline;
}
.RadButton_YaleButton.rbSkinnedButton:hover, .RadButton_YaleButton.rbVerticalButton:hover {
border: 4px solid #e6a900;
}
.RadButton_YaleButton.rbSkinnedButtonChecked, .RadButton_YaleButton.rbSkinnedButtonChecked:hover, .RadButton_YaleButton.rbSkinnedButtonChecked .rbDecorated, .RadButton_YaleButton.rbSkinnedButtonChecked:hover .rbDecorated {
background-color: #ffa517;
}
.RadButton_YaleButton .rbToggleCheckbox, .RadButton_YaleButton .rbToggleCheckboxChecked, .RadButton_YaleButton .rbToggleCheckboxFilled, .RadButton_YaleButton .rbToggleRadio, .RadButton_YaleButton .rbToggleRadioChecked {
background-image: url('Common/radFormToggleSprite.png');
_background-image: url('Common/radFormToggleSpriteIE6.png');
}
.RadButton_YaleButton.rbToggleButton, .RadButton_YaleButton.rbToggleButton.rbDisabled, .RadButton_YaleButton.rbToggleButton.rbDisabled:hover {
color: black;
}
.RadButton_YaleButton.rbDisabled .rbDecorated, .RadButton_YaleButton.rbDisabled:hover .rbDecorated, .RadButton_YaleButton.rbToggleButton:hover {
color: #999;
}
.RadButton_YaleButton.RadButton.rbLinkButton {
background-color: #e2e2e2;
border: 1px solid #7e7e7e;
text-decoration: none;
color: black;
}
.RadButton_YaleButton.RadButton.rbLinkButton:hover {
background-color: #ffe79c;
color: #882501;
}
.RadButton_YaleButton.RadButton.rbLinkButtonChecked, .RadButton_YaleButton.RadButton.rbLinkButtonChecked:hover {
background-color: #ffa517;
color: #882501;
border: 1px solid #ca4b0c;
}
.RadButton_YaleButton.rbLinkButtonChecked:hover {
color: #882501;
border: 1px solid #c98400;
}
.RadButton_YaleButton.rbSkinnedButton, .RadButton_YaleButton .rbDecorated {
height: 22px;
}
.RadButton_YaleButton.rbSkinnedButton.rbDisabled, .RadButton_YaleButton.rbVerticalButton.rbDisabled, .RadButton_YaleButton.rbLinkButton.rbDisabled, .RadButton_YaleButton.rbLinkButton.rbDisabled:hover {
background-color: #E6BE3E;
border: 4px solid #E6BE3E;
color: #fff;
text-decoration: none;
}
.RadButton_YaleButton.rbSkinnedButton.rbDisabled .rbDecorated, .RadButton_YaleButton.rbLinkButton.rbDisabled, .RadButton_YaleButton.rbLinkButton.rbDisabled:hover, .RadButton_YaleButton.rbVerticalButton.rbDisabled .rbDecorated {
background-color: #E6BE3E;
color: #fff;
text-decoration: none;
}
.RadButton_YaleButton.rbLinkButton, .RadButton_YaleButton.rbLinkButton:hover {
border: 1px solid #7e7e7e !important;
}
.RadButton_YaleButton.rbLinkButton.rbRounded {
border-radius: 0;
}


.RadButton_YaleButton .rbDecorated {
color: rgb(255, 255, 255);
font-family: Arial;
font-size: 12px;
font-weight: bold;
background-color: rgb(230, 169, 0);
}
.rbSkinnedButton.RadButton_YaleButton {
background-color: rgb(230, 169, 0);
}

.RadButton_YaleButton .rbDecorated {
font-size: 12px;
}





.RadButton_YaleButton .rbDecorated {
font-size: 12px;
line-height: 14px;
height: 0px;
}



 

 


Jacques
Top achievements
Rank 1
 answered on 29 Jan 2016
1 answer
54 views

Hello, 

I have a little problem with Radtreeview and a hide linkbutton. When i click on a node with the event "OnClientNodeClicked", the js execute a function that show the linkbutton, but after couple of second the linkbutton disapear or return to his start states (hide).

Have you a solution to this problem.

Thanks a lot

 

 My client code:

Aspx: 

<asp:LinkButton runat="server" ID="lkbAdd"  OnClientClick="OnClientClickAdd()"><img src="Images/Add-24.png" alt="Add" title="Add node"/></asp:LinkButton>

 

<telerik:RadTreeView ID="RadTreeView2" runat="server" Width="400px" Height="400px" OnNodeClick="RadTreeView2_NodeClick" OnNodeDataBound="RadTreeView2_NodeDataBound" BorderColor="Black" BorderWidth="1" OnClientNodeClicked="OnClientNodeClicked">
      <DataBindings>
               <telerik:RadTreeNodeBinding Expanded="True"></telerik:RadTreeNodeBinding>
      </DataBindings>
</telerik:RadTreeView>

 

JS:

 function OnClientNodeClicked(sender, eventArgs)
        {
            var listItem = document.getElementById('<%= lkbAdd.ClientID %>');

            var node = eventArgs.get_node();
            var nodeValue = node.get_value();
            node.select();

            if(nodeValue > 9990000000)
            {
                listItem.style.display = "inline-block";
            }
            else
            {
                listItem.style.display = "none";
            }

            args.set_cancel(true);

        }

 

My Server Code:

 protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
           //....

            lkbAdd.Style.Add("display", "none");
        }
    }

Eyup
Telerik team
 answered on 29 Jan 2016
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?