Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
66 views
Hello,

I would like to change an image src to the image that i click on in radrotator.

<img id="propImg" runat="server" src="" />
 
<telerik:RadRotator ID="thumbRotator" runat="server" BackColor="Transparent" OnItemClick="viewImage"  EnableRandomOrder="true" BorderStyle="NotSet" BorderWidth="0" BorderColor="Transparent"
PauseOnMouseOver="true" RotatorType="CoverFlowButtons" Width="430" Height="180" ItemHeight="190px" ItemWidth="200px" FrameDuration="1"  ScrollDirection="Left, Right" Skin="MetroTouch">
                    <ItemTemplate>
                        <asp:Image ID="myImage" Width="190px" Height="180px" runat="server" ImageUrl='<%# Container.DataItem %>' AlternateText='<%# VirtualPathUtility.GetFileName(Container.DataItem.ToString()) %>' />
                    </ItemTemplate>
                 </telerik:RadRotator>


Would appreciate some help!

Thanks!
Slav
Telerik team
 answered on 08 Nov 2013
4 answers
268 views
Hi,

I am trying the new version 2013 Q1 (2013.1.220) and have found that Menu does not show items on mouse hover with IE 10. It only shows when clicking (just like when setting ClickToOpen="true") .You can check the demo on Telerik site here.

Another problem is the class .rmExpandDown (and .rmExpandTop...) is by default set to backgroundnone repeat scroll 0 center transparent, which causes the arrow does not show even the menu item has sub items.

.RadMenu_Metro .rmRootLink .rmExpandTop, .RadMenu_Metro .rmRootLink .rmExpandDown
{
    backgroundnone repeat scroll 0 center transparent;
}

Kate
Telerik team
 answered on 08 Nov 2013
1 answer
48 views

 

Hi,
When I try to save formatted text from MS Word I’m getting paragraph tags are combined with class elements (Highlighted below). Please guide me to resolve the issue.

 

'<?xml:namespace prefix = "pclass="MsoListParagraph"style="margin" /><pclass="MsoListParagraph"style="margin:0in0in0pt0.5in;text-indent:-0.25in;mso-list:l0level1lfo1;"><?xml:namespace prefix = "spanstyle="font-size" /><spanstyle="font-size:16px;color:#1f497d;">

<P class=MsoListParagraph style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"><FONT color=#1f497d><FONT size=3>capabilities that serves as the tool for&nbsp;budgeting all o <BR><BR>Current December nbsp;</FONT></FONT></spanstyle="font-size:16px;color:#1f497d;">

</pclass="MsoListParagraph"style="margin:0in0in0pt0.5in;text-indent:-0.25in;mso-list:l0level1lfo1;"></P>'

Ianko
Telerik team
 answered on 08 Nov 2013
9 answers
208 views
Hello Community,

i use the Telerik radasyncupload control like this:

Web.Config
<appSettings>
  <add key="Telerik.AsyncUpload.TemporaryFolder" value="~/App_Data/RadUploadTemp" />
</appSettings>

asp.net
<telerik:RadAsyncUpload ID="rauIconUpload" runat="server" ChunkSize="0" Localization-Cancel="Löschen" Localization-Remove="Entfernen" Localization-Select="Auswählen"
  Culture="de-DE" Skin="MetroTouch" TargetFolder="img/icons" MaxFileInputsCount="1">
</telerik:RadAsyncUpload>
<telerik:RadButton ID="rbtnIconUpload" runat="server" Text="Speichern" Skin="MetroTouch"></telerik:RadButton>

