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

I have installed SQLServer.Types (version 14.0.314.76 from NuGet) followed by Microsoft.ReportingServices.ReportViewer.Webforms 14.0.0.0 (version: 140.802.134 NuGet) . 

The website has references to Telerik.Web.UI.dll (2017.2.711.45) and Telerik.Web.UI.Skins.dll (2017.2.711.45).

I am using RadScriptManager in a page.
I have followed all the steps (to add the control to a web page) and make sure web.config has the related entries for both ReportViewer.WebForms and ReportView.Common dlls, httphandlers, handlers etc. But, when I try to run (from Visual Studio 2015), it breaks at code line
  // Setup responsive toolbar layout         var self = this;
        if ($) {             window.$RSjQuery(window).on("resize", function () {                 self.ResizeToolbarIcons();             });         }
 in Microsoft.Reporting.WebFormsClient._Toolbar.prototype.ConnectEventHandlers() of Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=14.0.802.134&Name=ViewerScript[dynamic] and I noticed that the error is because 'window.$RSjQuery is undefined'. What could I be missing in my installations ? Could you please help?
Thank you

Rumen
Telerik team
 answered on 29 Sep 2017
0 answers
76 views

Hi there

I have a dynamically created grid.  Some of the columns are read-only.  On clicking on a cell which is not read-only, it goes into edit mode for that cell only (via rowclick), and that seems to working quite well for gridboundcolumns, which currently all the "editable" cells are, and I've been able to control the types of fields used for editing using the dataformatstring option (to distinguish between text, dates, currency, etc).

So far, so good.

One of my "text" fields is actually a memo field so it needs to display as a multiline field rather than a normal text field.

Is it possible to show a multiline field for a gridboundcolumn?

Thanks for your time.

 

Cheryl
Top achievements
Rank 1
Iron
 asked on 28 Sep 2017
3 answers
239 views

Dear Telerik team,

 

I have problem clear content of radeditor after button submit. My radeditor not inside updatepanel, but my button inside updatepanel.

When submit button i cannot clear content of radeditor.

Please inform how to clear with my condition.

 

Thanks,

Rumen
Telerik team
 answered on 28 Sep 2017
3 answers
274 views
VS2010
.Net 4

Trying to change the Telerik version from 2010 to 2011.2.915.40.

I am getting the following error when trying to compile:

Error 11 Could not load file or assembly 'file:///C:\Program Files\\Application Libraries\Bin6.5\Telerik 2011\Telerik.Web.UI.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) C:\abc\Branch\SGEN abc

Tried adding the following web.config key, but no change in build error:

 

 

<system.webServer>
  <handlers>
   <add name="Telerik.Web.UI.WebResource"  path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2011.2.915.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />   
  </handlers>
 </system.webServer>

Any help will be appreciated.

Allan
Flemming
Top achievements
Rank 1
Veteran
 answered on 28 Sep 2017
6 answers
409 views
Hi,

I am trying to Create Flow chart layout. Is there any control abvailble fo that ? as of now i am usnig Dynamic Dock control and saving in database but I could not estabish line for relation ship.

if you can help it woud be very helfup

Thanks,
Manprit Singh
Top achievements
Rank 1
 answered on 28 Sep 2017
0 answers
205 views
Does RadDataForm support validation? I want to add RequiredFieldValidator and do a server side validation.
I am using DataForm with SelectMethod/UpdateMethod (Model Binding) and ValidationSummary.
I start the form in Edit Mode.

When I click Update and the field is empty, update method does not get called. There are no errors displayed on the page though. I can see that NameCustomValidator_ServerValidate method is called and it sets IsValid to false.

If the field is not empty then update method is called and works as expected.

I am using version 2017.2.711.45

I was able to successfully use validation with RadGrid.

My code...

<asp:ValidationSummary ID="ValidationErrors" runat="server" />
 
