Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
118 views
I have a scenario with a panel (100% width/height) which contains a splitter with two vertical panes. These panes have a CSS class applied including borders. When the panel is updated via ajax, I notice the bottom and right borders of the left pane dissapear. I am guessing the splitter needs to recalculate its size based on the update panel being added through the ajax update. I handle the splitter OnClientLoad and "jiggle" the left pane by adding 1 to its width and subtracting 1 from its width and then doing the same for its height, and this seems to take care of the issue. I am wondering if there is a different method of making sure the splitter panes resize properly after an ajax update inserts the update panel around the splitter, or if Telerik is planning on modifying the splitter at some point in the future so that I don't need to include this OnClientLoad script with every splitter that may be inside an ajaxified container.
Dobromir
Telerik team
 answered on 02 Feb 2012
3 answers
118 views
Hi!

I have a big problem with the appointment DragAndDrop. I updated my website to the last version of DLL and then DragAndDrop don't work.
If I reload the 2011.2.915.40 DLL versione DragAndDrop work.


What can I do?


Thanks in advance

Francesco Balatti
fra@zelando.com
Peter
Telerik team
 answered on 02 Feb 2012
5 answers
215 views
I have a webform that contains a RadGrid and the grid is configured for in-place editing. The RadGrid has 5 columns, where the first 4 columns are data columns, and the 5th column is an edit button column. More specifically, the first 3 columns of the grid are GridBoundColumn column types, the fourth column is a GridDropDownColumn, and the last (or fifth) column is a GridEditCommandColumn.

When the web form is viewed, the RadGrid displays multiple rows of data; let's hypothetically say that the grid displays 10 rows of data. All the data cells within the grid display data, expect the cells under the 4th column. The cells in the 4th column are always blank. If I switch the 4th column from a GridDropDownColumn to a GridBoundColumn, the problem does not occur. When column 4 is based on a GridBoundColumn, all the cells under column 4 are populated. But when column 4 is a GridDropDownColumn, the cells are always blank.

In addition, if I randomly click the edit button on one of the rows; let's say row 5, the cell in column 4 of row 5 suddenly becomes populated, and all the cells of column 4 below row 5 become populated. But the cells of column 4 that are above row 5 are still blank. IOWs, whichever row that you click the edit button, the cell of column 4, and all the cells under column 4, become populated. But all the cells of column 4 that are above the row where you clicked edit remain blank. Again, if I use a GridBoundColumn for in-place edits, instead of a GridDropDownColumn, this problem does not occur.

Has anybody seen this and can you explain how to fix this problem?
Elliott
Top achievements
Rank 2
 answered on 02 Feb 2012
1 answer
266 views

Hi all,

 

I have 2 radgrid on the same page, populated with 2 different tables, and I have some columns equal, like "Code", "Name" and "surname"...How can I copy the equal values selecting the row on the first radgrid, into the second radgrid?

Thanks !!!

Shinu
Top achievements
Rank 2
 answered on 02 Feb 2012
3 answers
135 views
Hi.

I had created a custom telerik design. I had used telerik dll version 2008.0311.25.20. the custom design is like this



