Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
202 views
I have an ASP:Gridview with RadComboBoxes set up inside of that.  These RadComboBoxes have their items dynamically created, so each RadComboBox has their items different from another RadComboBox.  This was all well and great until I was instructed to insert 10 columns.  Since the RadComboBox's header refuses to scroll along with the items, I feel like I'm forced to use a RadGrid inside of the RadComboBox.  I was thinking I could use a GridTemplateColumn to accomplish the goal.  Unfortunately, all I'm getting are two thick lines with no data inside of them.  Can you take a look at the following code and possibly help me out, please?  Maybe I totally screwed things up...

ASPX:
<telerik:RadComboBox ID="cboDupChoices" runat="server" DropDownWidth="600px"
  EnableLoadOnDemand="false" style="display:none">
    <ItemTemplate>
        <telerik:RadGrid ID="x" runat="server" Height="300px">
            <MasterTableView AutoGenerateColumns="false">
                <Columns>
                    <telerik:GridTemplateColumn HeaderText="Test">
                        <HeaderStyle Width="75px" />
                        <ItemTemplate>
                            <%# DataBinder.Eval(Container, "Attributes[""ID1""]")%>
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
... REPEAT 9 MORE TIMES ...
                </Columns>
            </MasterTableView>
            <ClientSettings>
                <Scrolling AllowScroll="true" UseStaticHeaders="true" ScrollHeight="300px" />
            </ClientSettings>
        </telerik:RadGrid>
    </ItemTemplate>
</telerik:RadComboBox>

VB:
cboTest.Style.Value = "display:block"
cboTest.Items.Clear()
 
Dim lnJ As Integer = 0
For Each dupFile As FILE In dupFiles
    ' Add item template here.
    Dim test As RadComboBoxItem = New RadComboBoxItem()
    test.Attributes("ID1") = dupFile.FIELD1
    test.Attributes("Status") = dupFile.FIELD2
    test.Attributes("Department") = dupFile.FIELD3
    test.Attributes("Description") = dupFile.FIELD4
... REPEAT 6 MORE TIMES ...
 
    test.Value = dupFile.FILEID
    test.Text = dupFile.FILEID
    cboTest.Items.Add(test)
    cboTest.Items(lnJ).DataBind()
    lnJ = lnJ + 1
Next

Thanks for any help you may have,
Patrick
Patrick
Top achievements
Rank 1
 answered on 29 Oct 2012
1 answer
89 views
need help setting up InitialPath = "C:"

control shows up empty
not sure, what is going on here 
Vessy
Telerik team
 answered on 29 Oct 2012
6 answers
899 views
hi ,

i kept the maximum fileupload size as 25 mb (26214400) in my file explorer when i try to upload 47MB of file it didn't show the warning it simply showing the file not found error it is not user friendly so can u please suggest on this to solve my issue  plz check the image for more clarification.

<telerik:RadFileExplorer runat="server" ID="fileExp" Width="520px" Height="520px" ForeColor="#000000">
                    <Configuration ViewPaths="~/HTMLEditorImages" UploadPaths="~/HTMLEditorImages" MaxUploadFileSize="26214400"
                    DeletePaths="~/HTMLEditorImages" />

                </telerik:RadFileExplorer>
Vessy
Telerik team
 answered on 29 Oct 2012
4 answers
237 views
Hello all-

is there a way to assign values to footer items using an integer index?

If so, in what event would you do this?

Thanks in advance.
Danny
Top achievements
Rank 2
 answered on 29 Oct 2012
1 answer
192 views
Hey at Telerik

I have the well known problem with height 100 percent not working. The width doesn't seem to work either.

I have included a sample project illustrating my problem.

http://kort2.lifa.dk/publicdownload/RadGridHeightIssuePacked.rar

I would like the width and height of the RadGrid to max to the browser window. If the content is bigger than the browser window only the RadGrid will scroll.

I have tried nomurous solutions without succes.

Hope you can help me.

Sincerly Jan
Pavlina
Telerik team
 answered on 29 Oct 2012
1 answer
55 views
Hi,

I have a rendering issue when allowing the FilterByColumn option (the date columns get waaay too wide). I saw that it was quite common over the forum, and that the solution was to just set a column width, but my problem is that I can't predict how many columns are going to be needed, and the width is dynamic.

Is there a solution to this problem ?

Thanks
Angel Petrov
Telerik team
 answered on 29 Oct 2012
4 answers
245 views

Hello!

