Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
121 views

Hi, is there a way to produce something similar to the following

https://resourcetrade.earth/data ?

Thank you

David
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 31 Jul 2017
1 answer
176 views

We are trying to display a distribution line chart.  Behind it, we would like shaded areas to indicate P10, 25,50,75, 90 similar to the rough sketch below.  How would we accomplish that background shading with htmlchart?

 

Thanks.

Marin Bratanov
Telerik team
 answered on 31 Jul 2017
1 answer
96 views

This works:

 

   <ResourceTypes>
                <telerik:ResourceType KeyField="id" Name="Vragenset" TextField="description" ForeignKeyField="VragensetID"
                    DataSourceID="sds_vragenset"></telerik:ResourceType>

                      <telerik:ResourceType KeyField="id" Name="Project" TextField="description" ForeignKeyField="ProjectID"
                    DataSourceID="sds_project"></telerik:ResourceType>

            </ResourceTypes>

 

But this is not working:

 

   <ResourceTypes>
                <telerik:ResourceType KeyField="id" Name="VragensetID" TextField="description" ForeignKeyField="VragensetID"
                    DataSourceID="sds_vragenset"></telerik:ResourceType>

                      <telerik:ResourceType KeyField="id" Name="ProjectID" TextField="description" ForeignKeyField="ProjectID"
                    DataSourceID="sds_project"></telerik:ResourceType>

            </ResourceTypes>

 

Mind that I names the Name the same as ForeignKeyField. Is this a bug or by design?

 

Marc

Rumen
Telerik team
 answered on 31 Jul 2017
2 answers
596 views

I am troubleshooting a program that someone else wrote and there is a grid that is missing a few column headers upon export to excel.  The column headers and data showed up on screen but not on excel export.  The first few columns would have headers and the rest of the columns displayed data but no headers.  In the method that gets called by OnItemCommand, I have tried changing the header text by doing this:

gridMasterTableView.GetColumn(I).HeaderText = I;

but it doesn't seem to change anything on the excel.

In the method that is called by OnItemDataBound I tried to put a breakpoint on this line:

GridHeaderItem header = (GridHeaderItem)e.Item;

In the GridHeaderItem I noticed it only has a few of the columns.

I just want to fill the missing column headers.  Is there a good place where I can access the datatable that gets exported to excel and put in the headers?  In other words, if I only want to control what column name to put on excel export without touching the original source data, what would be a good place to do it and how to go about doing that?

Thanks.

Eyup
Telerik team
 answered on 31 Jul 2017
0 answers
77 views

We have a project that we store the connection string in a session (in page load).

When using the radscheduler reminder function it works for the first time but after that the Scheduler stops functioning and returns the error that connection string has not been initialized. Keep in mind we cannot change the way we use the connection string and we need to keep it stored in the session.

Has anyone faced the above problem before? Thanks in advance

MICHAEL
Top achievements
Rank 1
 asked on 31 Jul 2017
1 answer
1.0K+ views

I am trying to bind a List as the database for my RadGrid and I am getting the following error "Cannot find any bindable properties in an item from the datasource" although I have made sure and tested that the data source is returning valid data.

<telerik:RadGrid ID="grdTest" runat="server"  AutoGenerateColumns="true" ShowStatusBar="True" OnNeedDataSource="grdTest_NeedDataSource" >
    <MasterTableView AutoGenerateColumns="true" >
    </MasterTableView>
</telerik:RadGrid>

 

protected void grdTest_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
{
    int ParentRulCode = 2611767;
    List<Enrolment> MyEnrol = EnrolmentRepository.GetChildEnrolmentsFromRulCode(ParentRulCode);
 
    grdTest.DataSource = MyEnrol;
}

 

 

Here is My Enrolment Class

public class Enrolment
{
    public Course MC;
    public Person MP;
    public int RulCode;
    public DateTime StartDate;
    public DateTime EndDate;
    public string ProgressStatus;
}
Eyup
Telerik team
 answered on 31 Jul 2017
0 answers
71 views
Need to bind the asp.net grid in AdvancedInsertTemplate .
arun
Top achievements
Rank 1
 asked on 31 Jul 2017
5 answers
979 views

Is there any support to use the FontAwesome icons in the menus?

It looks like it might be possible to use templates to do this. I am creating the menus and items with code and cannot find good information about how to approach this. Is there anyone with a working implementation of FontAwesome icons?

Rumen
Telerik team
 answered on 31 Jul 2017
4 answers
591 views
Hi,
I give a scriptmanager alert message in a form if the textboxes I create using javascript are empty and return the page. It works fine by keeping all the values of all other fields except the value of one radtextbox value and upon click of ok in the alert box it displays the values back. Why does that happen?

Thanks
Singh
Top achievements
Rank 1
 answered on 30 Jul 2017
1 answer
209 views
Hi everybody, 

I want to track every user activity in my web app(ex: when user John create a a new user i want to add in some table in db user John for create new user with the date) but i don't know where to start.

Thanks for your help
Thomas
Top achievements
Rank 1
 answered on 30 Jul 2017
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?