Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
98 views

Unfortunately, the Telerik skins don't specify a text color ​for each and every HTML element of the scheduler.

For example, the default styling for the H2 element in the scheduler header seems to be:

.RadScheduler .rsHeader h2 {
    font-size: 15px;
    font-weight: normal;
    line-height: 30px;
    text-indent: 43px;
    height: 30px;
    display: block;
    overflow: hidden;
}

So now the scheduler picks up whatever color for eg. H2 elements is generally specified in the website, which might not be a suitable color for the scheduler at all.​ 

I understand that I can overrule this in a specific website. But I would like a consistent look of the scheduler elements, regardless of the website styles at hand.

Can you please add default coloring to all control elements in the Telerik control skins?

Magdalena
Telerik team
 answered on 18 Aug 2015
8 answers
272 views
I have setup several radgrid webparts and am running into an issue. At first the webparts work fine but after the server restarts on the weekend the webparts cause an error. If I do a repair install of the Telerik webparts, it solves the issue until the next server reboot (or IISReset) What can I do to solve this issue?

Thanks


Error:
System.InvalidOperationException: Telerik.Web.UI.RadWindow with ID='g_78be1aeb_3a1d_4490_9f07_c51834a37899_BindingWindow' was unable to find an embedded skin with the name 'Windows7'. Please, make sure that the skin name is spelled correctly and that you have added a reference to the Telerik.Web.UI.Skins.dll assembly in your project. If you want to use a custom skin, set EnableEmbeddedSkins=false.
at Telerik.Web.SkinRegistrar.GetEmbeddedSkinAttributes(ISkinnableControl control, Type controlType, Boolean designTime)
at Telerik.Web.SkinRegistrar.RegisterCssReferences(ISkinnableControl control)
at Telerik.Web.UI.RadWindow.ControlPreRender()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Maria Ilieva
Telerik team
 answered on 18 Aug 2015
1 answer
194 views

I'm getting a warning on any date before 1980.  There are no validators attached in the HTML, and nothing in the code behind.  Is there anyway around this.

 

<telerik:RadDatePicker ID="dtRetailIndusOfficeRentRollLeaseStartDate" TabIndex="4" runat="server"></telerik:RadDatePicker>

Maria Ilieva
Telerik team
 answered on 18 Aug 2015
13 answers
1.5K+ views
Hi,
How to get list of  id of selected checkbox in radgrid on button click?

Source:
<telerik:RadGrid ID="gv1" runat="server">
            <MasterTableView DataKeyNames="UserId">
                <Columns>
                    <telerik:GridTemplateColumn>
                        <ItemTemplate>
                            <asp:CheckBox ID="CheckBox1" runat="server" />
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>

What will be the code on save button click to get the list of UserID releted to the checked checkbox row?
Thanks
Eyup
Telerik team
 answered on 18 Aug 2015
3 answers
307 views

Hi,

Telerik UI for ASP.NET AJAX 2015.2.623

IE10

Visual Studion 2013

 

 I am new to the PivotGrid and can't seem to figure out this simple thing.  My SQLDataSource returns a list of valves.  2 of the columns are "Valve Size" and "Valve Type".  I have a sinple PivotGrid with a row field of "Valve Size" and a column field of "Valve Type":

    <telerik:RadPivotGrid ID="RadPivotGrid1" runat="server" DataSourceID="sds_ValvesBuiltByDay">
        <Fields>
            <telerik:PivotGridColumnField DataField="Valve Type"></telerik:PivotGridColumnField>
            <telerik:PivotGridRowField DataField="Valve Size"></telerik:PivotGridRowField>
        </Fields>
    </telerik:RadPivotGrid>

When the page loads, there are rows for each size returned and columns for tech type but the individual cells in the grid are empty.

(See attached screenshot.  The RadGrid below the PivotGrid displays the same data from the same SQL data source)

I want each cell to show the count of records for that size and type combination.

This is probably very simple but I have not found a way to do it.

Please tell me what I am doing wrong. 

 

 

Eyup
Telerik team
 answered on 18 Aug 2015
8 answers
144 views
 I am trying to set focus to a textbox within the edit template and when it runs I get the following error:

A first chance exception of type 'System.NullReferenceException' occurred in NgeDataEntry.dll

 {"Object reference not set to an instance of an object."}

 

