Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
216 views
It does not work with 24 hours.   What if I want to keep the files for 2 days?

Cannot create an object of type 'System.TimeSpan' from its string representation '24:00:00' for the 'TemporaryFileExpiration' property.
Dimitar Terziev
Telerik team
 answered on 04 Oct 2011
1 answer
183 views
Hi
I did steps specified in http://tv.telerik.com/watch/aspnet/visualstylebuilder/creating-custom-radgrid-skin-with-vsb
But it does not work.  The Grid does not change its style.

See attached Image.

-JD
Bozhidar
Telerik team
 answered on 04 Oct 2011
1 answer
194 views
Hi, I have noticed a few issues with the displaying of GridClientSelectColumn in RadGrid (v2010.3) and wanted to see if you could give me some insight into it:
1) When displaying the RadGrid in Internet Explorer, the checkbox created by GridClientSelectColumn is surrounded by white spaces (see attached file)
2) When displaying the RadGrid in Chrome, after using the top checkbox to select all items and clicking it again to deselect all items, the rows stay highlighted. (see attached file)

Neither of the two issues appear in Mozilla.

I am using the following versions of the browsers:
Internet Explorer  9.0.8112.16421
Chrome 14.0.835.187 m
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13)
Pavlina
Telerik team
 answered on 04 Oct 2011
1 answer
364 views
Hello,

We're using 2010 Q3 and running into some issues when attempting a hierarchical grid.

This code is based on the demo. The issue is the expand won't show the child records / table when the arrow beside a parent record is clicked. Nothing happens. No error.

Here is some sample code.

private void DefineGridStructure()
        {
            /* Hierarchy Grid - lab and test types for each lab */

            RadGrid oRadGridLab = new RadGrid();

            oRadGridLab.ID = "TelRadGridLab";

            var oLaboratories
                = (from p in this.Core.EntityModel.Laboratories
                   select p).ToList();

            oRadGridLab.DataSource = oLaboratories;
            oRadGridLab.DataMember = "Laboratory";
           

            oRadGridLab.MasterTableView.DataKeyNames = new string[] { "Idn" };

            oRadGridLab.Skin = "Office2007";

            oRadGridLab.Width = Unit.Percentage(98);
            oRadGridLab.PageSize = 3;
            oRadGridLab.AllowPaging = true;
            oRadGridLab.AllowSorting = true;
            oRadGridLab.PagerStyle.Mode = GridPagerMode.NumericPages;
            oRadGridLab.AutoGenerateColumns = false;
            //oRadGridLab.MasterTableView.GroupLoadMode = GridGroupLoadMode.Client;

            oRadGridLab.MasterTableView.PageSize = 3;

            //Add columns
            GridBoundColumn boundColumn;
            boundColumn = new GridBoundColumn();
            boundColumn.DataField = "Idn";
            boundColumn.HeaderText = "Idn";
            oRadGridLab.MasterTableView.Columns.Add(boundColumn);

            boundColumn = new GridBoundColumn();
            boundColumn.DataField = "Name";
            boundColumn.HeaderText = "Name";
            oRadGridLab.MasterTableView.Columns.Add(boundColumn);

            oRadGridLab.DataBind();

            //Detail table - Test Types (II in hierarchy level)
            GridTableView oTableViewTestTypes = new GridTableView(oRadGridLab);

            var oTestTypes
                = (from p in this.Core.EntityModel.TestTypeToLaboratories
                   select p).ToList();

            oTableViewTestTypes.DataSource = oTestTypes;
            oTableViewTestTypes.DataMember = "TestTypeToLaboratory";         
                       
            oTableViewTestTypes.Width = Unit.Percentage(100);

            oTableViewTestTypes.DataKeyNames = new string[] { "Idn" };

            GridRelationFields relationFields = new GridRelationFields();
            relationFields.MasterKeyField = "Idn";
            relationFields.DetailKeyField = "LaboratoryIdn";
            oTableViewTestTypes.ParentTableRelation.Add(relationFields);

            oRadGridLab.MasterTableView.DetailTables.Add(oTableViewTestTypes);

            //Add columns
            boundColumn = new GridBoundColumn();
            boundColumn.DataField = "LaboratoryIdn";
            boundColumn.HeaderText = "LaboratoryIdn";
            oTableViewTestTypes.Columns.Add(boundColumn);

            boundColumn = new GridBoundColumn();
            boundColumn.DataField = "CreatedOn";
            boundColumn.HeaderText = "CreatedOn";
            oTableViewTestTypes.Columns.Add(boundColumn);

            boundColumn = new GridBoundColumn();
            boundColumn.DataField = "ModifiedOn";
            boundColumn.HeaderText = "ModifiedOn";
            oTableViewTestTypes.Columns.Add(boundColumn);

            oTableViewTestTypes.DataBind();   

            //Add the RadGrid instance to the controls
            this.AspPlaceHolder.Controls.Add(oRadGridLab);
        }