vb.net
Private Sub rbtnIconUpload_Click(sender As Object, e As EventArgs) Handles rbtnIconUpload.Click
 
    If rtxtIconBezeichnung.Text = String.Empty Or rtxtIconBezeichnung.Text = Nothing Or CHKValidation(rtxtIconBezeichnung.Text) = False Then
        rnfUngueltigeEingabe.Visible = True
    Else
        Try
            For Each f As UploadedFile In rauIconUpload.UploadedFiles
                Dim img As New System.Drawing.Bitmap(f.InputStream)
                Dim h As Integer = img.Height
                Dim w As Integer = img.Width
                img.Dispose()
 
                Dim fileName As String = f.GetName()
                IconPfad = "~/img/icons/" & fileName
 
                If w = 16 And h = 16 Then
                    IconSize = "16x16"
                ElseIf w = 32 And h = 32 Then
                    IconSize = "32x32"
                Else
                    rnfIconNichtErzeugt.Visible = True
                    Exit For
                End If
 
                IconErzeugt = Datenzugriff.CRTNeuesIcon(rtxtIconBezeichnung.Text, IconPfad, rcbIconGruppe.SelectedValue, IconSize)
                If IconErzeugt = True Then
                    rnfIconErzeugt.Visible = True
                    Page.ClientScript.RegisterClientScriptBlock([GetType](), "CloseScript", "redirectParentPage('IconVerwaltung.aspx')", True)
                Else
                    rnfIconNichtErzeugt.Visible = True
                End If
            Next
        Catch ex As Exception
            rnfIconNichtErzeugt.Visible = True
        End Try
    End If
End Sub

If i try to use InputStream i get a filenotfoundexeption. I added a Screanshot of this error.

So, what i'm doing wrong?

Thank you for reading.
Daniel
Top achievements
Rank 1
 answered on 08 Nov 2013
4 answers
75 views

On page load I am getting two errors:
 The server method GetResources / GetAppointments Failed.
Also if I try to insert I get "InsertAppointment" failed.

I am using .NET MVC 4
The Scheduler is being put on the page via a partial control.

 

<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
 
 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
 
 
<form id="SchedulerForm" runat="server">
 
 
 <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
 
 
 
</telerik:RadStyleSheetManager>
 
  
 
<asp:ScriptManager runat="server" ID="sm1"></asp:ScriptManager>
 
  
 
<telerik:RadAjaxManager ID="RadAjaxManager" runat="server">
 
 
 
<AjaxSettings>
 
 
 
<telerik:AjaxSetting AjaxControlID="Scheduler">
 
 
 
<UpdatedControls>
 
 
 
<telerik:AjaxUpdatedControl ControlID="Scheduler" />
 
 
 
</UpdatedControls>
 
 
 
</telerik:AjaxSetting>
 
 
 
</AjaxSettings>
 
 
 
</telerik:RadAjaxManager>
 
 
 
<telerik:RadScheduler runat="server" ID="Scheduler"
 
 
 
ClientIDMode="Static"
 
 
 
StartInsertingInAdvancedForm="True"
 
 
 
AllowEdit="true" AllowInsert="true"
 
 
 
>
 
 
 
 
 
 <WebServiceSettings path="/Models/SchedulerWcfService.svc" UseHttpGet="true" ResourcePopulationMode="ClientSide"/>
 
 
 
<AdvancedForm Modal="true" />
 
 
 
</telerik:RadScheduler
 
 
 
>

 

 



The path to the webservice works.

 

<system.serviceModel>
 
 
 
 <bindings>
 
 
 
 <basicHttpBinding>
 
 
 
 <binding name="BasicHttpEndpointBinding">
 
 
 
 <security mode="TransportCredentialOnly">
 
 
 
 <transport clientCredentialType="Windows" />
 
 
 
 </security>
 
 
 
 </binding>
 
 
 
 </basicHttpBinding>
 
 
 
 </bindings>
 
 
 
 <services>
 
 
 
 <service behaviorConfiguration="AuthenticationServiceTypeBehaviors"
 
 
 
name="DOTTReportsWebViewer.Models.SchedulerWcfService">
 
 
 
 <endpoint binding="basicHttpBinding" bindingConfiguration="BasicHttpEndpointBinding"
 
 
 