Now i have update the dll version to 2009.3.1208.20. Then my radock design becomes like this :(



Can anyone help me to know how to solve this issue.

Below is my css file content:
/* Docking Zone properties */ 
 
.RadDockZone_Custom 
{ 
    border: 1px solid #d3d3d3; 
    padding: 5px 0 0 5px; 
} 
 
* > .RadDockZone_Custom.rdVertical /* hidden from IE6 */ 
{ 
    padding-right: 5px; 
} 
 
/* Dock_o Object properties */ 
 
/* wrappers and borders */ 
 
.RadDock_Custom .rdPlaceHolder 
{ 
    border-color: #666; 
} 
 
 
.BottomRightCorner 
{ 
     
    background: url(DockNewImage/bl_right_line.gif) repeat-y ; 
     
} 
 
.RadDock_Custom 
{ 
    margin: 0px 5px 5px 0; 
    background: url(DockNewImage/FooterLeft.gif) no-repeat 1px 100% #FFF; 
    color: #000; 
    font-family: 'ms sans serif' ,sans-serif; 
    text-align: left; 
} 
 
.RadDock_Custom .rdSideBorders 
{ 
    background: url(DockNewImage/bl_left_line.gif) repeat-y;     
    -moz-padding-start: 1px;     
} 
 
 
 
 
.RadDock_Custom .rdTopBorder 
{ 
    border-style: none none none; 
} 
.RadDock_Custom .rdBottomBorder 
{ 
    border-style: none; 
    height: 12px; 
    background: url(DockNewImage/FooterRight.gif) no-repeat 100% 0; 
} 
 
/* titlebar and buttons */ 
 
.RadDock_Custom .rdTitlebar 
{ 
    top: 0px; /*brd*/ 
    color: #fff; 
} 
 
 
 
.RadDock_Custom .rdHTitlebar .rdTitlebar 
{ 
    height: 40px; 
    background: url(DockNewImage/bl_top_left.gif) no-repeat white; 
    padding-left: 10px; 
    margin-left: -1px; 
} 
.RadDock_Custom.rdCollapsed .rdHTitlebar .rdTitlebar 
{ 
    padding-bottom: 0px; /*brd - title brd*/ 
} 
.RadDock_Custom .rdVTitlebar .rdTitlebar 
{ 
    left: 1px; 
    width: 20px; 
    background: url(Dock_o/TitlebarV.gif) repeat-x; 
} 
 
.RadDock_Custom .rdTitlebar .rdTitle 
{ 
    padding-top:10px; 
    font-family:Arial, Helvetica, sans-serif; 
    top: 0px; /*brd*/ 
     
     color:#FFFFFF; font-size:14px; font-weight:bold; 
     
    overflow: hidden; 
} 
 
.RadDock_Custom .rdHTitlebar .rdTitle 
{ 
    height: 40px; 
    padding-left: 7px; 
    margin-right: 2px; 
    background: url(DockNewImage/bl_top_title.gif) repeat-x; 
} 
.RadDock_Custom .rdVTitlebar .rdTitle 
{ 
    padding: 10px 0 0 8px; 
    background: url(Dock_o/TitlebarVTop.gif) no-repeat; 
    line-height: 1.4em; 
} 
 
.RadDock_Custom .rdHTitlebar .rdCommands 
{ 
    height: 100%; 
    _height: 25px; 
    background: url(DockNewImage/bl_top_right.gif) 100% 0 no-repeat; 
    rightright: -1px; 
} 
 
.RadDock_Custom .rdHTitlebar .rdCommands a 
{ 
    margin: 0; 
} 
.RadDock_Custom .rdVTitlebar .rdCommands a 
{ 
    margin: 0; 
} 
 
.RadDock_Custom .rdHTitlebar .rdCommands a, .RadDock_Custom .rdVTitlebar .rdCommands a 
{ 
    margin: 0 0 0 0; 
} 
 
.RadDock_Custom .rdTitlebar .rdCommands a 
{ 
    background-image: url('DockNewImage/DockCommandSprites.png'); 
} 
 
/* inner content */ 
 
.RadDock_Custom .rdContent 
{ 
    top: 0px; /*brd*/ 
    padding-bottom: 0px; /*brd*/ 
    font: 11px/1.2 verdana,sans-serif; 
    background: url(DockNewImage/bl_mid.gif) repeat-x; 
    margin-left: 5px; 
    overflow:auto 
} 
 
.RadDock_Custom .rdVTitlebar .rdContent 
{ 
    margin-left: 29px; 
} 
 
 
/* drag grips */ 
 
.RadDock_Custom .rdGripTop, .RadDock_Custom .rdGripLeft 
{ 
    background: #FFF; 
} 
 
.RadDock_Custom .rdGripTop 
{ 
    top: 0px; /*brd*/ 
    height: 3px; 
} 
.RadDock_Custom .rdGripLeft 
{ 
    left: 2px; /*brd*/ 
    width: 3px; 
} 
 
.RadDock_Custom .rdWGripLeft .rdContent 
{ 
    margin-left: 3px; 
} 
 
 
 
 
/*BASE STYLE*/ 
/* RadDock for ASP.NET AJAX Base Stylesheet */ 
 
.RadDockZone 
{ 
    position: relative; 
    border-style: solid; 
    border-width: 1px; 
} 
 
* > .RadDockZone.rdVertical /* hidden from IE6 */ 
{ 
    padding-right: 4px; 
} 
 
.RadDock 
{ 
    margin: 0px; 
    text-align: left; /* we need this in case the BODY has text-aligh:center applied */ 
} 
 
.rdRtl 
{ 
    text-align: rightright; /* we need this in case the BODY has text-aligh:center applied */ 
} 
 
.rdPlaceHolder 
{ 
    border-style: dashed; 
    border-width: 1px; 
} 
 
.rdHorizontal .RadDock, .rdVertical .RadDock 
{ 
    position: relative; 
} 
 
.rdHorizontal .RadDock 
{ 
    float: left; 
} 
 
.rdHorizontal .rdRtl 
{ 
    float: rightright; 
} 
 
.RadDock, .rdTopBorder, .rdBottomBorder 
{ 
    position: absolute; 
    overflow: hidden; 
} 
 
.rdTopBorder, .rdSideBorders, .rdBottomBorder 
{ 
    border-width: 1px; 
    border-color: White; 
} 
 
.rdSideBorders 
{ 
    border-style: none solid none; 
} 
 
.rdTopBorder 
{ 
    border-style: solid none none; 
} 
 
.rdBottomBorder 
{ 
    border-style: none none solid; 
} 
 
.rdVariableHeight .rdBottomBorder, .rdCollapsed .rdBottomBorder 
{ 
    position: static; 
} 
 
.rdSideBorders 
{    
    height: 100%; 
    overflow: hidden; 
    z-index: 10; 
} 
.rdVariableHeight .rdSideBorders 
{ 
    height: auto; 
} 
 
.rdTopBorder, .rdBottomBorder 
{ 
    width: 100%; 
} 
.rdTopBorder 
{ 
    top: 0; 
    left: 0; 
} 
.rdBottomBorder 
{ 
    bottombottom: 0; 
    left: 0; 
} 
 
.rdContent, .rdGripTop 
{ 
    position: relative; 
} 
 
/* titlebar */ 
.rdTitlebar 
{ 
     
    display: none; 
    position: relative; 
    top: 1px; /*brd*/ /*border-style: solid;*/ /*Changes by mayur*/ 
} 
 
.rdHTitlebar .rdTitlebar 
{ 
    height: 25px; 
    border-width: 0 0 1px; 
} 
 
.RadDock.rdCollapsed .rdHTitlebar .rdTitlebar 
{ 
    padding-bottom: 0px; /*brd - title brd*/ 
} 
 
.RadDock .rdVTitlebar .rdTitlebar 
{ 
    left: 1px; 
    width: 22px; 
    border-width: 0 1px 0 0; 
} 
 
.RadDock .rdTitle 
{ 
     
    font: normal 12px "Segoe UI" , Arial, Sans-serif; 
    line-height: 24px; 
} 
 
.rdHTitlebar .rdTitlebar, .rdVTitlebar .rdTitlebar 
{ 
    display: block; 
} 
 
.rdVTitlebar .rdTitlebar 
{ 
    position: absolute; 
    overflow: hidden; 
} 
 
.rdTitlebar .rdTitle 
{ 
    width:100%; 
    display: block; 
    overflow: hidden; 
    whitewhite-space: nowrap; 
    font-style: normal; 
} 
 
.rdTitlebar .rdCommands 
{ 
    position: absolute; 
    display: block; 
    z-index: 2; 
    rightright: 0; 
} 
 
.rdRtl .rdTitlebar .rdCommands 
{ 
    rightright: auto; 
    left: 0; 
} 
 
.rdHTitlebar .rdTitlebar .rdCommands 
{ 
    top: 0; 
} 
.rdVTitlebar .rdTitlebar .rdCommands 
{ 
    bottombottom: 0; 
} 
 
.rdTitlebar .rdCommands a 
{ 
    display: block; 
    overflow: hidden; 
    text-indent: -3333px; 
    cursor: default; 
} 
.rdHTitlebar .rdTitlebar .rdCommands a 
{ 
    float: rightright; 
    height: 40px !important; 
    margin: 0 !important; 
} 
 
.rdRtl .rdHTitlebar .rdTitlebar .rdCommands a 
{ 
    float: left; 
} 
 
* html .rdTitlebar .rdCommands a 
{ 
    display: inline-block; 
} 
/* inner container */ 
 
.rdContent 
{ 
    overflow: auto; 
} 
/*IE6 overflow fix*/ 
* html .rdContent 
{ 
    width: 100%; 
    overflow-x: auto; 
    overflow-y: auto; 
} 
* html .rdWGripLeft .rdContent, * html .rdWGripRight .rdContent, * html .rdVTitlebar .rdContent 
{ 
    width: auto; 
} 
 
.rdCollapsed .rdContent 
{ 
    display: none; 
} 
 
/* grips */ 
.rdGripTop, .rdGripLeft 
{ 
    display: none; 
    font-size: 1px; 
    line-height: 1px; 
} 
 
.rdWGripTop .rdGripTop, .rdWGripLeft .rdGripLeft 
{ 
    display: block; 
} 
 
.rdGripTop 
{ 
    width: 100%; 
    overflow: hidden; 
} 
 
.rdGripLeft 
{ 
    position: absolute; 
    height: 100%; 
} 
 
/* dragging */ 
.rdDraggable 
{ 
    cursor: move; 
} 
 
/* float clearing */ 
.clear 
{ 
    clear: both; 
    height: 1px; 
    margin-bottom: -1px; 
    visibility: hidden; 
} 
 
/* temporary wrapping table classes */ 
.rdWrapTable .rdTopLeft, .rdWrapTable .rdTopCenter, .rdWrapTable .rdTopRight, .rdWrapTable .rdLeftMiddle, .rdWrapTable .rdRightMiddle, .rdWrapTable .rdBottomLeft, .rdWrapTable .rdBottomCenter, .rdWrapTable .rdBottomRight 
{ 
    padding: 0; 
    margin: 0; 
    font-size: 1px; 
    line-height: 1px; 
} 
 
.rdCenter, .rdLeftMiddle, .rdRightMiddle 
{ 
    vertical-align: top; 
    height: 100%; 
} 
 
.rdWrapTable .rdTopBorder, .rdWrapTable .rdCenter, .rdWrapTable .rdContent 
{ 
    border: 0 !important; 
    top: 0px !important; 
} 
 
.rdWrapTable .rdTitlebar 
{ 
    top: 0 !important; 
} 
 
.rdWrapTable .rdTitlebar 
{ 
    margin: 0 !important; 
} 
/* temporary wrapping table classes */ 
 
.rdWrapTable .rdGripTop 
{ 
    top: 0px !important; 
} 
 
.RadDockZone 
{ 
    padding: 4px; 
} 
 
.rdHTitlebar .rdTitle 
{ 
    padding-left: 10px; 
} 
 
.rdVTitlebar .rdTitle 
{ 
    padding: 13px 0 0 8px; 
    line-height: 1.4em; 
    border: 1px solid; 
} 
 
.RadDock_Vista .rdVTitlebar .rdTitle 
{ 
    background-repeat: repeat-y; 
} 
 
.rdTitlebar .rdCommands a 
{ 
    width: 25px; 
    height: 19px; 
    background-repeat: no-repeat; 
    margin: 3px 0 0 0 !important; 
} 
 
.rdCollapse 
{ 
    background-position: 0 10px; 
} 
 
.rdExpand 
{ 
    background-position: 0 -14px; 
} 
 
.rdClose 
{ 
    background-position: 0 -100px; 
} 
 
.rdPin 
{ 
    background-position: 0 -57px; 
} 
 
.rdUnpin 
{ 
    background-position: 0 -38px; 
} 
 
.rdCustom 
{ 
    background-position: 0 -95px; 
} 
.rdContent 
{ 
    top: 1px; /* brd */ 
    padding-bottom: 1px; /* brd */ 
    font: normal 11px "Segoe UI" , Arial, Sans-serif; 
    cursor: default; 
} 
 
.rdVTitlebar .rdContent 
{ 
    margin-left: 24px; 
} 
 
.rdGripTop 
{ 
    top: 1px; /* brd */ 
    height: 3px; 
} 
 
.rdGripLeft 
{ 
    left: 1px; /*brd*/ 
    width: 3px; 
} 
 
.rdWGripLeft .rdContent 
{ 
    margin-left: 3px; 
} 
 
.rdTopLeft, .rdTopRight, .rdBottomLeft, .rdBottomRight, .rdLeftMiddle, .rdRightMiddle 
{ 
    height: 3px; 
    width: 3px; 
    line-height: 3px; 
} 
 
.rdTopCenter, .rdBottomCenter 
{ 
    height: 3px; 
    line-height: 3px; 
} 
 
.rdWrapTable .rdTitlebar, .rdWrapTable .rdTitle, .rdWrapTable .rdCommands 
{ 
    background-repeat: repeat-x; 
} 
 
.rdWrapTable .rdCommands 
{ 
    margin-top: 1px; 
} 
 
.rdWrapTable .rdSideBorders.rdHTitlebar 
{ 
     
    border: 0 !important; 
} 
.ucDiv 
{ 
     
    padding-top:10px; 
    padding-left:3px; 
    padding-bottom:0px  ;padding-right:0px  ; 
    overflow:hidden !important; 
 
}/*END BASE STYLE*/ 
 
 

Shinu
Top achievements
Rank 2
 answered on 02 Feb 2012
1 answer
102 views
Hello everyone:

Im trying to manipulate RadTabStrip elements in codebehind and I've noticed that the element RadTab has an ID.....in my case is a letter " i " following by an incremental number (i0,i1,i2,i3-n);

Is there a way to set this ID through codebehind??.
Bozhidar
Telerik team
 answered on 02 Feb 2012
3 answers
131 views
We have a menu where the items appear with an offest of X = -15 and Y = 20. Just below and inward slightly from the right edge of the hovered item... However, when the window is shrunk, so the menu will collide with the edge of the browser, and is therefore repositioned to the left, the offset is applied from the RIGHT edge of the popup, so there is then a gap between the hovered item and the popup menu. We have a very small collapse delay, so when you move over this gap, the menu closes.

you can duplicate this behaviour on your own demo at http://demos.telerik.com/aspnet-ajax/menu/examples/functionality/offsetingthegroups/defaultcs.aspx

Set the offset X to -15.

Now - when you hover over an item in the first menu, as expected, the popup appears indented to the left. However, shrink the window down so that the popup menu hasn't got enough room, and then pop it up. It appears to the left, with a 15px gap between it and the original menu.

This is probably by design, but I'd have though that the X offset wouldnt apply when the menu is flipped to the other side due to edge detection. The Y axis, maybe, but not the X axis.

Is there any clever workaround I can do? I can't see any client side code I can leverage to detect if a menu is being popped up on the opposite side...
Kate
Telerik team
 answered on 02 Feb 2012
1 answer
89 views
Hi,

Is there news concerning fixing the issue below? (missing Open In... menu item).
It can be easily reproduced if navigate to your demo with IE.
I need at least the fix that will work for IE in compatibility mode.

Thanks,
Mykhaylo
Kate
Telerik team
 answered on 02 Feb 2012
3 answers
269 views
Hi,

I am using radgrid nestedviewTemplate. export to PDF and Excel is not working. i have attached the code. please check and let me know how to solve this problem.

i have attached error message image also.

 <telerik:RadGrid ID="rgGlList" AllowFilteringByColumn="True" DataSourceID="sdsGlList"
                            runat="server" AutoGenerateColumns="False" AllowSorting="True" AllowPaging="True"
                            PageSize="15" GridLines="None" ClientSettings-Scrolling-AllowScroll="true"
                            Width="740px" CellSpacing="0">
                            <ExportSettings ExportOnlyData="true" IgnorePaging="True" OpenInNewWindow="true">
                                <Pdf PageWidth="1000px" Title="General Ledger List" />
                            </ExportSettings>
                            <MasterTableView DataSourceID="sdsGlList" DataKeyNames="pay_gl_id" Width="740px"
                                ExpandCollapseColumn-Display="false" CommandItemDisplay="Top" HeaderStyle-HorizontalAlign="Center"
                                AllowMultiColumnSorting="True" HierarchyLoadMode="ServerBind" TableLayout="Fixed">
                                <CommandItemSettings ShowExportToPdfButton="true" ShowExportToCsvButton="false" ShowExportToExcelButton="True"
                                    ShowExportToWordButton="false" ShowAddNewRecordButton="False" />
                                <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                                </RowIndicatorColumn>
                                <ExpandCollapseColumn Display="False"
                                    FilterControlAltText="Filter ExpandColumn1 column" UniqueName="ExpandColumn1"
                                    Visible="True">
                                </ExpandCollapseColumn>
                                <Columns>
                                    <telerik:GridExpandColumn HeaderStyle-Width="30px"
                                        ItemStyle-HorizontalAlign="Center" UniqueName="ExpandColumn">
                                        <HeaderStyle Width="30px" />
                                        <ItemStyle HorizontalAlign="Center" />
                                    </telerik:GridExpandColumn>
                                    <telerik:GridBoundColumn AllowSorting="true" DataField="GLNumber"
                                        FilterControlWidth="60px" HeaderStyle-Font-Bold="true" HeaderText="GL Number"
                                        SortExpression="GLNumber">
                                        <HeaderStyle Width="110px" />
                                    </telerik:GridBoundColumn>                                  
                                </Columns>
                                <NestedViewSettings DataSourceID="sdsGlChildList">
                                    <ParentTableRelation>
                                        <telerik:GridRelationFields DetailKeyField="pay_gl_id" MasterKeyField="pay_gl_id" />
                                    </ParentTableRelation>
                                </NestedViewSettings>
                                <NestedViewTemplate>
                                    <asp:Panel ID="pnlGlChildList" runat="server" CssClass="viewWrap" Width="650px">
                                        <div class="contactWrap">
                                            <fieldset style="padding: 10px;">
                                                <legend style="padding: 5px;"><b>Custom GL Details for :&nbsp; &nbsp;<%# Eval("Parent_GL_Number")%></b></legend>
                                                <table>
                                                    <tbody>
                                                        <tr>
                                                            <td>
                                                                <telerik:RadGrid ID="rgGlChildList" runat="server" AutoGenerateColumns="False" DataSourceID="sdsGlChildList"
                                                                    Width="600px" GridLins="Both" CellSpacing="0" GridLines="None">
                                                                    <MasterTableView AutoGenerateColumns="false" HeaderStyle-HorizontalAlign="Center">
                                                                        <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
                                                                        <Columns>
                                                                            <telerik:GridBoundColumn HeaderText="Location" HeaderStyle-Font-Bold="true" DataField="REPLOC">
                                                                            </telerik:GridBoundColumn>                                                                       
                                                                        </Columns>
                                                                    </MasterTableView>
                                                                    <HeaderStyle Wrap="false" />
                                                                </telerik:RadGrid>
                                                            </td>
                                                        </tr>
                                                    </tbody>
                                                </table>
                                            </fieldset>
                                        </div>
                                    </asp:Panel>
                                </NestedViewTemplate>                      
                            </MasterTableView>                          
                            <GroupingSettings CaseSensitive="False" />
                            <HeaderStyle Wrap="false" />
                            <FilterMenu EnableImageSprites="False">
                            </FilterMenu>
                            <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
                            </HeaderContextMenu>
                        </telerik:RadGrid>


Thanks,
Dhamu.
Daniel
Telerik team
 answered on 02 Feb 2012
1 answer
142 views
I want to make the corners of my Rad Menu rounded by using css images. Is there a way I can make a simple div with rounded corners by using images but without using multiple div or any other tags for top-left, top-right, bot-left, bot-right.??

HELP!!!!!!!!!!!


Kate
Telerik team
 answered on 02 Feb 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?