Telerik Forums
UI for ASP.NET AJAX Forum
18 answers
465 views
I want to remove Radgrid from the taborder. I have set TabIndex="-1"  to remove from taborder but it is not working. Any help will be appreciated.

<Common:RadGrid ID="HistoryGrid" GridLines="Both" AllowMultiRowSelection="False"
                                    EnableAJAX="True" ShowStatusBar="True" PageSize="25" AllowPaging="True" AllowSorting="True"
                                    runat="server" Skin="Green" EnableEmbeddedSkins="false" OnNeedDataSource="HistoryGrid_NeedDataSource"
                                    OnItemDataBound="HistoryGrid_ItemDataBound" Width="99%" TabIndex="-1">
                                    <ClientSettings AllowKeyboardNavigation="True" AllowColumnsReorder="True" ReorderColumnsOnClient="True">
                                        <Resizing AllowColumnResize="True" AllowRowResize="False" />
                                        <Selecting AllowRowSelect="False" />
                                        <Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="false" />
                                        <ClientEvents OnActiveRowChanged="ActiveRowChanged" OnRowSelected="RowSelected" OnKeyPress="GridKeyPressed" />
                                    </ClientSettings>
Stacy
Top achievements
Rank 1
 answered on 05 May 2011
1 answer
213 views
I have a RadGrid control that has a horizontal scrolling with about 8 columns.

I'd need to disable the scrolling and instead just wrap the texts inside cells of my radgrid.

How would it be possible?

Thanks,
Pavlina
Telerik team
 answered on 05 May 2011
11 answers
148 views
Hi

I'm trying to implement the RadMenu so it works in a similar way to the ASP menu that comes with MOSS by default.  I've had some success, but one problem is that the PortalSiteMapDatasSource (sitemapprovider = CombinedNavSiteMapProvider) returns a parent node for the current SharePoint site (dependant upon how you configure your Global site sections under Site Actions - Modify Navigation) and then places all navigation within that site as child nodes beneath it. 

Swap the ASP menu with the Telerik RadMenu and all of a sudden I get one menu item on the menu bar with a drop down containing the items that should be on the root level of the menu.  It appears that the SharePoint ASP menu combines the first two levels together but RadMenu does not.

        <MyCo:MOSSRadMenu id="mossRadMenu" runat="server"
         AppendDataBoundItems="false"
         MaxDataBindDepth="5"
         DataSourceId="siteMapDataSource1"
         CollapseDelay="500"
         EnableViewState="false"
         EnableEmbeddedSkins="false"></MyCo:MOSSRadMenu>

        <PublishingNavigation:PortalSiteMapDataSource ID="siteMapDataSource1" Runat="server" 
            SiteMapProvider="CombinedNavSiteMapProvider" EnableViewState="false" 
            StartFromCurrentNode="true" StartingNodeOffset="0" ShowStartingNode="true" 
            TreatStartingNodeAsCurrent="true" TrimNonCurrentTypes="Heading"/> 

I can stop this happening in the RadMenu by changing the ShowStartingNode attribute of the PortalSiteMapDataSource to "false", however then the root SharePoint site node disappears from the menu.  So I do not want to do that.

Using some code, I was able to move the first level child nodes up one level and this almost works ...

        protected override void OnPreRender(EventArgs e)
        {
            base.OnPreRender(e);

            // Bring the sub-items up to the main level
            RadMenuItem[] mArray = new RadMenuItem[this.Items[0].Items.Count];
            this.Items[0].Items.CopyTo(mArray, 0); // Get items of next level down
            this.Items[0].Items.Clear(); // clear these items
            this.Items.AddRange(mArray); // paste them at the root level

        }

... the RadMenu now looks just like the ASP menu, the problem I am left with is that when I am at the root site, the first node on the menu (the site root) is styled to be selected - that is what I want.  However when I navigate to another page or site that now appears on the same level of the navigation it will become selected also (again what I want) but the first node (the site root) is still selected - I don't want this to be selected.

For example, if my sharepoint sites look like this:

Portal  (Parent root site)

  • Site 1   (child site)
  • Site 2   (child site)

 

Which creates the navigation (with the code modification above) in SharePoint as:


[ Portal ] | Site 1 | Site 2

When on the Portal root site (the welcome page for Portal), then Portal is styled to show it as selected. 

eg (where [ ] denotes the menu item that is styled as selected):

 
 
[ Portal ] | Site 1 | Site 2 
 
However when on Site 1, both Site 1 and Portal are styled to show they are both selected.  I want only SIte 1 to be selected in this instance.

eg, this is how it currently is rendered:
 


 

[ Portal ] | [ Site 1 ] | Site 2

 

When I walk through the nodes (In the OnPreRender event) the Selected property is always false so it seems it is not here that the RadMenu is deciding what nodes are selected?

Where / how do I control what nodes in my RadMenu are selected when used in a SharePoint MOSS Publishing site?

Kalina
Telerik team
 answered on 05 May 2011
8 answers
265 views
In RadFilter's compare operator dropdown, Is there a way to display Contains as Default instead of Equal to for string data types .
Campus Labs
Top achievements
Rank 1
 answered on 05 May 2011
3 answers
256 views
Hi All,

  I have a listbox with two columns of checkboxes in it. I am binding the list to the database and the data is being dispalyed, but none of the checkboxes is cheked. how can I retreive the checkboxes data for the listbox. Below is my code for binding the listbox

