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

I have a Repeater object on my page.  In the Repeater ItemTemplate, I have the following RadComboBox

<telerik:RadComboBox ID="rcboList"
CheckBoxes="true"
EnableCheckAllItemsCheckBox="true"
runat="server" />

When this portion of my page is loaded, contents are dynamically loaded to the above combo box, depending on certain criteria.  To further clarify, for each item in the repeater, the contents within rcboList are different.

 All though the contents are different, each repeated RadComboBox should behave the same, with a CheckBox beside each item.  I can populate my lists and I see these check boxes without issue, however, when my user clicks the button to return the data to the server, there is no data in rcboList.CheckedItems.  I figured I tried to iterate over the RadComboBox.Items collection and see if I could get the values from their.

 Interestingly, only the first item in the list is marked as selected, but none of the items are marked as checked.

 Can I use the RadComboBox this way in an asp:Repeater, or is this simply not possible?

 Thank you.

Veselin Tsvetanov
Telerik team
 answered on 20 Jan 2016
1 answer
99 views

Is there anywhere to find the full list of client side properties and methods for the tools?

For example on here there is no mention of the set_text or set_value methods of the AutoCompleteBoxEntry object so I had to find demos and rely on guesswork to figure that out(I can't even find set_value method of the AutoCompleteBoxEntry mentioned anywhere on the website).

Is there some more complete documentation that I'm missing somewhere? It would be very nice to have this information on hand, I've been finding that I've had to look through a lot of various demos just to try and figure out method names recently.

 

 

 

 

Vessy
Telerik team
 answered on 20 Jan 2016
2 answers
165 views

On My RadGrid I have a checkbox column

<telerik:GridTemplateColumn UniqueName="colPrimaryProcedure" HeaderText="" ItemStyle-HorizontalAlign="Center"><HeaderStyle  HorizontalAlign="Center"  />
 <ItemTemplate>
  <asp:checkbox ID="chkPrimary" runat="server" />
 </ItemTemplate>
</telerik:GridTemplateColumn>

In the itemDatBound event I'm ading an onCLick attribute to fire a Javascript function.

Case "Treatment Codes"
 chkPri.Attributes.Add("onclick", [String].Format("setTreatment(this);"))
 chkPri.Text = "<span style='font-size:0px;line-height:0px;'>" & e.Item.DataItem("SpecialtyProcedureId") & "</span>"
 
In the Javascript file I'm getting the clicked on row, and also selecting a value in a RadComboBox, with Checkboxes set to true, and for each ticked row in the Rad Grid, I'm able to select a value in the combo box. This all works as expected.

var checkBox = document.getElementById(theBox.id);
var checkboxText = checkBox.parentElement.innerText.trim();
comboBoxPPFUWL.findItemByValue(checkboxText).set_checked(true);

 

What I want to do is if a box in unticked in the grid, is to un slect the row in the combo box, I'd have expected the following to work, but it doesn't.
comboBoxPPFUWL.findItemByValue(checkboxText).set_checked(false);

I'm using an old version of the controls 2014.2.618.40 and can't update because of breaking changes in the newer version.

Can anyone help.

Eyup
Telerik team
 answered on 20 Jan 2016
11 answers
130 views
I am trying out the new RadDropdownTree control, but I am getting an error in Internet Explorer.  It says the script on the page is running slowly.  I have tried setting the scriptmanager to release as suggested on this page, but I am still getting the issue.
http://www.telerik.com/help/aspnet-ajax/treeview-troubleshooting-treeview-script-causes-ie-run-slowly.html
Nencho
Telerik team
 answered on 20 Jan 2016
2 answers
42 views
I'm using two RadListBoxes and the arrow icons for the buttons in the middle are showing up blank. How do I get them to show up.
Magdalena
Telerik team
 answered on 20 Jan 2016
5 answers
1.1K+ views
hello

im new here in telerik and i will appreciate any kind of help..
here is my problem:
 from my Main.aspx   i open a RadWindow which contain a listbox.. from that listbox i want to get as return value the selected  value of that webcontrol and put it in my Main.aspx txtbox..

can someone please post the code for my problem?

thanks in advance.
regards webster.
surya
Top achievements
Rank 1
 answered on 19 Jan 2016
3 answers
681 views

Hello,

What I want to achieve is very simple. I have a standard grid that may be grouped by one of the columns. This is achieved using standard RadGrid functionality.

When the user clicks on the chevron of a group I want to toggle the group (expand or collapse it).There seem to be several threads on this type of thing. However, having looked at some of them what is not  clear to me is what is the correct approach.

Some of the questions that arise are

  • Do I have to implement a solution client side?  (I would prefer a server side solution.)
  • Do I need to implement something in page Page_PreRender(). 
  • Does the grid need to be rebound at any point? If so, where?

If somebody could point me to a simple example of this I would be very thankful. Ideally, the solution would be server side. By the way, I presume that I need to do the following (see below). However, I am not sure "what goes here", if anything?

Thanks in advance,

John.

protected void GridItemCommand(object source, GridCommandEventArgs e)
{
      if (e.CommandName.Equals("ExpandCollapse"))
      {
          // what goes here ???
      }
 }
 

 

 

 

 

John
Top achievements
Rank 1
 answered on 19 Jan 2016
1 answer
109 views
Hello, 

I need to create a few gauges with a different look.

I want to reload different CSS files where I will be able to override inner properties of gauge object,
like scales/point size/point color and t.d.


Does anyone know if there is a way to obtain what I desire?

Thanks
Tanya

Danail Vasilev
Telerik team
 answered on 19 Jan 2016
3 answers
223 views

I've a simple page where I've some tabs in radtabstrip. I want to display this web page in a web browser control in a win form application. If I re size the windows form application then the last tab displays in second line. Please note that the scroll bar also displays. Please see the screenshot1.

Here is the code I used in the aspx page.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RadTab.aspx.cs" Inherits="PlayGround_WebApplication.RadTab" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html>
 
<head id="Head1" runat="server">
    <title></title>
    <style type="text/css">
         
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        <telerik:RadTabStrip ScrollButtonsPosition="Left" runat="server" ID="radTabStrip" PerTabScrolling="true" ScrollChildren="true"
            SelectedIndex="0" Width="100%" Style="padding-top: 2px;">
            <Tabs>
                <telerik:RadTab runat="server" Text="Customer Details" Value="0" />
                <telerik:RadTab runat="server" Text="Practice Info" Value="1" />
                <telerik:RadTab runat="server" Text="Customer & Case Alerts" Value="6" />
                <telerik:RadTab runat="server" Text="Calls & Notes" Value="2" />
                <telerik:RadTab runat="server" Text="Cases" Value="3" />
                <telerik:RadTab runat="server" Text="Accounting" Value="4" />
                <telerik:RadTab runat="server" Text="Sales" Value="5" />
                <telerik:RadTab runat="server" Text="Attachments" Value="7" />
                <telerik:RadTab runat="server" Text="Education Courses" Value="8" />
            </Tabs>
        </telerik:RadTabStrip>
    </div>
    </form>
</body>
</html>

Please note that this problem is not occurring in my internet explorer browser. I've tested with IE9 & IE11. 
I am using telerik version 2015.3.1111.40 . Previously I was using 2014.1.225.40 . The amazing fact is this problem doesn't occur on my previous version. This is occurring on the latest version.

Observation:

  • If I add more tabs so that the scroll bar is displayed from the beginning then after re sizing this issue doesn't occur. 
  • If I change the text of the last tab "Education Courses" to something smaller (say 3 letters) then the problem doesn't occur.

 

Please shed some light on this issue. Thanks

Ivan Danchev
Telerik team
 answered on 19 Jan 2016
1 answer
55 views

I have a hierarchical grid with EnableHierarchyExpandAll="true"

I would like to set the background color of the ExpandColumn header. I would prefer to do this with a CSS class rather than a CSS selector.

I have the following CSS defined: 

.gridHeader
{
background-color:#E1EDF7 !important;
}

in my grid ItemCreated server-side event, I have the following code:

 Select Case e.Item.ItemType
                        Case GridItemType.Header
                            Dim headerRow As GridHeaderItem = CType(e.Item, GridHeaderItem)
                            headerRow("ExpandColumn").CssClass = "gridHeader"
End Select

This doesn't seem to work. Any ideas? 

 

 

 

Konstantin Dikov
Telerik team
 answered on 19 Jan 2016
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?