protected void Page_Init(object sender, EventArgs e) { GridBoundColumn idColumn = new GridBoundColumn(); idColumn.DataField = "Id"; idColumn.Display = true; idColumn.SortExpression = "Id"; idColumn.UniqueName = "Id"; idColumn.HeaderText = "Id"; RadGrid1.MasterTableView.Columns.Add(idColumn); GridBoundColumn realNameColumn = new GridBoundColumn(); realNameColumn.DataField = "RealName"; realNameColumn.Display = true; realNameColumn.HeaderText = "name"; realNameColumn.UniqueName = "RealName"; realNameColumn.SortExpression = "RealName"; RadGrid1.MasterTableView.Columns.Add(realNameColumn); }protected void Page_Load(object sender, EventArgs e) { IDAL.IBaseRepository<Model.HS_Docter> doctors = new DAl.BaseRepository<Model.HS_Docter>(); RadGrid1.DataSource = doctors.GetDataTable("select * from Hs_doctor"); }protected void RadGrid1_SortCommand(object sender, GridSortCommandEventArgs e) { IDAL.IBaseRepository<Model.HS_Docter> doctors = new DAl.BaseRepository<Model.HS_Docter>(); switch (e.OldSortOrder) { case GridSortOrder.Ascending: e.Item.OwnerTableView.DataSource = doctors.GetDataTable("select * from hs_doctor").Select("", e.CommandArgument.ToString() + " asc"); break; case GridSortOrder.Descending: e.Item.OwnerTableView.DataSource = doctors.GetDataTable("select * from hs_doctor" ).Select("", e.CommandArgument.ToString() + " desc"); ; break; } }<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>
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 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>'

<appSettings> <add key="Telerik.AsyncUpload.TemporaryFolder" value="~/App_Data/RadUploadTemp" /></appSettings><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>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 IfEnd SubOn 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
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.
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;