<telerik:RadDataForm ID="DataForm" runat="server" SelectMethod="GetDetails" UpdateMethod="UpdateDetails"
            ItemType="MyData" DataKeyNames="ID"
            OnPreRender="DataForm_PreRender" ItemPlaceholderID="itemPlaceholder1">
    <LayoutTemplate>
        <div id="itemPlaceholder1" runat="server"></div>
    </LayoutTemplate>
    <ItemTemplate>Empty Read Only Page</ItemTemplate>
    <EditItemTemplate>
        <div>
            <telerik:RadButton ID="InsertButton1" runat="server" ButtonType="StandardButton" CommandName="Update" Text="Update" />
            <telerik:RadButton ID="CancelButton1" runat="server" ButtonType="StandardButton" CausesValidation="False" CommandName="Cancel" Text="Cancel Changes" />
        </div>
        <table>
            <tr>
                <td><telerik:RadLabel ID="NameLabel" runat="server" AssociatedControlID="NameTBox">Name:</telerik:RadLabel></td>
                <td>
                    <telerik:TextBox ID="NameTBox" runat="server" Text="<%# BindItem.Name %>"></telerik:TextBox>
                    <asp:RequiredFieldValidator ID="NameValidator" runat="server" ControlToValidate="NameTBox" ErrorMessage="Name is required" Text="!" Display="Static" />
                    <asp:CustomValidator ID="NameCustomValidator" runat="server" ControlToValidate="NameTBox" OnServerValidate="NameCustomValidator_ServerValidate" ErrorMessage="Name is required" Text="!" Display="Static" />
                </td>
            </tr>
        </table>
     </EditItemTemplate>
</telerik:RadDataForm>

 

Start DataForm in edit mode

protected void DataForm_PreRender(object sender, EventArgs e)
{
    // Display Edit mode when first loaded
    // Stay in Edit mode after update
    RadDataForm editForm = (RadDataForm) sender;
    if (editForm.Items.Count() > 0)
    {
        RadDataFormItem item = editForm.Items[0];
        item.FireCommandEvent("Edit", "");
    }
}

This does get called.

protected void NameCustomValidator_ServerValidate(object source, ServerValidateEventArgs args)
{
    args.IsValid = !string.IsNullOrEmpty(args.Value);
}

 

Thanks

Marius
Top achievements
Rank 1
 asked on 27 Sep 2017
0 answers
88 views

hello everyone , im new in this forum , i just started with a company, this company use a telerik user controls,

we must do a wizard for a client , and im working for a maket thats is look like to a skin METROTOUCH wizard ,

but im wondered that i cant add a button in the navigation button bar (next , previous , cancel , finish) that process my logic , and wondered that an old wizard it contain a commandarea wich can created and handled on the code behind , it regroup all button and you can add a button on the code too.

can any one suggest to me how to add a button on navigation Bar

Fahd
Top achievements
Rank 1
 asked on 27 Sep 2017
1 answer
95 views

Hi, 

I'm trying to implement a RadEditor with an Undo tool through EditorContextMenu (the right-click menu), the menu actually comes up with an "Undo" text and the icon but when I click it nothing happens. I can get the Undo function to work with telerik:EditorToolGroup (the toolbar icon), but not with the EditorContextMenu. As I recall I was able to do this in the past? 

Can anyone please confirm if it's still possible and if so, how would I go about implementing it?

 

Thanks,

Patrick. 

Pat
Top achievements
Rank 1
 answered on 27 Sep 2017
1 answer
197 views
There are a number of controls missing from the new editor that was not in the old telerik editor. including Add spell check, cut, copy and paste {several options}, undo, redo, new paragraph, horizontal rules, insert time, insert symbol. Anyway to bring those functionalities into  ASP.net core?

Asp.net core libraries
http://demos.telerik.com/aspnet-mvc/editor/all-tools

Old ajax libraries
http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx
Rumen
Telerik team
 answered on 27 Sep 2017
1 answer
71 views

 Hello Support,

We have Telerik grid in our application 
We  are facing the problem of sorting for date field column It sort only for date and month field not for year field
we have set the autogenerated column is true and all columns are dynamically generated that are bound to grid
Please help us to resolve the problem

Thank you 
Sandip Katore

Eyup
Telerik team
 answered on 27 Sep 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?