I add RadPanelItems dynamic and also adding CheckBoxes to each.
How do loop through all RadPanelItems and find CheckBoxes and get there state?

// Anders

Anders
Top achievements
Rank 1
 answered on 29 Oct 2012
1 answer
182 views
I have a chart with a datatable that contains long x-axis labels.  I added wordwrap to the labels so they wouldn't overlap into the neighboring cells but the wordwrap isn't working too well.

You can see examples on the file attached:

  1. The first column has plenty of room on the right side of the cell but it still chooses to wordwrap to the 2nd line
  2. The fourth column cuts off the label and appends "..." to the end.  Again what is strange is that there is still plenty of room to display the label but instead it gets cut off.

Are these known issues or am I doing something wrong?
Petar Kirov
Telerik team
 answered on 29 Oct 2012
5 answers
131 views
Double Click Dock Title to rename it  Problem ... Text Box not focus
This Problem for :
RadControls for ASP.NET AJAX Q2 2008 SP1 (Version Number 2008.2.826)
RadControls for ASP.NET AJAX Q2 2008 (Version Number 2008.2.723)
Slav
Telerik team
 answered on 29 Oct 2012
3 answers
156 views
I created a custom skin starting with the SiteFinity skin.  Everything works as expected except for the dropdown on the splitbutton.  It has a black border instead of the rounded corners like the sitefinity skin.  Not sure what I'm missing.

/* <RadToolBar / Custom> */
 
/* <tool wrapper> */
 
/* <horizontal> */
 
/*.RadToolBar_Custom .rtbOuter
{
    border: 1px solid #e8e8e8;
}*/
 
.RadToolBar_Custom .rtbMiddle
{
    background: transparent;
}
 
/* </horizontal> */
 
/* </tool wrapper> */
 
/* <buttons> */
 
div.RadToolBar_Custom_Horizontal .rtbItem
{
    margin: 0 3px;
}
 
div.RadToolBar_Custom_Vertical .rtbItem
{
    margin: 3px 0;
}
 
div.RadToolBar_Custom_Vertical .rtbSeparator
{
    width: 30px;
}
 
.RadToolBar_Custom .rtbWrap,
.RadToolBar_Custom .rtbTemplate
{
    color: #333333;
    font: normal 12px/19px "Segoe UI", Arial, Helvetica, sans-serif;
}
 
div.RadToolBar_Custom .rtbMid
{
    padding: 0 5px 5px 0;
}
 
div.RadToolBar_Custom .rtbIn
{
    padding: 2px 0 0 5px;
    overflow: hidden;
}
 
div.RadToolBar_Custom .rtbIcon
{
    padding: 0 2px;
}
 
div.RadToolBar_Custom .rtbChoiceArrow
{
    height: 16px;
}
 
div.RadToolBar_Custom .rtbVOriented .rtbChoiceArrow
{
    margin-top: -7px;
}
 
 
/* <button states> */
 
.RadToolBar_Custom .rtbItem .rtbWrap,
.RadToolBar_Custom .rtbItem .rtbOut,
.RadToolBar_Custom .rtbItem .rtbMid,
.RadToolBar_Custom .rtbItem .rtbIn
{
    background-image: url('ToolBar/rtbNormalBg.png');
    background-color: transparent;
    background-repeat: no-repeat;
}
 
* html .RadToolBar_Custom .rtbItem .rtbWrap,
* html .RadToolBar_Custom .rtbItem .rtbOut,
* html .RadToolBar_Custom .rtbItem .rtbMid,
* html .RadToolBar_Custom .rtbItem .rtbIn
{
    background-image: url('ToolBar/rtbNormalBgIE6.png');
}
 
.RadToolBar_Custom .rtbSplBtnFocused .rtbWrap, .RadToolBar_Custom .rtbSplBtnFocused .rtbOut, .RadToolBar_Custom .rtbSplBtnFocused .rtbMid, .RadToolBar_Custom .rtbSplBtnFocused .rtbIn,
.RadToolBar_Custom .rtbItemFocused .rtbWrap, .RadToolBar_Custom .rtbItemFocused .rtbOut, .RadToolBar_Custom .rtbItemFocused .rtbMid, .RadToolBar_Custom .rtbItemFocused .rtbIn,
.RadToolBar_Custom .rtbItemHovered .rtbWrap, .RadToolBar_Custom .rtbItemHovered .rtbOut, .RadToolBar_Custom .rtbItemHovered .rtbMid, .RadToolBar_Custom .rtbItemHovered .rtbIn
{
    background-color: transparent;
    background-repeat: no-repeat;
    background-image: url('ToolBar/rtbHoverBg.png');
}
 
