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

Is there a way to hide the Time column in Agenda view? Or, can I customize the Start time & End time? I saw on one example, in the Time column, only the Start time shows, or "All days", but I couldn't find the code for it. I am using version 2013.3.1114.40.

Thanks for your help.

Tri
Plamen
Telerik team
 answered on 02 Mar 2015
11 answers
245 views
Hello,

I am useing telerik version 2014.3.1209.40. I use radcombox with checkbox features.

<telerik:RadComboBox ID="MultiCheckComboLocation" runat="server" CheckBoxes="true" Width="80%" ZIndex="1000000" OnSelectedIndexChanged="MultiCheckComboLocation_SelectedIndexChanged" ShowMoreResultsBox="true" AutoPostBack="true" OnClientBlur="IsCheckAllSelected" EnableVirtualScrolling="true" CheckedItemsTexts="DisplayAllInInput" EnableCheckAllItemsCheckBox="true" EnableEmbeddedSkins="False" EnableEmbeddedScripts="False">
</telerik:RadComboBox>

But when I tick the checkbox, the checked item did not appear in combo text field. Also when I click checkall checkbox, nothing happened. It is working fine Google Chrome. But not working on both ie 11 and firefox 34.0.5. 

And combox not show data when I use itemsrequested event to bind data.

<telerik:RadComboBox ID="cboEmployee2" EmptyMessage="Select Employee ID or Name" Width="250px" CheckBoxes="true" Skin="Default" EnableLoadOnDemand="True" ShowMoreResultsBox="false"  ForeColor="Black" EnableVirtualScrolling="true" Font-Size="12px" OnClientItemChecked="OnClientItemCheckedEmp2" OnClientDropDownClosed="OnClientSelectedIndexChangedEmp2" AutoPostBack="false"  runat="server" OnItemsRequested="cboEmp2_ItemsRequested" EnableCheckAllItemsCheckBox="true" OnClientLoad="OnClientLoad2" ZIndex="1000000" OnClientBlur="IsCheckAllSelected2" ShowToggleImage="false" EnableEmbeddedSkins="False" EnableEmbeddedScripts="False">
</telerik:RadComboBox>


It fired itemsrequested event and I got data and it binds to the control. But after everything finished, the combox only show the word measuring item. I attached the picture for it. 

Kindly help me on this issues. Thanks in advance.

Best regards,
Ei Wai
Ei Wai
Top achievements
Rank 1
 answered on 02 Mar 2015
1 answer
194 views
I followed this example to setup custom filtering in the Rad Grid: http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/filtering/filter-templates/defaultcs.aspx

This works, however when I pick an option it fails with this error:

0x800a138f - Microsoft JScript runtime error: Unable to get value of the property 'getElementsByClassName': object is null or undefined

The code (inside the filter as per the sample):

<telerik:GridBoundColumn UniqueName="Division" HeaderText="Division" DataField="Division.Division1" SortExpression="Division.Division1" AutoPostBackOnFilter="true" CurrentFilterFunction="EqualTo" ShowFilterIcon="true" ReadOnly="true">
                        <FilterTemplate>
                            <telerik:RadComboBox ID="RadComboBoxTitle" DataSourceID="edsDivision" DataValueField="DivisionID" DataTextField="Division1"
                                Height="200px" AppendDataBoundItems="true" SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("Division").CurrentFilterValue %>'
                                runat="server" OnClientSelectedIndexChanged="TitleIndexChanged">
                                <Items>
                                    <telerik:RadComboBoxItem Text="All" />
                                </Items>
                            </telerik:RadComboBox>
                            <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
                                <script type="text/javascript">
                                    function TitleIndexChanged(sender, args) {
                                        var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
                                        tableView.filter("DivisionID", args.get_item().get_value(), "EqualTo");
                                    }
                                </script>
                            </telerik:RadScriptBlock>
                        </FilterTemplate>
                    </telerik:GridBoundColumn>

Division ID is a Foreign Key on the main table I'm using...

<asp:EntityDataSource ID="edsDivision" runat="server" ConnectionString="name=ERPEntities" DefaultContainerName="ERPEntities"
            EntitySetName="Divisions" EntityTypeFilter="Division" OrderBy="it.Division1"
            EnableInsert="false" EnableUpdate="false" EnableDelete="false">
        </asp:EntityDataSource>



args.get_item().get_value() = 3 in my example.