public void populate_selectedAssistAgency(String casRepId)
{
    Model.rep.repHeader RepHeader = new Model.rep.repHeader();
    AssistAgencyAdapter adp = new AssistAgencyAdapter();
    List<Assist> assist = new List<Assist>();
    RepHeader.repId = RepId;
    RepHeader = adp.getSelectedAssistAgency(RepHeader);
    assist = RepHeader.RepAssistAgency;
    RadListBox RadListBox_selectedAssistAgency = (RadListBox)RadPanelBar1.FindItemByText("RepIssues").Items[0].FindControl("RadListBox_selectedAssistAgency");
    RadListBox_selectedAssistAgency.DataSource = assist;
    RadListBox_selectedAssistAgency.DataTextField = "Assist_location_name";
    RadListBox_selectedAssistAgency.DataValueField = "Assist_location_id";
    RadListBox_selectedAssistAgency.DataBind();
}

 and my aspx code loks like this
<td style="width:"2%">t<br />
           <telerik:RadListBox runat="server" ID="RadListBox_selectedAssistAgency" AllowDelete="false" AllowReorder="false"
               AutoPostBack="false" SelectionMode="Multiple" Width="120px" Height="200px"   >
               <ItemTemplate>
                 
                  <asp:CheckBox ID="chkAssistDistance" runat="server" />
                   <asp:CheckBox ID="chkAssistOnSite" runat="server" />
                   <asp:Label ID="lblAssistAgencySelected" runat="server" Text='<%# DataBinder.Eval(Container,"Text") %>'></asp:Label>
               </ItemTemplate>
                
           </telerik:RadListBox>

Any help will be apprecaited.
Anjali
Top achievements
Rank 1
 answered on 05 May 2011
1 answer
163 views
Hi,

I have attached an image showing that the appointment goes outside the day, and can't seem to find what in my css is giving it the permission to do so.

Below is my css code.  Please let me know if I need to provide more information as I'm at wits end while we still evaluate your product.

Thanks again.

/*
    This file skins the telerik  radScheduler control.
    The file had to be created in order to make the css styles overiddible.
     
*/
 
/* common */
.RadScheduler_Evanced,
.RadScheduler_Evanced a,
.RadScheduler_Evanced input,
.RadScheduler_Evanced select,
.RadScheduler_Evanced textarea
{
    font: normal 12px/14px "Segoe UI", Arial, sans-serif;
}
 
.RadScheduler_Evanced,
.RadScheduler_Evanced a,
.RadScheduler_Evanced input,
.RadScheduler_Evanced select,
.RadScheduler_Evanced textarea
{
    color: #333;
}
 
.RadScheduler_Evanced textarea
{
    background: #fff;
}
 
/* header */
 
 
 
.RadScheduler_Evanced .rsHeader
{
    border: 1px solid #929292;
    background:#eee url(../images/utility-grad.png) repeat-x left top;
}
 
.RadScheduler_Evanced .rsHeader,
.RadScheduler_Evanced .rsHeader a,
.RadScheduler_Evanced .rsHeader ul span,
.RadScheduler_Evanced .rsHeader ul em
{
    color: #000;
}
 
.RadScheduler_Evanced .rsHeader a
{
    color: #333;
}
 
.RadScheduler_Evanced .rsHeader .rsSelected{
    line-height:22px;
    padding:4px 0;
}
 
.RadScheduler.RadScheduler_Evanced .rsTopWrap .rsHeader ul a {
    padding:4px 0;
    line-height:22px;
}
 
.RadScheduler.RadScheduler_Evanced .rsTopWrap .rsHeader ul a span{
    padding:0px 9px;
}
 
 
.RadScheduler_Evanced .rsHeader .rsSelected em,
.RadScheduler_Evanced .rsHeader ul a:hover span
{
    color: #FFF;
    background:#666;
    padding:0 9px;
}
 
.RadScheduler.RadScheduler_Evanced .rsHeader .rsDatePickerActivator
{
    background:url(../images/down-arrow.png) no-repeat left center;
    width:14px;
    height:30px;
    margin-left:5px;
    margin-top:0;
}
 
.RadScheduler.RadScheduler_Evanced .rsHeader .rsDatePickerActivator:hover
{
    background-color:#666;
    background-position:right center;
}
 
.RadScheduler.RadScheduler_Evanced .rsHeader .rsToday
{
    display:block;
    float:left;
    padding:0 5px;
}
 
.RadScheduler.RadScheduler_Evanced .rsHeader .rsToday:hover
{
    background-color:#666;
    color:#fff;
}
 
/*next day link */
.RadScheduler.RadScheduler_Evanced .rsHeader .rsNextDay
{
    background:url(../images/right-arrow.png) no-repeat left center;
    width:16px;
    margin-top:0;
    height:30px;
}
 