* html .RadToolBar_Custom .rtbSplBtnFocused .rtbWrap, * html .RadToolBar_Custom .rtbSplBtnFocused .rtbOut, * html .RadToolBar_Custom .rtbSplBtnFocused .rtbMid, * html .RadToolBar_Custom .rtbSplBtnFocused .rtbIn,
* html .RadToolBar_Custom .rtbItemFocused .rtbWrap, * html .RadToolBar_Custom .rtbItemFocused .rtbOut, * html .RadToolBar_Custom .rtbItemFocused .rtbMid, * html .RadToolBar_Custom .rtbItemFocused .rtbIn,
* html .RadToolBar_Custom .rtbItemHovered .rtbWrap, * html .RadToolBar_Custom .rtbItemHovered .rtbOut, * html .RadToolBar_Custom .rtbItemHovered .rtbMid, * html .RadToolBar_Custom .rtbItemHovered .rtbIn
{
    background-image: url('ToolBar/rtbHoverBgIE6.png');
}
 
.RadToolBar_Custom .rtbItemClicked .rtbWrap, .RadToolBar_Custom .rtbItemClicked .rtbOut, .RadToolBar_Custom .rtbItemClicked .rtbMid, .RadToolBar_Custom .rtbItemClicked .rtbIn,
.RadToolBar_Custom .rtbSplBtnExpanded .rtbWrap, .RadToolBar_Custom .rtbSplBtnExpanded .rtbOut, .RadToolBar_Custom .rtbSplBtnExpanded .rtbMid, .RadToolBar_Custom .rtbSplBtnExpanded .rtbIn,
.RadToolBar_Custom .rtbDropDownExpanded .rtbWrap, .RadToolBar_Custom .rtbDropDownExpanded .rtbOut, .RadToolBar_Custom .rtbDropDownExpanded .rtbMid, .RadToolBar_Custom .rtbDropDownExpanded .rtbIn,
.RadToolBar_Custom .rtbChecked .rtbWrap, .RadToolBar_Custom .rtbChecked .rtbOut, .RadToolBar_Custom .rtbChecked .rtbMid, .RadToolBar_Custom .rtbChecked .rtbIn
{
    background-image: url('ToolBar/rtbActiveBg.png');
    background-color: transparent;
    background-repeat: no-repeat;
}
 
* html .RadToolBar_Custom .rtbItemClicked .rtbWrap, * html .RadToolBar_Custom .rtbItemClicked .rtbOut, * html .RadToolBar_Custom .rtbItemClicked .rtbMid, * html .RadToolBar_Custom .rtbItemClicked .rtbIn,
* html .RadToolBar_Custom .rtbSplBtnExpanded .rtbWrap, * html .RadToolBar_Custom .rtbSplBtnExpanded .rtbOut, * html .RadToolBar_Custom .rtbSplBtnExpanded .rtbMid, * html .RadToolBar_Custom .rtbSplBtnExpanded .rtbIn,
* html .RadToolBar_Custom .rtbDropDownExpanded .rtbWrap, * html .RadToolBar_Custom .rtbDropDownExpanded .rtbOut, * html .RadToolBar_Custom .rtbDropDownExpanded .rtbMid, * html .RadToolBar_Custom .rtbDropDownExpanded .rtbIn,
* html .RadToolBar_Custom .rtbChecked .rtbWrap, * html .RadToolBar_Custom .rtbChecked .rtbOut, * html .RadToolBar_Custom .rtbChecked .rtbMid, * html .RadToolBar_Custom .rtbChecked .rtbIn
{
    background-image: url('ToolBar/rtbActiveBgIE6.png');
}
 
.RadToolBar_Custom .rtbItemFocused .rtbWrap,
.RadToolBar_Custom .rtbChecked .rtbWrap,
.RadToolBar_Custom .rtbDropDownExpanded .rtbWrap,
.RadToolBar_Custom .rtbSplBtnExpanded .rtbWrap,
.RadToolBar_Custom .rtbItemHovered .rtbWrap,
.RadToolBar_Custom .rtbItemClicked .rtbWrap
{
    color: #000000;
}
 
/* </button states> */
 