Line 476 of the Dynamic Javascipt is where it fails:

},getElementByClassName:function(d,c,g){if(d.getElementsByClassName){return d.getElementsByClassName(c)[0];

We are using IE9 in Standard IE9 mode.
Chrome and Firefox fail silently while Firefox reports a "TypeError: d is null"

How do I fix? 

Peter
Top achievements
Rank 1
 answered on 02 Mar 2015
1 answer
97 views
Hi, 

I am using grid in ajax mode, and I added an custom command, which calls javascript function on click.

The javascript function calls server side via ajax and update the data.
I have also change the front end value by using set.

Problem is, once I click the edit button(along side the custom command), the front end value changes back.

Also, any cancel change call revert the front end to old value, even that is triggered by different row.

How to commit changes so front end change sustain?

There must be a way, since all those build in command, like edit, delete, once server side returns json successfully, the change sustains.

Thanks

Konstantin Dikov
Telerik team
 answered on 01 Mar 2015
1 answer
23 views
Hi, 

I added a custom command along side with the standard edit button.

The command calls a javascript, which makes ajax call to do some update.

To keep front end consistent with backend, I also use 'set' method to change front end value.

However, once I click edit, the front end change back to old value.

Any way to sustain the change? 

Thanks
Konstantin Dikov
Telerik team
 answered on 01 Mar 2015
4 answers
184 views
Hi,
Our user base requires single column grids for data entry purposes. The requirement is that once they click the first row in the radgrid, they can type in the value, hit enter, and focus moves to the next cell (in this case, the next row because there is only one cell per row), where the cell is then automatically in edit mode and the user can start typing it's value... they hit enter, it moves focus to the next row, etc. They need to be able to use the enter key for this functionality, not the tab key. I've seen some excel-like controls out there that may do this, but we have spent the money on this suite already and I am hopeful that you can provide me the needed guidance.
I have already written code to save changes once all of the client side data has been entered. This is a master-content page setup.

Thanks
​
Konstantin Dikov
Telerik team
 answered on 01 Mar 2015
1 answer
79 views
Hi
I have 10thousands Records when i bind Telerik Grid with Pagination But loading verslow how to solve this

Give any idea 
Konstantin Dikov
Telerik team
 answered on 01 Mar 2015
0 answers
49 views
In a visual studio 2010 visual basic asp.net application, there is a Telerik tool that has been inserted into the application for users to create custom letters some other developers. When the users actually print the custom letter, it prints fine. However when the user is working with the application and entering specific data, there  is an area where the user is suppose to place an 'X' in an area marked as [  ]. After this specific area [  ] there is wording that explains why the area has an X placed in it. When the user looks at the form at this point before the 'print' the letter, the wording goes down the page instead of having wording appear all on one line. The data that appears to go down the page, is like data is entered in a 'narrow' cell in excel.

Thus can would you tell me what can be changed in the application so the 'wording' appears all on line and does not go down the page?
Diane
Top achievements
Rank 1
 asked on 01 Mar 2015
11 answers
1.6K+ views
hello,
I have created a page for searching, it contains a "search criteria Section" which include textboxes and combos for search plus a search button, by clicking the but I am calling a web method and passing the data in search criteria section, it returns the data correctly in JSON format as array

the question, How can I bind the returned data to the grid (client-side of course)?

thanks,
Taraman
Jayesh Goyani
Top achievements
Rank 2
 answered on 28 Feb 2015
2 answers
90 views
I have a in-house web-app that has been in production for 3 years. We have been using an old version of IE (9 to be precise).

We are testing IE11 now and I have this weird issue.

On some of my Telerik controls I have client-side events, ex.: on a radComboBox I have <I>onclientselectedindexchanged</I> and an associated event (function).

In IE11 I get the following error "JavaScript runtime error: 'rcbMarketTypeIndexChanged' is undefined", but in IE9, current versions of Firefox and Chrome I do not get any such errors and the functionality related to 'rcbMarketTypeIndexChanged' executes fine.

The javascript is embedded in the aspx file with the proper <scripts> tags.

I'm assuming that it might be related to a javacript syntax error (that I cannot find) which is rearing it's ugly head but I would assume it would affect other browsers including IE9 if that was the case.

Any suggestions on how to pin-point and rule out a javascript syntax issue.

Thanks

Alex
Top achievements
Rank 2
 answered on 27 Feb 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?