Not sure what I have wrong here. Can anyone spot the mistake.

 
protected void RadGrid1_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e)
       {
           if (e.Item is GridEditFormItem && e.Item.IsInEditMode)
           {
               UserControl myUserControl = e.Item.FindControl(GridEditFormItem.EditFormUserControlID) as UserControl;
               string script = String.Format("$get('{0}').focus(); $get('{0}').select();", myUserControl.FindControl("RadTextBox2").ClientID);
               ScriptManager.RegisterStartupScript(Page, typeof(Page), "myscript", script, true);
           }
       }
Eyup
Telerik team
 answered on 18 Aug 2015
1 answer
90 views

I have WorkDayStartTime and WorkDayEndTime set to 07:00 and 20:00 respectively but the calendar / scheduler is fixed at 8:00-5:00, no expansion, no scroll bars. Am I missing something?

<telerik:RadScheduler ID="RadScheduler1" runat="server"  DataDescriptionField="Description" DataEndField="End" DataKeyField="ID" DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentID" DataReminderField="Reminder" DataSourceID="SqlDataSource1" DataStartField="Start" DataSubjectField="Subject" Height="900px" SelectedView="WeekView" Width="990px" WorkDayEndTime="20:00:00"  WorkDayStartTime="07:00:00"
    EnableCustomAttributeEditing="True" TimeZoneOffset="-06:00:00"
    StartInsertingInAdvancedForm="false"
    OnClientAppointmentEditing="AppointmentEditing"
    OnClientAppointmentInserting="AppointmentInserting"
    OnAppointmentDataBound="RadScheduler1_AppointmentDataBound"
    OnAppointmentCreated="RadScheduler1_AppointmentCreated"
    OnAppointmentCommand="RadScheduler1_AppointmentCommand" >
    <ExportSettings FileName="CalendarExport" OpenInNewWindow="True">

Ivan Danchev
Telerik team
 answered on 18 Aug 2015
1 answer
112 views
There doesn't appear to be a scheduler header template, is there some way to put controls (buttons) in the header ?
Nencho
Telerik team
 answered on 18 Aug 2015
7 answers
142 views
Hello,

A Question regarding RadFileExplorer and Sharepoint 2010:

I have added a simple RadFileExplorer in an empty Visual Webpart for Sharepoint 2010. On my site there is one normal document library called testlib. I use the custom SPContentProvider class provided in this blog.

protected void Page_Load(object sender, EventArgs e)       
{          
 FileExplorer.Configuration.ContentProviderTypeName =
typeof(SPContentProvider).AssemblyQualifiedName;
 Page.ClientScript.RegisterStartupScript(Page.GetType(),
"AjaxUpdatePanelFix", "_spOriginalFormAction = document.forms[0].action; _spSuppressFormOnSubmitWrapper=true;", true);
 FileExplorer.Style.Add(
"overflow", "hidden");
 SetFileExplorerPaths();
}

I then call this function to add all the libraries to the paths. (It will add 4 libraries total: siteassets, sitepages, shared documents as well as testlib)

 private void SetFileExplorerPaths()
{
  List<String> paths =
new List<String>();
  SPListCollection docLibraries = RetrieveDocumentLibraries(SPContext.Current.Web);           

 foreach
(SPList list in docLibraries)        
  {          
   
if (SPContentProvider.IsNotSystemFolder(list.RootFolder)) {paths.Add(list.RootFolder.ServerRelativeUrl);}          
  }          

 
string[] convertedPaths = paths.ToArray();
 FileExplorer.Configuration.ViewPaths = convertedPaths;
 FileExplorer.Configuration.UploadPaths = FileExplorer.Configuration.ViewPaths;
 FileExplorer.Configuration.DeletePaths = FileExplorer.Configuration.ViewPaths;
}


It will then give me an exception in SPContentProvider GetPermissions
 
private PathPermissions GetPermissions(Guid listId, SPWeb web)

saying the list does not exist. 

If i manually add a "testlib" as a path (removing the "site/") it will load up however all buttons are disabled and I cannot do anything in the Fileexplorer itself (see attached Image)

Any idea what could be going wrong here?




Vessy
Telerik team
 answered on 18 Aug 2015
4 answers
131 views
How to add label to timeslot and assign some text to it ?

Thanks
Raju
Plamen
Telerik team
 answered on 18 Aug 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?