/* <Drop Down Arrows> */
 
 
.RadToolBar_Custom .rtbSplBtn .rtbChoiceArrow,
.RadToolBar_Custom .rtbItem .rtbVOriented .rtbChoiceArrow,
.RadToolBar_Custom .rtbChoiceArrow
{
    background-image: url('ToolBar/rtbDropArrows.png');
}
 
.RadToolBar_Custom .rtbExpandUp .rtbChoiceArrow,
.RadToolBar_Custom .rtbExpandUp .rtbVOriented .rtbChoiceArrow
{
    background-image: url('ToolBar/rtbUpArrows.png');
}
 
.RadToolBar_Custom .rtbSplBtnExpanded .rtbVOriented .rtbChoiceArrow,
.RadToolBar_Custom .rtbSplBtnExpanded .rtbChoiceArrow,
.RadToolBar_Custom .rtbDropDownExpanded .rtbVOriented .rtbChoiceArrow,
.RadToolBar_Custom .rtbDropDownExpanded .rtbChoiceArrow,
.RadToolBar_Custom .rtbSplBtnHovered .rtbVOriented .rtbChoiceArrow,
.RadToolBar_Custom .rtbSplBtnHovered .rtbChoiceArrow,
.RadToolBar_Custom .rtbItemHovered .rtbVOriented .rtbChoiceArrow,
.RadToolBar_Custom .rtbItemHovered .rtbChoiceArrow,
.RadToolBar_Custom .rtbSplBtnClicked .rtbVOriented .rtbChoiceArrow,
.RadToolBar_Custom .rtbSplBtnClicked .rtbChoiceArrow,
.RadToolBar_Custom .rtbItemClicked .rtbVOriented .rtbChoiceArrow,
.RadToolBar_Custom .rtbItemClicked .rtbChoiceArrow
{
    background-color: transparent;
    background-image: url('ToolBar/rtbHoverDropArrows.png');
    background-repeat: no-repeat;
}
 
.RadToolBar_Custom .rtbSplBtnExpanded .rtbExpandUp .rtbChoiceArrow,
.RadToolBar_Custom .rtbDropDownExpanded .rtbExpandUp .rtbChoiceArrow,
.RadToolBar_Custom .rtbSplBtnHovered .rtbExpandUp .rtbChoiceArrow,
.RadToolBar_Custom .rtbItemHovered .rtbExpandUp .rtbChoiceArrow,
.RadToolBar_Custom .rtbSplBtnClicked .rtbExpandUp .rtbChoiceArrow,
.RadToolBar_Custom .rtbItemClicked .rtbExpandUp .rtbChoiceArrow
{
    background-image: url('ToolBar/rtbHoverUpArrows.png');
}
 
/* </Drop Down Arrows> */
 
.RadToolBar_Custom_Horizontal li.rtbSeparator
{
    border-left: 1px solid #474747;
    background: #a1a1a1;
}
 
.RadToolBar_Custom_Vertical li.rtbSeparator
{
    border-top: 1px solid #474747;
    background: #a1a1a1;
}
 
* html .RadToolBar_Custom .rtbSplBtnActivator { margin-top /**/: 2px; } /* IE Quirksmode hack */
 
*+html div.RadToolBar_Custom .rtbIn { vertical-align: top; }
* html div.RadToolBar_Custom .rtbIn { vertical-align: top; }
 
*+html div.RadToolBar_Custom .rtbIn * { vertical-align: middle; }
* html div.RadToolBar_Custom .rtbIn * { vertical-align: middle; }
 
/* </buttons> */
 
 
/* <disabled states> */
 
.RadToolBar_Custom .rtbDisabled .rtbWrap,
.RadToolBar_Custom .rtbDisabled .rtbOut,
.RadToolBar_Custom .rtbDisabled .rtbMid,
.RadToolBar_Custom .rtbDisabled .rtbIn,
.RadToolBar_Custom .rtbDisabled .rtbWrap:hover,
.RadToolBar_Custom .rtbDisabled .rtbWrap:hover .rtbOut,
.RadToolBar_Custom .rtbDisabled .rtbWrap:hover .rtbMid,
.RadToolBar_Custom .rtbDisabled .rtbWrap:hover .rtbIn
{
    background-image: url('ToolBar/rtbDisabledBg.png');
    background-color: transparent;
    background-repeat: no-repeat;
}
 
