Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
61 views
I am using a RadTreeList control to display a bunch of items. I added a RadContextMenu to the page and set the OnItemClick event so I can use it in the code behind to set the URL of my RadWindow based on Insert and Edit. Then I open a radwindow using that url.


It looks exactly like the one in this demo

protected void rcMenu_ItemClick(object sender, RadMenuEventArgs e)
        {
            switch (e.Item.Value)
            {
                case "Insert":
                    url = "~/Admin/ManageItemsDialog.aspx?ID="
                    break;
                case "Edit":
                    url = "~/Admin/ManageItemsDialog.aspx?ID="
                    break;
            }
    }


In here I am trying to retrieve the ID and the ParentID of the selected item from the tree list. The ultimate goal is to open a RadWindow passing the ID and ParentID through the URL.
bluetea55z
Top achievements
Rank 1
 answered on 24 Sep 2014
5 answers
531 views
Hi,

I am using Telerik control version 2012.3.1322.40 on my web application with .net framework 4.0. I would like to upgrade / convert my webapplication for .net Framework 4.5. Would Telerik control version 2012.3.1322.40 supports .net framework 4.5 or should I upgrade telerik control version as well?

Which version of .net framework is supportable by Telerik control version 2012.3.1322.40?
Thanks.
Jayesh Goyani
Top achievements
Rank 2
 answered on 23 Sep 2014
4 answers
282 views
I have the following columns in a RadGrid

<telerik:GridBoundColumn DataField="NavigateTarget" HeaderText="Navigate Target" UniqueName="NavigateTarget" DataType="System.String" ColumnEditorID="Editor_NavigateTarget" />    
<telerik:GridCheckboxColumn DataField="Enabled" HeaderText="Enabled" UniqueName="Enabled" DataType="System.Boolean" ColumnEditorID="Editor_Enabled" />    

 which, when rendered in in-place edit mode, looks like this:
  

Note that for the first (string) column, the input id ends with TB_NavigateTarget. Presumably, TB stands for TextBox and it inferred the rest from the DataField or UniqueName. 

For the second (checkbox) column, the input id ends with ctl00, totally ignoring the DataField, UniqueName and ColumnEditorID specified in the markup. I was expecting something like Editor_Enabled or CB_Enabled 

So, two questions:

1. What is the ColumnEditorID property supposed to do? It is not affecting the ID of the INPUT elements.
2. How do I get a meaningful ID on the CheckBox? I need it for when the _UpdateCommand event is fired. 

I also have a GridNumericColumn and it behaves similar to the GridBoundColumn, i.e. it has a meaningful ID (RNTB_<data field>) so I know that it's not a GridBoundColumn vs. specific-type column issue.

Thanks.
Jayesh Goyani
Top achievements
Rank 2
 answered on 23 Sep 2014
2 answers
274 views

Hello Folks,

I do know that the AutoCompleteBox has been designed to display its DropDown upon a user entry and not before. But this behavior does eventually create a little confusion when the user has no idea what the possibilities are. Therefore I would like to achieve the following functionality:

  1. Populate the dropdown immediately with a maximum of 100 elements
  2. Display the dropdown at load time after being populated with the 100 elements
  3. Upon user entry, the filtering should happen on all possible elements, not only the 100 elements that were preloaded

I am aware that the RadComboBox with the LoadOnDemand event could come close to the solution,... but close isn't enough. I would really like to use the AutoCompleteBox. Any idea how to achieve this ?
Thanks

Francois MARTIN
Top achievements
Rank 2
 answered on 23 Sep 2014
5 answers
174 views
I have followed the URL below to not wrap the values in a fixed-width RadListBox.

http://www.telerik.com/help/aspnet-ajax/listbox-scroll-items-horizontally.html

However, I have CheckBoxes set to true, so the non-wrapping is oddly formatted.  It appears as below

[] Value 1
[] Value 2
[]
Value 3 is very long and causes the correct scroll
[] Value 4

Is there a way around this?
Magdalena
Telerik team
 answered on 23 Sep 2014
3 answers
87 views
is it possible to switch simply between HTML and plain text look
Marin Bratanov
Telerik team
 answered on 23 Sep 2014
3 answers
110 views
I have a scenario where after click on submit button, I need to retain all the files- (valid and invalid). So that user is aware of the invalid files. However, currently only valid files that are successfully uploaded are retained on postback of submit button click. Is there a way where I can retain all the invalid files also after postback??
Boyan Dimitrov
Telerik team
 answered on 23 Sep 2014
1 answer
120 views
hello

I have webpart containing radgrid with scroll.
when i scroll grid , page also scroll

so i want to do is - hide disable or hide page scroll when focus is on radgrid and enable scroll when focus is out of radgrid

below is attached image

please help.

thanks
Kishor
Pavlina
Telerik team
 answered on 23 Sep 2014
1 answer
117 views
Hello, we have been using RadColorPicker in RadGrid, but there was always a problem. 
As we searched for the source of the problem, we have seen that the event of the row's mousedrag event was fired when we selected a color from RadColorPicker.
We don't know if it's a skirmish between RadGrid or RadColorPicker, but we would like you to look for the problem there.

Here's a summary of the problem:

* When a row is not selected, if user selects a color from colorPicker, it draws the selecting area but, when user selects a color from RGB option and clicks 'Apply' nothing unusual happens.

* When a row is selected, if user selects a color from colorPicker, it begins to drag the row element with colorPicker open but, when user selects from RGB options, nothing unusual happens.

* When multiple rows are selected, if user selects a color, it begins to drag all of the selected rows. 

The video is here: http://www.youtube.com/watch?v=HFo2edgln_g
Niko
Telerik team
 answered on 23 Sep 2014
3 answers
134 views
Hello,

I am trying to set a custom color to my appointments, e.Appointment.BorderColor is not enough I need to set a
argb color. It worked for me with the headers but when I add e.Appointment.Attributes.CssStyle I can't find it
back in my HTML. Am I missing something?

Greeting
Boyan Dimitrov
Telerik team
 answered on 23 Sep 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?