.RadScheduler.RadScheduler_Evanced .rsHeader .rsNextDay:hover
{background-position: right center; background-color:#666;}
 
/*prev day link */
.RadScheduler.RadScheduler_Evanced .rsHeader .rsPrevDay
{
    background:url(../images/left-arrow.png) no-repeat left center;
    width:16px;
    margin-top:0;
    height:30px;
}
.RadScheduler.RadScheduler_Evanced .rsHeader .rsPrevDay:hover
{ background-position: right center; background-color:#666;}
 
 
 
/* content */
 
.RadScheduler_Evanced .rsContent
{
    background: #fff;
}
 
/* <headers> */
 
.RadScheduler_Evanced .rsHorizontalHeaderTable
{
    color: #333;
    background: #e4e4e4;
}
 
.RadScheduler_Evanced .rsHorizontalHeaderWrapper {
    border-color: #d2d2d2;
    background: transparent;
}
 
 
.RadScheduler_Evanced .rsAllDayHeader,
.RadScheduler_Evanced .rsVerticalHeaderWrapper,
.RadScheduler_Evanced .rsVerticalHeaderTable
{
    background: #eee ;
}
 
.RadScheduler_Evanced .rsVerticalHeaderTable th
{
    border-color: #868686 #d2d2d2;
    color: #333;
}
 
.RadScheduler_Evanced .rsHorizontalHeaderTable th
{
    border-color: #d2d2d2;
    background-color: #E4E4E4;
}
 
.RadScheduler_Evanced .rsVerticalHeaderTable th
{
    border-color: #d2d2d2;
}
* html .RadScheduler_Evanced .rsVerticalHeaderTable th { border-bottom-color: #f1f1f1; }
 
.RadScheduler_Evanced table.rsVerticalHeaderTable .rsAlt th
{
    border-color: #d2d2d2 #d2d2d2;
}
 
/* </headers> */
 
/* <all-day-row> */
 
.RadScheduler_Evanced .rsAllDayRow
{
    background: #eee;
}
 
.RadScheduler_Evanced .rsSpacerCell,
.RadScheduler_Evanced .rsAllDayHeader,
.RadScheduler_Evanced .rsVerticalHeaderTable .rsAllDayHeader
{
    border-color: #d2d2d2 #d2d2d2;
}
 
.RadScheduler_Evanced .rsAllDayRow td,
.RadScheduler_Evanced .rsContentTable .rsAllDayRow td
{
    border-color: #d2d2d2;
    border-style: solid;
}
 
.RadScheduler_Evanced .rsVerticalHeaderTable .rsMainHeader th
{
    border-bottom-color: #d2d2d2;
}
 
.RadScheduler_Evanced .rsSpacerCell,
.RadScheduler_Evanced .rsContent .rsAllDayHeader
{
    border-bottom-color: #d2d2d2;
}
 
/* </all-day-row> */
 
.RadScheduler_Evanced .rsContent,
.RadScheduler_Evanced .rsTopWrap .rsFooter
{
    border: 1px solid #929292;
    border-top: 0;
}
 
.RadScheduler_Evanced .rsContentTable td
{
    border-color: #e8eaec #e8eaec;
    border-bottom-style: dotted;
}
 
.RadScheduler_Evanced .rsContentTable .rsAlt td
{
    border-color: #c7cbd1 #e8eaec;
    border-bottom-style: solid;
}
 
.RadScheduler_Evanced .rsMonthView .rsOtherMonth
{
    background-color: #eee;
}
 
/* <appointments> */
.RadScheduler_Evanced .rsApt, .RadScheduler_Evanced .rsAptOut
{
    
}
 
.RadScheduler_Evanced .rsApt .rsArrowTop,
.RadScheduler_Evanced .rsApt .rsArrowBottom,
.RadScheduler_Evanced .rsApt .rsArrowLeft,
.RadScheduler_Evanced .rsApt .rsArrowRight,
.RadScheduler_Evanced .rsApt .rsAptDelete,
.RadScheduler_Evanced .rsApt .rsAptResize,
.RadScheduler_Evanced .rsApt .rsAptRecurrence,
.RadScheduler_Evanced .rsApt .rsAptRecurrenceException
{
    background-color: transparent;
    background-image: url('../images/telerik/Scheduler/rsSprites.png');
    background-repeat: no-repeat;
}
 
.RadScheduler.RadScheduler_Evanced .rsAptContent,
.RadScheduler.RadScheduler_Evanced .rsAptIn,
.RadScheduler.RadScheduler_Evanced .rsAptMid
{
    border-style: none;
    position: inherit;
}
.RadScheduler.RadScheduler_Evanced .rsAptOut
{
    width: 99%;
}
 
.RadScheduler .RadScheduler_Evanced .rsContentWrapper
{
    height: 500px;
}
 
.RadScheduler.RadScheduler_Evanced .rsAptContent
{
    padding-left:15px;
    height: 500px;
}
 
.RadScheduler_Evanced .rsContentTable td.rsAptCreate
{
    background-color: #ffc;
     
}
 
.RadScheduler_Evanced .rsContentTable td.rsTodayCell
{
    background:#ffc;
     
}
 
.RadScheduler_Evanced .rsAptCreateRow2,
.RadScheduler_Evanced .rsMonthView .rsAptCreateRow2
{
    background-color: #ffc;
     
}
 
 
 
 
.RadScheduler_Evanced .rsAptCreateRow3,
.RadScheduler_Evanced .rsMonthView .rsAptCreateRow3,
.RadScheduler_Evanced .rsAptCreateRow4,
.RadScheduler_Evanced .rsMonthView .rsAptCreateRow4,
.RadScheduler_Evanced .rsAptCreateRow5,
.RadScheduler_Evanced .rsMonthView .rsAptCreateRow5
{
    background: #c5c5c5;
}
 
.RadScheduler_Evanced .rsFullTime
{
    color: #000;
}
 
 
.RadScheduler.RadScheduler_Evanced .rsAptOut
{
     
    background:#eee;
    border:solid 1px #aaa;
    -moz-border-radius:2px;
    -webkit-border-radius:2px;
    cursor:pointer;
}
 
.RadScheduler.RadScheduler_Evanced .rsAptOut:hover
{
    background:#fff;
}
 
 
.RadScheduler.RadScheduler_Evanced .rsAptOut,
.RadScheduler.RadScheduler_Evanced .rsAptMid,
.RadScheduler.RadScheduler_Evanced .rsAptIn
{
    position:static;
    height:auto !important;
}
 
.RadScheduler_Evanced .rsAptSimple
{
    background-color: #dbdbdb;
    border-color: #949494;
}
 
/* </appointments> */
 
/* <footer> */
 
.RadScheduler_Evanced .rsFooter
{
    background: #eee;
}
 
.RadScheduler_Evanced .rsFooter a
{
    color: #555;
    background-color: transparent;
    background-image: url('../images/telerik/Scheduler/rsSprites.png');
    background-repeat: no-repeat;
}
 
.RadScheduler_Evanced div.rsFooter a:hover
{
    color: #888;
}
 
.RadScheduler.RadScheduler_Evanced .rsFooter .rsFullTime
{
    background:url(../images/UpDown.png) no-repeat left top;
    height:30px;
    display:block;
    padding-left:20px;
}
 
.RadScheduler.RadScheduler_Evanced .rsFooter .rsFullTime:hover
{
    background-position:left bottom;
}
 
/* </footer> */
 
/* <inline edit form> */
 
.RadScheduler_Evanced .rsEditOptions a,
.RadScheduler_Evanced .rsAptEditResizeHandle,
.RadScheduler_Evanced .rsAptEditFormWrapper
{
    background-image: url('../images/telerik/Scheduler/rsSprites.png');
}
 
.RadScheduler_Evanced .rsAptEditFormOuter, /* top */
.RadScheduler_Evanced .rsAptEditFormInner  /* bottom */
{
    background-image: url('../images/telerik/Scheduler/rsInlineEditHSprite.png');
}
 
.RadScheduler_Evanced .rsAptEditFormMiddle, /* left */
.RadScheduler_Evanced .rsAptEditFormMiddle2 /* right */
{
    background-image: url('../images/telerik/Scheduler/rsInlineEditVSprite.png');
}
 
.RadScheduler_Evanced .rsAptEditFormWrapper .rsAptEditTextareaWrapper
{
    border-color: #828282;
    background: #fff;
}
 
.RadScheduler_Evanced .rsAptEditFormWrapper .rsAptEditTextareaWrapper textarea
{
    background: #fff;
}
 
.RadScheduler_Evanced .rsAptEditFormWrapper .rsEditOptions
{
    background: #eee;
}
 
/* <inline edit form template> */
 
.RadScheduler_Evanced .rsAptEditFormWrapper .rsTemplateWrapper
{
    background: #eee;
}
 
/* </inline edit form template> */
 
/* </inline edit form> */
 
/* <advanced edit form> */
 
.RadScheduler_Evanced .rsAdvancedEdit .rsAdvContentWrapper
{
    background: #f0f0f0;
    border: 1px solid #828282;
    border-top-color: #DDD;
}
 
/* <xref input skins> */
 
.RadScheduler_Evanced .rsAdvancedEdit .rsAdvInput,
.RadScheduler_Evanced .rsAdvancedEdit select,
.RadScheduler_Evanced .rsAdvancedEdit .textareaWrapper
{
    border-color: #8e8e8e #b8b8b8 #b8b8b8 #8e8e8e;
}
 
.RadScheduler_Evanced .rsAdvancedEdit .rsInvalid textarea,
.RadScheduler_Evanced .rsAdvancedEdit .rsInvalid input,
.RadScheduler_Evanced .rsAdvancedEdit .rsAdvTimePicker .riEmpty
{
    background-image: url('Input/sprite.gif');
    background-color: #fff;
}
 
.RadScheduler_Evanced .rsAdvancedEdit input.rsInvalid
{
    border-color: #d51923;
    color: #d51923;
}
/* </xref input skins> */
 
.RadScheduler_Evanced .rsAdvancedEdit h2,
.RadScheduler_Evanced .rsAdvancedEdit h3
{
    color: #6b6b6b;
}
 
.RadScheduler_Evanced .rsAdvancedEdit h2
{
    border-bottom: 1px solid #CCC;
}
 
.RadScheduler_Evanced .rsAdvancedEdit h2 span
{
    background: #f0f0f0;
}
 
.RadScheduler_Evanced .rsAdvancedEdit ul.rsRecurrenceOptionList
{
    border-right: 1px solid #ababab;
}
 
.RadScheduler_Evanced .rsAdvancedEdit div.rsAdvPatternPanel
{
    border-left: 0;
}
 
.RadScheduler_Evanced .rsAdvancedEdit .rsAdvancedSubmitArea
{
    border-color: #CCC;
}
 
.RadScheduler_Evanced .rsAdvancedEdit div.rsAdvancedSubmitArea a
{
    color: #333;
    background-image: url('../images/telerik/Scheduler/rsSprites.png');
}
 
/* </advanced edit form> */
 
/* <date/time picker> */
 
.RadScheduler_Evanced .rsTimePick .RadInput_Evanced input.riEnabled,
.RadScheduler_Evanced .rsTimePick .RadInput_Evanced input.riHover,
.RadScheduler_Evanced .rsTimePick .RadInput_Evanced input.riFocused
{
    background-image: url('../images/telerik/Scheduler/rsSprites.png');
}
 
/* </date/time picker> */
 
/* <modal dialogs> */
 
.RadScheduler_Evanced .rsAdvancedEdit .rsAdvTitle,
.RadScheduler_Evanced .rsModalWrapper .rsModalOuter
{
    border-color: #828282;
    background-image: url('../images/telerik/Scheduler/rsModalOuterBg.png');
}
 
.RadScheduler_Evanced .rsAdvancedEdit .rsAdvInnerTitle,
.RadScheduler_Evanced .rsModalWrapper .rsModalOuterTitle
{
    background-image: url('../images/telerik/Scheduler/rsModalOuterTitleBg.png');
}
 
.RadScheduler_Evanced .rsAdvancedEdit a.rsAdvEditClose,
.RadScheduler_Evanced .rsModalWrapper .rsModalWindowClose
{
    background-image: url('../images/telerik/Scheduler/rsSprites.png');
}
 
.RadScheduler_Evanced .rsAdvancedEdit a.rsAdvEditClose
{
    margin-top: -23px;
}
 
.RadScheduler_Evanced .rsAdvancedEdit a.rsAdvEditClose:hover,
.RadScheduler_Evanced .rsModalWrapper .rsModalWindowClose:hover
{
    background-position: -30px -341px;
}
 
.RadScheduler_Evanced .rsModalWrapper .rsModalTitle
{
    color: #000;
    background-image: url('../images/telerik/Scheduler/rsSprites.png');
}
 
.RadScheduler_Evanced .rsModalWrapper .rsModalInner
{
    border-color: #828282;
    background: #fff;
}
 
.RadScheduler_Evanced .rsModalWrapper .rsModalIcon,
.RadScheduler_Evanced .rsModalWrapper .rsModalButtons a
{
    background-image: url('../images/telerik/Scheduler/rsSprites.png');
}
 
/* Inline Edit buttons + ModalDialog buttons */
.RadScheduler_Evanced .rsModalWrapper .rsModalButtons a,
.RadScheduler_Evanced .rsTopWrap .rsAptEditFormWrapper .rsEditOptions a
{
    color: #333;
}
 
/* </modal dialogs> */
 
.RadScheduler_Evanced .rsBottomIndicator .rsOvertimeArrow
{
    background: transparent url('../images/telerik/Scheduler/rsSprites.png') no-repeat -180px -31px;
}          
 
.RadScheduler_Evanced .rsTopIndicator .rsOvertimeArrow
{
    background: transparent url('../images/telerik/Scheduler/rsSprites.png') no-repeat -134px -31px;
}          
 
 
 
/*
.RadScheduler.RadScheduler_Evanced .rsHeader
{
   background:#eee url(../images/utility-grad.png) repeat-x left top;
   border:1px solid #929292;
}
 
.RadScheduler.RadScheduler_Evanced .rsHorizontalHeaderTable
{
    background:#E4E4E4;
}
 
.RadScheduler.RadScheduler_Evanced .rsHorizontalHeaderTable th
{
    border-color: #d2d2d2;
     
}
 
.RadScheduler.RadScheduler_Evanced .rsHorizontalHeaderWrapper, .RadScheduler.RadScheduler_Evanced .rsHorizontalHeaderTable
{
    background-color:#f0f0f0;
}
 
.RadScheduler.RadScheduler_Evanced .rsContent
{
   background:#fff;
   border:1px solid #929292;
   border-top:0;
}
 
.RadScheduler.RadScheduler_Evanced .rsContentTable td
{
   border-color:#E8EAEC;
}
 
.RadScheduler.RadScheduler_Evanced  .rsMonthView .rsOtherMonth
{
    background-color:#eee;
}
 
/*date link
.RadScheduler .rsDateHeader
{
    color:#333;
    font-size:13px;
    padding:1px 4px 3px;
    text-decoration:none;
}
*/
 
/***************
Rad Calendar--- This is here because it exists inside the rad scheduler.
*******************/
 
/*Telerik RadCalendar Default skin*/
 
table.RadCalendar_Evanced
{
    table-layout:auto;
    border-collapse:separate;
    border:0;
    background:#fff;
    font:12px "segoe ui",arial,sans-serif;
    width:220px;
}
 
/*titlebar*/
 
.RadCalendar_Evanced .rcTitlebar
{
    width:100%;
    border:1px solid;
    border-color:#868686 #868686 #c4c4c4;
    padding:0;
    background:#eaeaea 0 -1000px repeat-x url('../images/telerik/Calendar/sprite.gif');
    color:#000;
}
 
.RadCalendar_Evanced .rcTitlebar table
{
    table-layout:auto;
    width:100%;
    border-collapse:separate;
    border:0;
    font:12px/23px "segoe ui",arial,sans-serif;
}
 
.RadCalendar_Evanced .rcTitlebar td
{
    border:0;
    padding:0 0 1px;
    text-align:center;
    vertical-align:middle;
}
 
.RadCalendar_Evanced .rcTitlebar .rcTitle
{
    width:100%;
    cursor:pointer;
}
.RadCalendar_Evanced .rcNoNav .rcTitle
{
    cursor:default;
}
 
.RadCalendar_Evanced .rcTitlebar .rcPrev,
.RadCalendar_Evanced .rcTitlebar .rcNext,
.RadCalendar_Evanced .rcTitlebar .rcFastPrev,
.RadCalendar_Evanced .rcTitlebar .rcFastNext
{
    display:block;
    width:15px;
    height:15px;
    overflow:hidden;
    margin:0 4px;
    background:transparent url('../images/telerik/Calendar/sprite.gif') no-repeat;
    text-indent:-2222px;
    text-decoration:none;
    color:#ccc;
}
 
.RadCalendar_Evanced .rcTitlebar .rcFastPrev
{
    margin-left:6px;
    background-position:1px -197px;
}
 
.RadCalendar_Evanced .rcTitlebar .rcFastPrev:hover
{
    background-position:1px -247px;
}
 
.RadCalendar_Evanced .rcTitlebar .rcPrev
{
    background-position:4px -297px;
}
 
.RadCalendar_Evanced .rcTitlebar .rcPrev:hover
{
    background-position:4px -347px;
}
 
.RadCalendar_Evanced .rcTitlebar .rcNext
{
    background-position:3px -397px;
}
 
.RadCalendar_Evanced .rcTitlebar .rcNext:hover
{
    background-position:3px -447px;
}
 
.RadCalendar_Evanced .rcTitlebar .rcFastNext
{
    margin-right:6px;
    background-position:1px -497px;
}
 
.RadCalendar_Evanced .rcTitlebar .rcFastNext:hover
{
    background-position:1px -547px;
}
 
.RadCalendar_Evanced .rcMain
{
    width:100%;
    border:1px solid #868686;
    border-top:0;
    padding:0;
}
 
.RadCalendar_Evanced .rcMainTable
{
    table-layout:auto;
    border-collapse:separate;
    border:0;
    width:100%;
    font:12px/17px "segoe ui",arial,sans-serif;
}
 
/*header, footer*/
 
.RadCalendar_Evanced .rcHeader,
.RadCalendar_Evanced .rcFooter
{
    border:1px solid #868686;
    border-top:0;
    padding:0;
}
 
/*week numbers and days*/
 
.RadCalendar_Evanced .rcRow th,
.RadCalendar_Evanced .rcWeek th
{
    border:0;
    font-weight:normal;
    vertical-align:middle;
    cursor:default;
}
 
.RadCalendar_Evanced .rcWeek th
{
    border-bottom:1px solid #c5c5c5;
    padding:4px 6px 3px 0;
    text-align:right;
    color:#333;
}
 
.RadCalendar_Evanced .rcWeek .rcViewSel,
.RadCalendar_Evanced .rcRow th
{
    width:13px;
    padding:0 7px 0 9px;
    background:#eee;
    text-align:center;
}
 
.RadCalendar_Evanced .rcRow th
{
    color:#777;
}
 
/*date cells*/
 
.RadCalendar_Evanced .rcRow td
{
    border:1px solid #fff;
    padding:0;
    text-align:right;
    vertical-align:middle;
}
 
.RadCalendar_Evanced .rcMain .rcRow a,
.RadCalendar_Evanced .rcMain .rcRow span
{
    display:block;
    padding:1px 5px 1px 0;
    text-decoration:none;
    color:#333;
}
 
.RadCalendar_Evanced .rcPreview .rcRow a
{
    outline:none;
}
 
.RadCalendar_Evanced .rcMain .rcWeekend a
{
    color:#666;
}
 
.RadCalendar_Evanced .rcRow .rcToday
{
    border-color:#898989;
}
 
.RadCalendar_Evanced .rcMain .rcOtherMonth a
{
    color:#898989;
}
 
.RadCalendar_Evanced .rcMain .rcOutOfRange span
{
    color:#898989;
    cursor:default;
}
 
.RadCalendar_Evanced .rcRow .rcHover
{
    border-color:#c4c4c4 #b2b2b2 #9e9e9e;
    background:#c5c5c5 0 -1600px repeat-x url('../images/telerik/Calendar/sprite.gif');
}
 
.RadCalendar_Evanced .rcRow .rcSelected
{
    border-color:#8d8d8d #7d7d7d #6c6c6c;
    background:#828282 0 -1700px repeat-x url('../images/telerik/Calendar/sprite.gif');
}
 
.RadCalendar_Evanced .rcMain .rcRow .rcSelected a
{
    color:#fff;
}
 
/*multimonth view*/
 
table.RadCalendarMultiView_Evanced
{
    width:auto;
}
 
.RadCalendarMultiView_Evanced .rcTitlebar
{
    border-color:#9a9a9a #9c9c9c #9c9c9c;
    background:#c5c5c5 0 -1199px repeat-x url('../images/telerik/Calendar/sprite.gif');
}
 
.RadCalendarMultiView_Evanced .rcTitlebar table
{
    border:1px solid;
    border-color:#fdfdfd #f3f3f3 #e7e7e7;
    line-height:27px;
}
 
.RadCalendarMultiView_Evanced .rcTitlebar .rcFastPrev:hover
{
    background-position:1px -647px;
}
 
.RadCalendarMultiView_Evanced .rcTitlebar .rcPrev:hover
{
    background-position:4px -747px;
}
 
.RadCalendarMultiView_Evanced .rcTitlebar .rcNext:hover
{
    background-position:3px -847px;
}
 
.RadCalendarMultiView_Evanced .rcTitlebar .rcFastNext:hover
{
    background-position:1px -947px;
}
 
.RadCalendarMultiView_Evanced .rcMain
{
    border-color:#9b9b9b;
}
 
.RadCalendarMultiView_Evanced .rcCalendar
{
    width:220px;
    border:1px solid #868686;
    padding:0;
}
 
.RadCalendarMultiView_Evanced .rcMainTable .rcTitle
{
    border:0;
    border-bottom:1px solid #c4c4c4;
    padding:0 0 2px;
    background:#eaeaea 0 -1000px repeat-x url('../images/telerik/Calendar/sprite.gif');
    text-align:center;
    line-height:22px;
}
 
/*month view*/
 
table.RadCalendarMonthView_Evanced
{
    border-collapse:separate;
    border:1px solid #979797;
    background:#fff;
    font:12px "segoe ui",arial,sans-serif;
    color:#333;
}
 
table.RadCalendarMonthView_Evanced td
{
    border:0;
    padding:5px 2px 0;
}
 
.RadCalendarMonthView_Evanced #rcMView_Feb,
.RadCalendarMonthView_Evanced #rcMView_Apr,
.RadCalendarMonthView_Evanced #rcMView_Jun,
.RadCalendarMonthView_Evanced #rcMView_Aug,
.RadCalendarMonthView_Evanced #rcMView_Oct,
.RadCalendarMonthView_Evanced #rcMView_Dec
{
    border-right:1px solid #e0e0e0;
}
 
.RadCalendarMonthView_Evanced a
{
    display:block;
    padding:2px 4px;
    text-align:center;
    text-decoration:none;
    color:#333;
}
 
.RadCalendarMonthView_Evanced .rcSelected a
{
    border:1px solid;
    border-color:#8d8d8d #7d7d7d #6c6c6c;
    padding:1px 3px;
    background:#828282 0 -1700px repeat-x url('../images/telerik/Calendar/sprite.gif');
    color:#fff;
}
 
.RadCalendarMonthView_Evanced #rcMView_PrevY a,
.RadCalendarMonthView_Evanced #rcMView_NextY a
{
    display:block;
    width:17px;
    height:14px;
    overflow:hidden;
    margin:0 auto;
    background:transparent no-repeat url('../images/telerik/Calendar/sprite.gif');
    text-indent:-2222px;
    text-align:center;
    text-decoration:none;
    color:#ccc;
}
 
.RadCalendarMonthView_Evanced #rcMView_PrevY a
{
    background-position:7px -196px;
}
 
.RadCalendarMonthView_Evanced #rcMView_NextY a
{
    background-position:7px -496px;
}
 
.RadCalendarMonthView_Evanced .rcButtons
{
    padding:6px 7px 5px;
    text-align:center;
}
 
.RadCalendarMonthView_Evanced input
{
    border:1px solid;
    border-color:#a7a7a7 #7b7b7b #7b7b7b #a7a7a7;
    padding:0;
    background:#e9e9e9 0 -2300px repeat-x url('../images/telerik/Calendar/sprite.gif');
    color:#000;
    font:12px "segoe ui",arial,sans-serif;
    cursor:pointer;
}
 
.RadCalendarMonthView_Evanced #rcMView_Today
{
    margin:0 0.4em 0 0;
}
 
.RadCalendarMonthView_Evanced #rcMView_OK
{
    padding:0 0.2em;
}
 
/*time view*/
 
table.RadCalendarTimeView_Evanced
{
    border-collapse:separate;
    border:1px solid #868686;
    background:#fff;
    font:12px "segoe ui",arial,sans-serif;
}
 
.RadCalendarTimeView_Evanced th
{
    border:0;
    border-bottom:1px solid #c4c4c4;
    padding:0 0 1px;
    background:#eaeaea 0 -1000px repeat-x url('../images/telerik/Calendar/sprite.gif');
    color:#000;
    text-align:center;
    cursor:default;
    line-height:23px;
    font-weight:normal;
}
 
table.RadCalendarTimeView_Evanced td
{
    border:0;
    border-left:1px solid #c5c5c5;
    padding:2px 2px 3px;
}
 
table.RadCalendarTimeView_Evanced td:first-child
{
    border-left:0;
}
 
.RadCalendarTimeView_Evanced a
{
    display:block;
    padding:2px 6px;
    text-align:center;
    color:#333;
    text-decoration:none;
}
 
.RadCalendarTimeView_Evanced td.rcSelected a
{
    border:1px solid;
    border-color:#8d8d8d #7d7d7d #6c6c6c;
    padding:1px 5px;
    background:#828282 0 -1700px repeat-x url('../images/telerik/Calendar/sprite.gif');
    color:#fff;
}
 
.RadCalendarTimeView_Evanced td.rcHover a
{
    border:1px solid;
    border-color:#c4c4c4 #b2b2b2 #9e9e9e;
    padding:1px 5px;
    background:#c5c5c5 0 -1600px repeat-x url('../images/telerik/Calendar/sprite.gif');
    color:#000;
}
 
.RadCalendarTimeView_Evanced .rcFooter
{
    border:0;
    border-top:1px solid #c5c5c5;
    padding:0;
}
 
/*pickers*/
 
.RadPicker_Evanced,
.RadPicker_Evanced td
{
    vertical-align:middle;
}
 
.RadPicker_Evanced .RadInput
{
    vertical-align:baseline;
}
 
.RadPicker_Evanced .rcTable
{
    table-layout:auto;
}
 
.RadPicker_Evanced table.rcTable,
.RadPicker_Evanced table.rcTable td
{
    border:0;
    margin:0;
    padding:0;
}
 
.RadPicker_Evanced table.rcTable .rcInputCell
{
    padding:0 4px 0 0;
}
 
.RadPicker_Evanced td a
{
    position:relative;/*FF*/
    outline:none;/*FF*/
    z-index:2;/*Opera*/
    margin:0 2px;
    text-decoration:none;
}
* html .RadPicker_Evanced td a{position:static}/*IE6*/
*+html .RadPicker_Evanced td a{position:static}/*IE7*/
 
.RadPicker_Evanced .rcCalPopup,
.RadPicker_Evanced .rcTimePopup
{
    display:block;
    overflow:hidden;
    width:22px;
    height:22px;
    background:url('../images/telerik/Calendar/sprite.gif') no-repeat;
    text-indent:-2222px;
    text-align:center;
}
 
.RadPicker_Evanced .rcCalPopup,
.RadPicker_Evanced .rcDisabled.rcCalPopup:hover
{
    background-position:0 0;
}
 
.RadPicker_Evanced .rcCalPopup:hover,
.RadPicker_Evanced .rcCalPopup:focus,
.RadPicker_Evanced .rcCalPopup:active
{
    background-position:0 -50px;
}
 
.RadPicker_Evanced .rcTimePopup,
.RadPicker_Evanced .rcDisabled.rcTimePopup:hover
{
    background-position:0 -100px;
}
 
.RadPicker_Evanced .rcTimePopup:hover,
.RadPicker_Evanced .rcTimePopup:focus,
.RadPicker_Evanced .rcTimePopup:active
{
    background-position:0 -150px;
}
 
.RadPicker_Evanced .rcDisabled,
.RadCalendarMonthView_Evanced .rcDisabled
{
    opacity:0.5;
    filter:alpha(opacity=50);
}
 
/*rtl*/
 
.RadCalendarRTL_Evanced .rcTitlebar .rcFastPrev
{
    background-position:1px -497px;
}
 
.RadCalendarRTL_Evanced .rcTitlebar .rcFastPrev:hover
{
    background-position:1px -547px;
}
 
.RadCalendarRTL_Evanced .rcTitlebar .rcPrev
{
    background-position:3px -397px;
}
 
.RadCalendarRTL_Evanced .rcTitlebar .rcPrev:hover
{
    background-position:3px -447px;
}
 
.RadCalendarRTL_Evanced .rcTitlebar .rcNext
{
    background-position:4px -297px;
}
 
.RadCalendarRTL_Evanced .rcTitlebar .rcNext:hover
{
    background-position:4px -347px;
}
 
.RadCalendarRTL_Evanced .rcTitlebar .rcFastNext
{
    background-position:1px -197px;
}
 
.RadCalendarRTL_Evanced .rcTitlebar .rcFastNext:hover
{
    background-position:1px -247px;
}
 
.RadCalendarMultiViewRTL_Evanced .rcTitlebar .rcFastPrev:hover
{
    background-position:1px -947px;
}
 
.RadCalendarMultiViewRTL_Evanced .rcTitlebar .rcPrev:hover
{
    background-position:3px -847px;
}
 
.RadCalendarMultiViewRTL_Evanced .rcTitlebar .rcNext:hover
{
    background-position:4px -747px;
}
 
.RadCalendarMultiViewRTL_Evanced .rcTitlebar .rcFastNext:hover
{
    background-position:1px -647px;
}
 
 
/**********************
PRINT VIEW
********************/
 
.calendar-print .RadScheduler.RadScheduler_Evanced *
{
    background-image:none !important;
}
 
.calendar-print .RadScheduler.RadScheduler_Evanced .rsContentTable td:hover, .calendar-print .RadScheduler.RadScheduler_Evanced .rsTodayCell
{
    background-color:transparent;
}
 
 
.calendar-print .RadScheduler.RadScheduler_Evanced .rsAptOut:hover, .calendar-print .RadScheduler.RadScheduler_Evanced td.rsOtherMonth:hover
{
    background-color:#eee;
}
Peter
Telerik team
 answered on 05 May 2011
2 answers
199 views

Hi,

When I load the radwindow for first time I want that one of my item in the Radlistbox with checkbox is checked.  I'm getting that item value from the Main page.  Currently with the below code I am able to select the row but the checkbox is not selected.

Client Side code

<telerik:RadListBox ID="Radlistbox" runat="server" CheckBoxes="true" Width="250px"
    Height="230px" DataSourceID="dsGetProducts" DataTextField="IDAndProduct" DataValueField="ProductID"
   Skin="Outlook" onitemcheck="Radlistbox_ItemCheck"  AutoPostBack="true"  OnClientItemChecked="OnClientItemChecked"
    OnClientSelectedIndexChanged="OnClientSelectedIndexChanged" >
  </telerik:RadListBox>

                                               
Server side

    if (!Page.IsPostBack)
  
   {
  
Radlistbox.SelectedValue = Session["ProductID"].ToString();
  
      }              

 

Thanks

Jessy

Jessy Joseph
Top achievements
Rank 1
 answered on 05 May 2011
1 answer
51 views
Hello,

Every created appointment, there is gape in Appointment Scheduler slot. It is not show the full color in that appointment slot and it remain some space. It created a lot of problem when we try to manipulate lunch and block time. It created appointment in remaining gape area. It should not occurred this type of gape.

Also, I attached the related file of this problem.

Please help me as soon as possible.

Thanks


Best Regards


Mutum Jiten Singh
Akhil Systems

Peter
Telerik team
 answered on 05 May 2011
5 answers
113 views
Hello Admin,

I have used Telerik scheduler. Following is the code that I am using to update the delete status of the appointment
protected void rsAppointments_OnAppointmentDelete(object sender, AppointmentDeleteEventArgs e)
       {
           try
           {
               Appointment appToEdit = rsAppointments.PrepareToEdit(e.Appointment, rsAppointments.EditingRecurringSeries);
               appToEdit.Attributes["IsDeleted"] = "1";
 
               rsAppointments.UpdateAppointment(appToEdit);
               ScriptManager.RegisterStartupScript(Page, GetType(), "alert", "alert('Appointment deleted successfully');", true);
               ViewState["Deleted"] = "1";
               // upScheduler.Update();
           }
           catch (Exception ex)
           {
               string ErrorMessage = ex.Message;
               SysLog.LogException(ex, MessageTypeEnum.DatabaseException, MessageSeverityEnum.Error);
           }
       }
 Actually before updating the website with the developer version this code was working fine for both recurring and non-recurring appointments. But after deploying the developer version, When I tried to delete the a nonreccurring appointment this works fine and when i tried to delete  an occuerrence  the update appointment event is fired directly. Control does not hit this code while deleting the occurence. Hence it just update the master appointment by adding the exception in the reccurrencerule but it doesn't insert this occurrence as new appointment. I was doing the final testing for the project. Everything was working fine with the trial version n now getting this strange behavior after adding the developer version. While deleting nonreccuring appointments or series it hits the AppointmentDelete event first but while deleting the occurrnece it is hitting to the AppointmentUpdate event directly.
Please provide your guidance as soon as possible.. Its urgent.

Thanks,
Roshani
Peter
Telerik team
 answered on 05 May 2011
2 answers
59 views
Hello guys.

I'm trying to use self hierarchy, but I have a problem. My grid is like this:

Vision 1[ x ] Vision 2 [   ]
File 1 Size Thumb Desc etc
File 2 Size Thumb Desc etc
  File 3   Size   Thumb   Desc   etc
File 4 Size Thumb Desc etc

But If I change the vision, hidding some columns in this event, my "File 3" that is son of "File 2", my grid still show all columns, like:

Vision 1[   ] Vision 2 [ x ]
File 1 Thumb Desc
File 2 Thumb Desc
  File 3   Size   Thumb   Desc   etc
File 4 Thumb Desc

What I need to do to fix it?

Regards.
Silvio Silva Junior
Top achievements
Rank 2
 answered on 05 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?