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

Hello. I'm going to use telerik ASP.NET AJAX Grid in my application. I have several tabs on the page that should have the grid. The functionality of grids is similar. So, Obviously, I would like not write the same HTML and Java Script several times, but I would like to create common general Java Script that allow me to create the grids. Is it possible? If not, Is it possible to do this with Kendo UI?

Thank you.

Yordan
Top achievements
Rank 1
 asked on 16 Aug 2017
2 answers
189 views

Hello,

I have a grid similar to http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/declarative-relations/defaultcs.aspx.  In my I have around 20 columns in the parent and only a few in the child.  I'm using locked columns so there is a horizontal scroll bar to view all the data.  The few items in the child grid get spread across the entire length of the parent grid which makes it extremely hard to read since you have to scroll all the way across the grid just to read a few columns.

Is there some way to reduce the size of the child grid so it doesn't span across the entirety of the parent grid?

Thanks

Chris
Top achievements
Rank 1
 answered on 16 Aug 2017
2 answers
161 views

Hello,

I've created grid with a parent and 2 and 3 child elements like the following sample: http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/declarative-relations/defaultcs.aspx

I would like to enable filtering for the parent items but not for any of the children elements.  I've enabled filtering in the grid using AllowFilteringByColumn="True" and in the children columns I've set them all to AllowFiltering="false".  This removes the filter from the child elements however it leaves an ugly bar underneath the column header where the filters normally would be.

Is there some way to disable this and only have filtering applied to the parent?

Thanks

Chris
Top achievements
Rank 1
 answered on 16 Aug 2017
2 answers
412 views

I am using RadDatePicker identically on several different pages. However, the Calendar icon shows on some pages, and not on others. Digging deeper, I discovered these invisible ones have the following CSS:

.RadInput a {
 display:block;
 overflow:hidden;
 position:relative;
 outline:0;
 z-index:2;
 text-indent:-2222px;
 text-align:center;
 text-decoration:none
}

Disabling the indent makes the icon visible again. What is the reason for this behavior, and how can I fix it?

David
Top achievements
Rank 1
 answered on 15 Aug 2017
4 answers
1.9K+ views
Hi,

Environment:
Asp.net, C#, Telerik Rad Grid.

We have an requirement to hide and unhide the column of telerik rad grid  by the user.
How can be achieve in client side?

Appreciate your earliest reply.

Thanks,
Sreenivas

Freeman
Top achievements
Rank 1
 answered on 15 Aug 2017
1 answer
251 views

I'm using the ComboBox with a checkbox list. The normal behavior for this control is to display the individual items that have been checked in the combobox "header" until the items exceed the width of the control. When that happens the item list that displays in the header is replaced by a generic "x items checked".

I can select/check various items, click away from the combobox, and the autopostback is triggered. I can then check other items, click away from the combobox again, and again the autopostback is triggered. Works great.

But if I check, say, 6 items the first time (the header reads "6 items checked"), which triggers the autopostback when I click away and then check a different set of 6 items (the header still reads "6 items checked"), then the autopostback doesn't fire. I can continue selecting different sets of 6 items and the autopostback is never triggered. As soon as I select 5 items or 7 items (anything but 6 items), then the autopostback is triggered.

This appears to only be an issue when the generic "x items checked" message is showing, no matter the number. If I check only two items that do fit in the header and then select a different two items after the first postback, it works as expected.

Here's how the combo box is defined:

                <telerik:RadComboBox id="ddlSpeciality" runat="server" Width="250px"

                    CheckBoxes="true" EnableCheckAllItemsCheckBox="true" OnClientItemChecking="OnClientItemChecking2"

                    MaxHeight="450px" AutoPostBack="true">
                </telerik:RadComboBox>

The combobox items are loaded dynamically when the page is loaded. The OnClientItemChecking is only required because we use some item grouping and the client function selects/deselects all items in any particular grouping when the parent item is checked/unchecked. This does not seem to have any bearing on the problem I described above as I can recreate the problem using only top level items with no grouping.

Richard
Top achievements
Rank 1
 answered on 15 Aug 2017
2 answers
165 views
I just noticed that the RadTextBox is not working right in terms of paste operations.  

I have two on the form, one on top of the other.  If I highlight the text in the upper single line control and *attempt* to paste it into the lower multiline control it does not work.  Either using hotkeys or the right-click mouse context popup.
Anatoliy
Top achievements
Rank 2
 answered on 15 Aug 2017
8 answers
432 views
I am using the current version of the controls. RadTextBox is being styled properly except when it is TextMode="multiLine". It is not resizing to the number of rows and does not show that it is resizable. I am also using bootstrap but this doesn't seem to have an effect otherwise. Happens in all browsers.

If I switch to a <asp:textbox> there is no problem but I want to use the rad control. 

<telerik:RadTextBox ID="rtbComments" runat="server" MaxLength="2000" TextMode="multiLine" Width="100%" class="form-control">
</telerik:RadTextBox>

Thanks.

Anatoliy
Top achievements
Rank 2
 answered on 15 Aug 2017
7 answers
514 views
What I'd like to do, is asynchronously post back my form and save the data every X seconds.

I know I can do this with javascript if I iterate my controls and build up some kind of comma separated string holding all the form values and send that to the server as a page method call, but because the form is quiet complicated (nested data lists and grid views), it would be much easier if I could just write the "Save" logic 1 time in the code behind (when the user clicks "Done") and reuse that same code for the auto save.

I was thinking maybe I could somehow use the rad ajax manager to cause an async postback of the page that the user wouldn't notice, and it wouldn't update any controls.

Is this possible?
Bhanu Prakash
Top achievements
Rank 1
 answered on 15 Aug 2017
0 answers
106 views

Hi,

I have a question about the editor's plugin dialog. For example, we added some customized features in image manager and we try to make some changes of  "dialogOpenerImageManager" div element too. Is there any way we can find this element from ImageManager.ascx control?

 

Thanks,

Lan

lan luo
Top achievements
Rank 1
Iron
 asked on 14 Aug 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?