Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
282 views

Hi, I am using excel-like filtering on my RadGrid similar to this demo.

I am wondering if there is a way to hide the extra filtering option as highlighted in red in the attached image, but keep the excel-like filtering. I know that the css for the whole menu can be edited with .RadGrid_[skin] .rmGroup {} but I don't know about the filter. Thanks

Tsvetomir
Telerik team
 answered on 01 Aug 2018
1 answer
335 views

Hi there, 

Our development team are using Kendo UI with entity framework 6 database first. We're wanting to try using stored procedures for some complex CRUD operations, but the team are adamant that this isn't possible. Could you please advise?

 

We're using 2016.1.226.440 - Kendo web extensions for asp.net mvc. Library package name is Kendo.MVC. Runtime version 4.0.

 

Cheers, 

Stamo Gochev
Telerik team
 answered on 01 Aug 2018
1 answer
121 views

Hello together, i don't get it working...

How can i change the start/end/interval values for the popup list of RadTimePicker clientside using javascript and how to repait that after manipulating?

I can read all the values with the apropriate methods:

  • get_startTime() -> returns my start date
  • get_endTime() -> returns my end date
  • get_interval() -> returns my interval date

Here is a sample code how i try to manipulate this (sample of an end-time):

1.... get the endTimePicker...
2.var timeView = endTimePicker.get_timeView();
3.var endTime = timeView.getTime();
4.endTime.setHours(17);
5.endTime.setMinutes(0);
6.endTime.setSeconds(0);
7.timeView.set_endTime(endTime);

 

After manipulation, i try to write it back to the object:

  • set_startTime(<manipulated start date>) 
  • set_endTime(<manipulated end date>)
  • set_interval(<manipulated interval date>)

Whe i than read the properties again, i only get the message "invalid date".

How can i manipulate these values in the correct way?

How can i repaint the popup list after the manipulation? With <timepicker-object>.repaint() ?

 

Thanks a lot for thinking about that.

Eyup
Telerik team
 answered on 01 Aug 2018
0 answers
63 views

Is there some way to add arrows to lines on the map?

Thank you

David
Top achievements
Rank 1
Iron
Iron
Veteran
 asked on 31 Jul 2018
0 answers
49 views

Is it possible to "paint" shape by using javascript after original load? To identify i can use some of the shape properties.

Thank you

David
Top achievements
Rank 1
Iron
Iron
Veteran
 asked on 31 Jul 2018
8 answers
236 views
Hi!  I was wondering if someone knew of a way to capture the HTML when it is pasted into the HTML mode of the RadEditor?

I tried using 'OnClientPasteHtml' however that only fires off if you paste something into the Design mode of the RadEditor.  I need to capture whatever is pasted into the HTML mode of the RadEditor.

Thanks!
Rumen
Telerik team
 answered on 31 Jul 2018
0 answers
76 views
In spreadsheet auto complete text box i can not able to do in the cell with the help of ajax or jquery  please help me out in that reason
sabyasachi
Top achievements
Rank 1
 asked on 31 Jul 2018
3 answers
2.6K+ views
Dear all,

please suggest me how to find controls in grid on client side

i have radgrid controle in that ItemTemplate i have Radcombobox but i am not able to get that RadcomboBox on client side
my code is below

