Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
242 views

After downloading patched Telerik.Web.UI.dll to address the recent security vulnerability (version 2017.1.228.45), I'm running into this error:

Telerik.Web.UI.RadEditor with ID='[some control id]' was unable to find an embedded skin with the name 'Vista'. Please, make sure that the skin name is spelled correctly and that you have added a reference to the Telerik.Web.UI.Skins.dll assembly in your project. If you want to use a custom skin, set EnableEmbeddedSkins=false.

Is this because the version number of Telerik.Web.UI.Skins.dll no matches the version number of Telerik.Web.UI.dll?  Is there a practical way of addressing without upgrading all components to match

 

 

 

Matthew
Top achievements
Rank 1
 asked on 29 Sep 2017
0 answers
154 views
I have the following scenario:

- a main aspx page
- a user control inside that aspx.page, lets call this parent_user_control
- two RadComboBox, with only numbers on them. 
- The first one, RadComboBox1, for example when the user chooses 2, it will dynamically generate 2 user controls, lets call them child_user_control_1
- The second one, RadComboBox2, for example when the user chooses 1, it will dynamically generate 1 user control, lets call it child_user_control_2. 
- child_user_control_2, has another RadComboBox, called RadComboBox_2_1, again with numbers only, that dynamically generates another user control, called grandchild_user_control.
- grandchild_user_control has a RadComboBox called RadComboBox_grandchild, with an EmptyMessage="Please select", and only numbers, but the numbers must match RadComboBox1, as in, when 2 was chosen, only options 1 through 2 should appear in this RadComboBox_grandchild. If the value from RadComboBox1 changes to 5, then the range of values in RadComboBox_grandchild should change to 1 through 5. Same if it decreases from 2 to 1, only the value 1 should be available.
- I properly handled the recreation of dynamic user controls, so all values persist, and the values in RadComboBox_grandchild get properly updated. 

Here is the problem:

When I change the value to a smaller number, say from 3 to 1, and I have, for example, the value 2 already chosen in RadComboBox_grandchild, the list gets updated, and in the code_behind the values change correctly (as in selectedIndex is -1, selectedItem is null, etc.) BUT, I do not see "Please select", I still see the value "2", even though it is no longer in the list.

How can I avoid this? How can I make it show the EmptyMessage "Please select" again? I tried the ClearSelection method, but it didn't do anything, because it already is without a selection. It seems to me that the mechanism used to persist the values from the previous postback, is forcefully persisting a value that no longer exists.
Fermin
Top achievements
Rank 1
 asked on 29 Sep 2017
2 answers
236 views
the latest Google Chrome: Version 61.0.3163.100 (Official Build) (64-bit) is causing issues with the menu on hover. We have a menu that is docked on the top of our layout master page. within these different menu items are child items that go down when you hover over them. However if you have to scroll down on any of the pages and are near the bottom or at the bottom of the page, and you hover over the menu item the child items go up instead of down. I have screen shots for example. This is only happening in the latest version of Chrome.
Dustin
Top achievements
Rank 1
 answered on 29 Sep 2017
3 answers
533 views

Hello,

I've been struggling with issue, how to get EnableTimeIndependentFiltering property working in GridTemplateColumn.

Let me describe the issue. We have datetime columns in our SQL database. These columns have in some rows normal dates such 21.9.2017 15:10:00 but some have the intial value 01.01.1900 00:00:00. Because I don't know how to suppress this initial value to be shown, I use GridTemplateColumn instead of GridDateTimeColumn. The problem is that this column even with property DataType="System.DateTime" didn't know EnableTimeIndependentFiltering.

Here is my sample column declaration:

<telerik:GridTemplateColumn DataField="TransferOrder_ChangedDate" HeaderText="Dátum vykonania" HeaderStyle-Font-Bold="true"
                               HeaderStyle-HorizontalAlign="Center" ReadOnly="True" SortExpression="TransferOrder_ChangedDate" DataType="System.DateTime"
                               ItemStyle-HorizontalAlign="Left" UniqueName="TransferOrder_ChangedDate" FilterControlWidth="120px" ColumnGroupName="TransferOrder"
                               AutoPostBackOnFilter="false" CurrentFilterFunction="EqualTo" >
                               <ItemTemplate>
                                   <asp:Label ID="lbl_TransferOrder_ChangedDate" runat="server" Text='<%# ((DataRowView)Container.DataItem)["TransferOrder_ChangedDate"].ToString() == nulldateTime.ToString() ? " ": string.Format("{0:dd.MM.yyyy HH:mm:ss}", ((DataRowView)Container.DataItem)["TransferOrder_ChangedDate"]) %>'></asp:Label>
                               </ItemTemplate>
                           </telerik:GridTemplateColumn>

 

The question is how can I filter data based on whole day value without need to type hours, minutes and second in GridTemplateColumn ?

Thank you

Best regards

Vasssek

 

 

Eyup
Telerik team
 answered on 29 Sep 2017
2 answers
525 views

Hi,

I have a radiobuttolist with 3 items.

<telerik:RadRadioButtonList ID="RadRadioButtonList1" runat="server"AutoPostBack="False">

    <Items>
        <telerik:ButtonListItem Text="Approve" Value="value1"Selected="True" />
        <telerik:ButtonListItem Text="Return" Value="value2" />

  <telerik:ButtonListItem Text="Reject" Value="value3" />
    </Items>
</telerik:RadRadioButtonList>

 

I need to remove 3rd item from the list on client click of some other control (for example on button client click). Is that possible? If yes, how can I remove it from client side using jQuery?

At the end result I should I have only 2 options: Approve and Return.

 

And if I click again on the button, It should display all 3items.

Thanks in advance for your valuable help.

Purushothama
Top achievements
Rank 1
 answered on 29 Sep 2017
4 answers
798 views
Hi Telerik Guys !

I have a problem with the DEFAULT SKIN of RAD GRID.

I have applied the following property named  GridLines="Vertical" to the DEFAULT SKIN of the RAD GRID . but chnages havent been reflected on to the runtime of the GRID.

I dont know whats the problem ??

Please solve.
KUNAL
Top achievements
Rank 1
 answered on 29 Sep 2017
0 answers
107 views

I attached a image for that. In which when i click on Add Filter icon I add a new row inside nested grid. But it get add on every nested Grid.

I want it to be add for a particular row of parent grid not for every parent row only for a row in which Add Filter is get clicked.

grdTruckerSlot_ItemCommand: parent grid 

grdSlotFilterAllocation : nested grid(child)

StoretruckingFilterSlots: view state

 

public DataTable StoretruckingFilterSlots        {            get { return ViewState["StoretruckingFilterSlots"] != null ? (DataTable)ViewState["StoretruckingFilterSlots"] : new DataTable(); }            set { ViewState["StoretruckingFilterSlots"] = value; }        }

 

protected void grdTruckerSlot_ItemCommand(object source, GridCommandEventArgs e)
       {
        case "AddFilter":
                            
                               DataRow drnew = StoretruckingFilterSlots.NewRow();
                               StoretruckingFilterSlots.Rows.Add(drnew);
 
                               GridDataItem dataItem = e.Item as GridDataItem;
                               GridNestedViewItem nestedItem = (GridNestedViewItem)dataItem.ChildItem;
                                                             
                                   RadGrid grdSlotFilterAllocation = (RadGrid)nestedItem.FindControl("grdSlotFilterAllocation");
                               grdSlotFilterAllocation.DataSource = StoretruckingFilterSlots;
                               grdSlotFilterAllocation.Rebind();
       }

Please help me in this.

Thanks

Mayur

Mayur
Top achievements
Rank 1
 asked on 29 Sep 2017
1 answer
477 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
109 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
299 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?