Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
150 views
I am rebinding a Hierarchical radgrid after closing a custom edit/insert form using the below code and javascript. I would like to reset the state of the Grid as it was when the user clicked to edit a record. Currently all childgrids close up to the master. The attached images show what I mean. EditDetailRecord.png is where I want the user to be after the Rebind(). AfterDataRebind.png is currently what they see.

protected void Page_Load(object sender, EventArgs e)
{
    RadAjaxManager manager = RadAjaxManager.GetCurrent(Page);
    manager.ClientEvents.OnRequestStart = "onRequestStart";
    manager.AjaxSettings.AddAjaxSetting(manager, this.__rejectedBatchesRadGrid);
    manager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(Manager_AjaxRequest);  
 
    if (!IsPostBack) {  }
}
 
protected void Manager_AjaxRequest(object sender, AjaxRequestEventArgs e)
{
    this.__rejectedBatchesRadGrid.MasterTableView.SortExpressions.Clear();
    this.__rejectedBatchesRadGrid.MasterTableView.GroupByExpressions.Clear();
    this.__rejectedBatchesRadGrid.Rebind();
}







Tim
Top achievements
Rank 2
 answered on 02 Feb 2012
4 answers
163 views
Good morning,

We are using a RadCombobox within a user control as an employee selector tool.  User types in a few characters of an employee name or number and it auto-populates with matches from our database.

The problem is our database is rather large and depending on the speed of the person typing it is sometimes performing a callback and executing a query which may return way too much data.  For example:

User types "513"
Callback is initiated
ItemsRequested server-side event fires
SQL query executes and begins retrieving 25,000 records containing 513
Meanwhile, user is typing the rest of the employee#, but the server is waiting on SQL

I would like to make sure the ItemsRequested server-side event only fires when the user hits the Enter key after typing, is this possible?
Kalina
Telerik team
 answered on 02 Feb 2012
1 answer
84 views
Hi!
Is there a way to show the entire content of the subject of the appointment in the month and week view?
Thanks in advance
Kind Regards

G.
Kate
Telerik team
 answered on 02 Feb 2012
1 answer
86 views
Hi

Is it possible to resize appointment by less than 30 minutes? Say 5 or 10 minuts per mouse move. With EnableExactTimeRendering  it is possible to render times precisely, so users would expect to change the time in the same way.

thanks in advance
Kir
Peter
Telerik team
 answered on 02 Feb 2012
1 answer
86 views
Hi everybody,

I'd like to resize an appointment in RadScheduler timeline view. In my current implementation the end time always automatically snaps to the end of the whole day. Is it possible that the end time snaps e.g. to every 15 minutes in timeline view?

Is it possible to change only the start time of an appointment? Currently I can only resize an appointment by dragging the end time.

Also, when dragging the whole appointment I cannot change the time, only the day, i.e. the appointment always snaps to the same start and end time.

Thank you for your appreciated help!
Roland
Peter
Telerik team
 answered on 02 Feb 2012
1 answer
56 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
82 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
156 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
225 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
97 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 
    border1px solid #d3d3d3
    padding5px 0 0 5px
 
* > .RadDockZone_Custom.rdVertical /* hidden from IE6 */ 
    padding-right5px
 
/* Dock_o Object properties */ 
 
/* wrappers and borders */ 
 
.RadDock_Custom .rdPlaceHolder 
    border-color#666
 
 
.BottomRightCorner 
     
    backgroundurl(DockNewImage/bl_right_line.gif) repeat-y ; 
     
 
.RadDock_Custom 
    margin0px 5px 5px 0; 
    backgroundurl(DockNewImage/FooterLeft.gif) no-repeat 1px 100% #FFF
    color#000
    font-family'ms sans serif' ,sans-serif
    text-alignleft
 
.RadDock_Custom .rdSideBorders 
    backgroundurl(DockNewImage/bl_left_line.gif) repeat-y;     
    -moz-padding-start: 1px;     
 
 
 
 
.RadDock_Custom .rdTopBorder 
    border-stylenone none none
.RadDock_Custom .rdBottomBorder 
    border-stylenone
    height12px
    backgroundurl(DockNewImage/FooterRight.gif) no-repeat 100% 0; 
 
/* titlebar and buttons */ 
 
.RadDock_Custom .rdTitlebar 
    top0px/*brd*/ 
    color#fff
 
 
 