<telerik:RadGrid ID="RadGrid_ECNEntity" runat="server" AutoGenerateColumns="False"
GridLines="None" OnNeedDataSource="RadGrid_ECNEntity_OnNeedDataSource" OnInsertCommand="DoInsert">
<MasterTableView CommandItemDisplay="Top" EditMode="InPlace">
         <Columns>
               <telerik:GridTemplateColumn DataField="EntityName" HeaderText="EntityName" UniqueName="EntityName"
                    SortExpression="EntityName">
                     <ItemTemplate>
                      <asp:Label ID="lblECNEntityName" runat="server" Text='<%#Bind("EntityName") %>' />
                     </ItemTemplate>
                 <EditItemTemplate>
                     <telerik:RadComboBox ID="RadComboBox_EntityName" runat="server" EnableLoadOnDemand="true"
                                            DataTextField="Value" DataValueField="Key" OnItemsRequested="RadComboBox_EntityName_OnItemsRequested"
                                            AllowCustomText="true" ShowMoreResultsBox="true" OnClientSelectedIndexChanged="LoadECnEntityKeys" />
                  </EditItemTemplate>
                </telerik:GridTemplateColumn>
                <telerik:GridTemplateColumn DataField="EntityKeyName" HeaderText="EntityKeyName"
                                    UniqueName="EntityKeyName" SortExpression="EntityKeyName">
                        <ItemTemplate>
                          <asp:Label ID="lblECNEntityKeyName" runat="server" Text='<%#Bind("EntityKeyName") %>' />
                         </ItemTemplate>
                       <EditItemTemplate>
                         <telerik:RadComboBox ID="RadComboBox_EntityKeyName" runat="server" EnableLoadOnDemand="true" EnableViewState="false"
                              DataTextField="Value" DataValueField="Key" OnItemsRequested="RadComboBox_EntityKeyName_OnItemsRequested"
                              AllowCustomText="true" ShowMoreResultsBox="true" OnClientItemsRequested="ItemsLoaded"/>
                         </EditItemTemplate>
                  </telerik:GridTemplateColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
  
  
<telerik:RadScriptBlock ID="scriptBlock" runat="server">
    <script type="text/javascript">
      
        function LoadECnEntityKeys(sender, eventArgs) {
             
            var EntityKeyName = $find("<%= RadGrid_ECNEntity.ClientID%>").get_masterTableView().get_item().findControl("RadComboBox_EntityKeyName");  
  
            var item = eventArgs.get_item();
            EntityKeyName.set_text("Loading...");
              
            // if a Entity is selected
            if (item.get_index() > 0) {
                // this will fire the ItemsRequested event of the 
                // EntityKey combobox passing the EntityID as a parameter
                EntityKeyName.requestItems(item.get_value(), false);
            }
            else {
                // the -Select a Entity- item was chosen
                EntityKeyName.set_text(" ");
                EntityKeyName.clearItems();
            }
        }
  
        function ItemsLoaded(sender, eventArgs) {
            if (sender.get_items().get_count() > 0) {
                // pre-select the first item
                sender.set_text(sender.get_items().getItem(0).get_text());
                sender.get_items().getItem(0).highlight();
            }
  
            sender.showDropDown();
        }
  
    </script>
</telerik:RadScriptBlock>


I am getting error for this line
var EntityKeyName = $find("<%= RadGrid_ECNEntity.ClientID%>").get_masterTableView().get_item().findControl("RadComboBox_EntityKeyName");  
Eyup
Telerik team
 answered on 31 Jul 2018
5 answers
130 views
Hello,

Browing a database with thousand of elements hierarchicaly related, I would appreciate having radTreeview load on demand working like radCombobox or RadGrid: as I may have thousand nodes on same tree level, I don't want to read them all but need only to paginate with a fixed page size.

Actual version doesn't offers this , is there something todo ?

Thanks CS
ShareDocs
Top achievements
Rank 1
 answered on 31 Jul 2018
5 answers
188 views
I've got two RadEditors collecting static content to put above and below some data driven content that will wind up rendering out on the page like

<body>
<< content from RadEditor1 >>
<< data driven content >>
<< content from RadEditor2 >>
</body>

I'd like to allow a <div> or <table><tr><td> to be left open in RadEditor1 to be followed by </div> or </td></tr></table> in RadEditor2 (this would be entered in the HTML view of the editor).

I've tried setting the ContentFilters to None and the RadEditor automatically closed the tags. So RadEditor HTML would start with <table><tr><td> and when I switch to the designer and back to HTML I now see <table><tbody><tr><td></td></tr></tbody></table>. 

Is is possible to force RadEditor to not fix the HTML for me?

Thanks for your help!
Rumen
Telerik team
 answered on 31 Jul 2018
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?