Thank you in advance for your assistance and considerations.
Pavlina
Telerik team
 answered on 04 Oct 2011
5 answers
105 views
Hi,

I was working on sharepoint 2007 and all my telerik components worked fine, but after migrating to sharepoint 2010 i have a lot of problems.
One of them, is when i click on the RadEditor Area, the toolbar does not appear and i have this error every click :
 this Error on FF: 
Sys.Res is undefined

this Error on IE:
Message : 'Sys.Res.argumentTypeWithTypes' a la valeur Null ou n'est pas un objet.
-->  'Sys.Res.argumentTypeWithTypes' is Null or is not an objet. (translation)


NB: i've tried everything, all the web.config configurations, and is well configured, all features are activated ....

Thanks for help, it's just one of my big big problems with telerik
Stanimir
Telerik team
 answered on 04 Oct 2011
1 answer
162 views
I have a master page with a custom user control. The user control has a RadTreeView within it.

<ucs:ListsTab ID="ucListsControl" runat="server" />

I've exposed a property for this control on the master page.

public TplListControlTab TplListControl {
    get {
        return ucListsControl;
    }
}

On my content page I have a RadAjaxManager and have both a RadGrid and the user control as controls to be updated. I understand that it's a better idea to have the RadAjaxManager on the master page but this won't be possible in my case.

<telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
    <UpdatedControls>
        <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel2" />
        <telerik:AjaxUpdatedControl ControlID="ucListsControl" />
    </UpdatedControls>
</telerik:AjaxSetting>

I initiate a client side AJAX request as follows:

var _ajaxManager = "<%= RadAjaxManager1.ClientID %>";
$find(_ajaxManager).ajaxRequest("SomeCommand");

In my RadAjaxManager1_AjaxRequest method I handle the request:

if (e.Argument == "SomeCommand") {
    // ... do some stuff to RadGrid's datasource.
    RadGrid1.Rebind();

    // ... do some stuff to user control's datasource.
    Master.TplListControl.RadTreeView.DataBind();
}

The RadGrid correctly updates but the user control does not. I've tried setting the AjaxSettings programmatically but this doesn't work either. Is this not possible or am I doing something wrong?
Christopher
Top achievements
Rank 1
 answered on 04 Oct 2011
3 answers
76 views
Hi

Where have used Skin="Windows7" in our grid controls. The rest is fine, we just want to increase the color
shade of blue a little more and we would like to use the same through out the application.

How to i extract files related to "Windows7" skin and just adjust color tone whereever required.

Regards
JD
Mira
Telerik team
 answered on 04 Oct 2011
7 answers
380 views
Hello,
I have the same problem of this thread
http://www.telerik.com/community/forums/aspnet-ajax/grid/column-names-are-shown-instead-of-column-captions.aspx

I did as explained there, it works.
Unfortunately, as i click on a row, header captions go back to their colum names. How can i solve it?


Beside, is there a way to have header text vertically instead fo horizontally, I mean from top do bottom
Thank you
Shinu
Top achievements
Rank 2
 answered on 04 Oct 2011
1 answer
116 views
Hello,

I am using the LoadOnDemand scenario which works as documented. But I have a problem with the dropdown feature. As long as there is no item yet, a click on the dropdown arrow loads all items resp. triggers the  ItemsRequested event. However, once there is at least one item, this doesn't happen anymore. I would like to add a default item on the initial page load and load all other items when the dropdown arrow is clicked.

How can I do this?

Regards,
Conrad
 

Shinu
Top achievements
Rank 2
 answered on 04 Oct 2011
1 answer
142 views
Mmmm i need to develop 2 sites (diferent project).
The first project i need to use telerik version 2007.
in the second proyect i need to use the new version.
every project is for different customer.


But I need to have installed and develop in the same machine.

It's is possible?...
Shinu
Top achievements
Rank 2
 answered on 04 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?