.RadDock_Custom .rdHTitlebar .rdTitlebar 
    height40px
    backgroundurl(DockNewImage/bl_top_left.gif) no-repeat white
    padding-left10px
    margin-left: -1px
.RadDock_Custom.rdCollapsed .rdHTitlebar .rdTitlebar 
    padding-bottom0px/*brd - title brd*/ 
.RadDock_Custom .rdVTitlebar .rdTitlebar 
    left1px
    width20px
    backgroundurl(Dock_o/TitlebarV.gif) repeat-x; 
 
.RadDock_Custom .rdTitlebar .rdTitle 
    padding-top:10px
    font-family:ArialHelveticasans-serif
    top0px/*brd*/ 
     
     color:#FFFFFFfont-size:14pxfont-weight:bold
     
    overflowhidden
 
.RadDock_Custom .rdHTitlebar .rdTitle 
    height40px
    padding-left7px
    margin-right2px
    backgroundurl(DockNewImage/bl_top_title.gif) repeat-x; 
.RadDock_Custom .rdVTitlebar .rdTitle 
    padding10px 0 0 8px
    backgroundurl(Dock_o/TitlebarVTop.gif) no-repeat
    line-height: 1.4em; 
 
.RadDock_Custom .rdHTitlebar .rdCommands 
    height: 100%; 
    _height: 25px
    backgroundurl(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-imageurl('DockNewImage/DockCommandSprites.png'); 
 
/* inner content */ 
 
.RadDock_Custom .rdContent 
    top0px/*brd*/ 
    padding-bottom0px/*brd*/ 
    font11px/1.2 verdana,sans-serif
    backgroundurl(DockNewImage/bl_mid.gif) repeat-x; 
    margin-left5px
    overflow:auto 
 
.RadDock_Custom .rdVTitlebar .rdContent 
    margin-left29px
 
 
/* drag grips */ 
 
.RadDock_Custom .rdGripTop, .RadDock_Custom .rdGripLeft 
    background#FFF
 
.RadDock_Custom .rdGripTop 
    top0px/*brd*/ 
    height3px
.RadDock_Custom .rdGripLeft 
    left2px/*brd*/ 
    width3px
 
.RadDock_Custom .rdWGripLeft .rdContent 
    margin-left3px
 
 
 
 
/*BASE STYLE*/ 
/* RadDock for ASP.NET AJAX Base Stylesheet */ 
 
.RadDockZone 
    positionrelative
    border-stylesolid
    border-width1px
 
* > .RadDockZone.rdVertical /* hidden from IE6 */ 
    padding-right4px
 
.RadDock 
    margin0px
    text-alignleft/* we need this in case the BODY has text-aligh:center applied */ 
 
.rdRtl 
    text-alignrightright/* we need this in case the BODY has text-aligh:center applied */ 
 
.rdPlaceHolder 
    border-styledashed
    border-width1px
 
.rdHorizontal .RadDock, .rdVertical .RadDock 
    positionrelative
 
.rdHorizontal .RadDock 
    floatleft
 
.rdHorizontal .rdRtl 
    floatrightright
 
.RadDock, .rdTopBorder, .rdBottomBorder 
    positionabsolute
    overflowhidden
 
.rdTopBorder, .rdSideBorders, .rdBottomBorder 
    border-width1px
    border-color: White; 
 
.rdSideBorders 
    border-stylenone solid none
 
.rdTopBorder 
    border-stylesolid none none
 
.rdBottomBorder 
    border-stylenone none solid
 
.rdVariableHeight .rdBottomBorder, .rdCollapsed .rdBottomBorder 
    positionstatic
 
.rdSideBorders 
{    
    height: 100%; 
    overflowhidden
    z-index: 10; 
.rdVariableHeight .rdSideBorders 
    heightauto
 
.rdTopBorder, .rdBottomBorder 
    width: 100%; 
.rdTopBorder 
    top: 0; 
    left: 0; 
.rdBottomBorder 
    bottombottom: 0; 
    left: 0; 
 
.rdContent, .rdGripTop 
    positionrelative
 
/* titlebar */ 
.rdTitlebar 
     
    displaynone
    positionrelative
    top1px/*brd*/ /*border-style: solid;*/ /*Changes by mayur*/ 
 
.rdHTitlebar .rdTitlebar 
    height25px
    border-width: 0 0 1px
 
.RadDock.rdCollapsed .rdHTitlebar .rdTitlebar 
    padding-bottom0px/*brd - title brd*/ 
 
.RadDock .rdVTitlebar .rdTitlebar 
    left1px
    width22px
    border-width: 0 1px 0 0; 
 
.RadDock .rdTitle 
     
    fontnormal 12px "Segoe UI" , ArialSans-serif
    line-height24px
 
.rdHTitlebar .rdTitlebar, .rdVTitlebar .rdTitlebar 
    displayblock
 
.rdVTitlebar .rdTitlebar 
    positionabsolute
    overflowhidden
 
.rdTitlebar .rdTitle 
    width:100%; 
    displayblock
    overflowhidden
    whitewhite-spacenowrap
    font-stylenormal
 
.rdTitlebar .rdCommands 
    positionabsolute
    displayblock
    z-index: 2; 
    rightright: 0; 
 
.rdRtl .rdTitlebar .rdCommands 
    rightrightauto
    left: 0; 
 
.rdHTitlebar .rdTitlebar .rdCommands 
    top: 0; 
.rdVTitlebar .rdTitlebar .rdCommands 
    bottombottom: 0; 
 
.rdTitlebar .rdCommands a 
    displayblock
    overflowhidden
    text-indent: -3333px
    cursordefault
.rdHTitlebar .rdTitlebar .rdCommands a 
    floatrightright
    height40px !important; 
    margin: 0 !important; 
 
.rdRtl .rdHTitlebar .rdTitlebar .rdCommands a 
    floatleft
 
* html .rdTitlebar .rdCommands a 
    displayinline-block
/* inner container */ 
 
.rdContent 
    overflowauto
/*IE6 overflow fix*/ 
* html .rdContent 
    width: 100%; 
    overflow-x: auto
    overflow-y: auto
* html .rdWGripLeft .rdContent, * html .rdWGripRight .rdContent, * html .rdVTitlebar .rdContent 
    widthauto
 
.rdCollapsed .rdContent 
    displaynone
 
/* grips */ 
.rdGripTop, .rdGripLeft 
    displaynone
    font-size1px
    line-height1px
 
.rdWGripTop .rdGripTop, .rdWGripLeft .rdGripLeft 
    displayblock
 
.rdGripTop 
    width: 100%; 
    overflowhidden
 
.rdGripLeft 
    positionabsolute
    height: 100%; 
 
/* dragging */ 
.rdDraggable 
    cursormove
 
/* float clearing */ 
.clear 
    clearboth
    height1px
    margin-bottom: -1px
    visibilityhidden
 
/* 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-size1px
    line-height1px
 
.rdCenter, .rdLeftMiddle, .rdRightMiddle 
    vertical-aligntop
    height: 100%; 
 
.rdWrapTable .rdTopBorder, .rdWrapTable .rdCenter, .rdWrapTable .rdContent 
    border: 0 !important; 
    top0px !important; 
 
.rdWrapTable .rdTitlebar 
    top: 0 !important; 
 
.rdWrapTable .rdTitlebar 
    margin: 0 !important; 
/* temporary wrapping table classes */ 
 
.rdWrapTable .rdGripTop 
    top0px !important; 
 
.RadDockZone 
    padding4px
 
.rdHTitlebar .rdTitle 
    padding-left10px
 
.rdVTitlebar .rdTitle 
    padding13px 0 0 8px
    line-height: 1.4em; 
    border1px solid
 
.RadDock_Vista .rdVTitlebar .rdTitle 
    background-repeatrepeat-y; 
 
.rdTitlebar .rdCommands a 
    width25px
    height19px
    background-repeatno-repeat
    margin3px 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 
    top1px/* brd */ 
    padding-bottom1px/* brd */ 
    fontnormal 11px "Segoe UI" , ArialSans-serif
    cursordefault
 
.rdVTitlebar .rdContent 
    margin-left24px
 
.rdGripTop 
    top1px/* brd */ 
    height3px
 
.rdGripLeft 
    left1px/*brd*/ 
    width3px
 
.rdWGripLeft .rdContent 
    margin-left3px
 
.rdTopLeft, .rdTopRight, .rdBottomLeft, .rdBottomRight, .rdLeftMiddle, .rdRightMiddle 
    height3px
    width3px
    line-height3px
 
.rdTopCenter, .rdBottomCenter 
    height3px
    line-height3px
 
.rdWrapTable .rdTitlebar, .rdWrapTable .rdTitle, .rdWrapTable .rdCommands 
    background-repeatrepeat-x; 
 
.rdWrapTable .rdCommands 
    margin-top1px
 
.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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?