* html .RadToolBar_Custom .rtbDisabled .rtbWrap,
* html .RadToolBar_Custom .rtbDisabled .rtbOut,
* html .RadToolBar_Custom .rtbDisabled .rtbMid,
* html .RadToolBar_Custom .rtbDisabled .rtbIn,
* html .RadToolBar_Custom .rtbDisabled .rtbWrap:hover,
* html .RadToolBar_Custom .rtbDisabled .rtbWrap:hover .rtbOut,
* html .RadToolBar_Custom .rtbDisabled .rtbWrap:hover .rtbMid,
* html .RadToolBar_Custom .rtbDisabled .rtbWrap:hover .rtbIn
{
    background-image: url('ToolBar/rtbDisabledBgIE6.png');
}
 
.RadToolBar_Custom .rtbDisabled .rtbWrap { color: #999999; }
 
/* Opacity hack for IE */
.RadToolBar .rtbDisabled .rtbIcon,
.RadToolBar .rtbDisabled .rtbChoiceArrow
{
    filter: alpha(opacity=40)\9;
    -ms-filter: "alpha(opacity=40)"\9;
}
 
div.RadToolBar .rtbDisabled { opacity: 1; -moz-opacity: 1 }
.RadToolBar .rtbDisabled .rtbIcon,
.RadToolBar .rtbDisabled .rtbChoiceArrow { -moz-opacity: .4; opacity: .4; }
 
/* </disabled states> */
 
/* <background positions> */
 
.RadToolBar .rtbItem .rtbWrap { background-position: 0 100%; }
.RadToolBar .rtbItem .rtbOut { background-position: 100% 0; }
.RadToolBar .rtbItem .rtbMid { background-position: 100% 100%; }
.RadToolBar .rtbItem .rtbIn { background-position: 0 0; }
 
.RadToolBar .rtbDisabled .rtbWrap { background-position: 0 100%; }
.RadToolBar .rtbDisabled .rtbOut { background-position: 100% 0; }
.RadToolBar .rtbDisabled .rtbMid { background-position: 100% 100%; }
.RadToolBar .rtbDisabled .rtbIn { background-position: 0 0; }
 
/* </background positions> */
 
/* <drop-down> */
 
/* <Drop Down rounded corners and shadows> */
 
.RadToolBarDropDown_Custom .rtbTopFix,
.RadToolBarDropDown_Custom .rtbBottomFix,
.RadToolBarDropDown_Custom .rtbGroup
{
    background-color: #ffffff;
    /*background-repeat: repeat-y;
    background-image:none !important;*/
}
 
.RadToolBarDropDown_Custom .rtbBottomLeft,
.RadToolBarDropDown_Custom .rtbRoundedCorners
{
    background-image:  url('ToolBar/rtbRoundedLeft.png');
    background-color: transparent;
    background-repeat: no-repeat;
}
 
.RadToolBarDropDown_Custom .rtbTopRight,
.RadToolBarDropDown_Custom .rtbBottomRight
{
    background-image:  url('ToolBar/rtbRoundedRight.png');
    background-color: transparent;
    background-repeat: no-repeat;
}
 
.RadToolBarDropDown_Custom div.rtbTopFix,
.RadToolBarDropDown_Custom div.rtbBottomFix
{
    border: 0;
}
 
/* </Drop Down rounded corners and shadows> */
 
div.RadToolBarDropDown_Custom
{
    border-color: #c4c4c4;
    background-color: #ffffff;
     
     
}
 
.RadToolBarDropDown_Custom .rtbWrap,
.RadToolBarDropDown_Custom .rtbTemplate
{
    color: #b5b5b5;
    font: normal 12px/19px "Segoe UI", Arial, Helvetica, sans-serif !important;
     
}
 
.RadToolBarDropDown_Custom .rtbItemHovered,
.RadToolBarDropDown_Custom .rtbItemHovered .rtbWrap
{
    text-decoration: underline;
}
 
.RadToolBarDropDown_Custom .rtbItemFocused,
.RadToolBarDropDown_Custom .rtbItemFocused .rtbWrap
{
    color: #000000;
}
 
.RadToolBarDropDown_Custom .rtbDisabled .rtbWrap
{
    color: #8a8a8a;
}
 
.RadToolBarDropDown_Custom .rtbSeparator
{
    border-color: #c9c9c9;
    background: #ffffff;
}
.RadToolBarDropDown_Custom .rtbWrap
 
    {
  
      background-color:White !important;
      padding:3px !important;
      background-image:none !important;
      font: normal 12px/19px "Segoe UI", Arial, Helvetica, sans-serif !important;
    }
 
/* </drop-down> */
 
/* </RadToolBar / Custom> */
Kate
Telerik team
 answered on 29 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?