name="BasicHttpEndpoint" contract="DOTTReportsWebViewer.Models.SchedulerWcfService" />
 
 
 
 </service>
 
 
 
 </services>
 
  
 
 <behaviors>
 
 
 
 <serviceBehaviors>
 
 
 
 <behavior name="AuthenticationServiceTypeBehaviors">
 
 
 
 <serviceMetadata httpGetEnabled="true" />
 
 
 
 <serviceDebug includeExceptionDetailInFaults="false" />
 
 
 
 </behavior>
 
  
 
 </serviceBehaviors>
 
 
 
 </behaviors>
 
  
 
 </system.serviceModel>
 
 
 
 
 
 
 
  
 
</form
 
 
 
>

 

 

 

 

 

If I change :

<WebServiceSettings path="/Models/SchedulerWcfService.svc" UseHttpGet="true" ResourcePopulationMode

 

 

="ClientSide"/>
to:

<WebServiceSettings path="/Models/SchedulerWcfService.svc" UseHttpGet="true" ResourcePopulationMode="ServerSide"/>

I get a 401 error

Bozhidar
Telerik team
 answered on 08 Nov 2013
1 answer
35 views
I have noticed a strange behavior with the autocomplete box. I have an autocompletebox bound to an asp sql datasource and I have set an empty message to it. If I copy some text and paste into the input, the text gets added to the empty message.

Please suggest a solution.
Josephine
 
Shinu
Top achievements
Rank 2
 answered on 08 Nov 2013
1 answer
40 views
Telerik Support:

Can somebody help me to point out few shared web host/partners that supports radcontrols and offer full trust level for running a radcontrols web application?

Thanks
Freddy
Shinu
Top achievements
Rank 2
 answered on 08 Nov 2013
2 answers
103 views

I have switched to using absolute positioning via CSS classes for most of my page layouts.


I have a problem when working with various control wizards, more likely an issue with VS 2012, but I think other Telerik customers may have the same problem and hopefully know the solution. See attachment for an example of the HTML Designer window.



In the example, the menu appears at the top, as expected. The grid jammed-up against it, and attempting to select the Item Editor just selects the master page zone.



Previously with flow layout, the controls were spaced so that access to the item editor / wizard buttons were easy to locate and click.

Tomica
Top achievements
Rank 2
 answered on 07 Nov 2013
5 answers
354 views
Hello,

I am working on this telerik radchart and I am having some issues to customize the Y axis. I would like to set the scale manually from 0 to 110% of biggest value.
So I have
radchart.PlotArea.YAxis.AutoScale = false;<br>radchart.PlotArea.YAxis.MinValue = 0;<br>radchart.PlotArea.YAxis.MaxValue = (int) ((double)_maxAmount * 1.1);<br>radchart.PlotArea.YAxis.Step = 500;

        
The result is that my Y labels values don't match the major tick (see attached picture).

Could you please tell me what is not going right?
Thank you.
Greg
Top achievements
Rank 1
 answered on 07 Nov 2013
1 answer
145 views
Greetings!

I'm having trouble binding the RadAutoCompleteBox to an external web service (ie one residing on a different domain).

I notice that when the AutoCompleteBox calls a local web service, it uses POST. But it seems to change that to a GET when the web service is on a different domain, which means that the call is being rejected when I try it to both an .asmx and a .svc.

I've tested this repeatedly and note that when I change from http://localdomain.com/service.asmx to http://otherdomain.com/service.asmx then Chrome's Developer Tools are reporting that the service call changes from POST to GET.

I've tried experimenting with getting the .asmx and .svc methods to support GET, but that's causing other problems, so my first approach is to see if it's possible to force a POST, which seems to work.

My questions are:

  1. Is it possible to support POST for external web service calls, or would that require JSONP (which I gather is not supported)?
  2. If not (or perhaps, either way), is there any way to connect to an external web service .asmx (for example) and - if so - could you post a small demo of it? When I try connecting to an external .asmx via GET, I'm getting an error 500 because the ASMX isn't liking the URL sent by the RadAutoCompleteBox (Request format is unrecognized for URL unexpectedly ending in '/GetResourcePickerAutoCompleteSearchResults'.)

Please note that by "external web service", I do control that web service and can set it up any way required.

Thanks!

FRASER TUSTIAN
Nencho
Telerik team
 answered on 07 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
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
Iron
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?