Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
124 views
I have data called BookedHours and it is hours that are booked in a day.

Each day's booked hours is totaled from another field called WorkType.

For example, today there are 40 booked hours, 8 of which are vacation, 16 are labor, and 16 are holiday.

I want to have a column that displays the total 40 booked hours in the day, but I want the stacked columns to display the data split up. Following the same example above, 8 hours of the column for today is vacation (colored red), 16 hours stacked on top of that in the same column is labor (colored blue), etc...

I have tried sooo much to get this to work and I can't figure out a way to group the data into a column like that. Here is the HTML code I have:


                                        <telerik:RadHtmlChart ID="RadHtmlChartInstall" runat="server" DataSourceID="odsChart1">
                                            <PlotArea>
                                                <Series>
                                                    <telerik:ColumnSeries DataFieldY="BookedHours" GroupName="WorkType" Stacked="true">
                                                        <LabelsAppearance Visible="false"></LabelsAppearance>
                                                    </telerik:ColumnSeries>
                                                </Series>
                                                <XAxis DataLabelsField="Day">
                                                    <TitleAppearance Text="Day">
                                                        <TextStyle Margin="5" Color="Black" Bold="true" />
                                                    </TitleAppearance>
                                                    <MajorGridLines Visible="false" />
                                                    <MinorGridLines Visible="false" />
                                                    <LabelsAppearance RotationAngle="270" Color="Black" />
                                                </XAxis>
                                                <YAxis>
                                                    <TitleAppearance Text="Booking Time">
                                                        <TextStyle Margin="5" Color="Black" Bold="true" />
                                                    </TitleAppearance>
                                                    <MinorGridLines Visible="false" />
                                                    <LabelsAppearance>
                                                        <TextStyle Margin="3" Color="Black" />
                                                    </LabelsAppearance>
                                                </YAxis>
                                            </PlotArea>
                                            <Legend>
                                                <Appearance Position="Bottom">
                                                    <TextStyle Color="Black" />
                                                </Appearance>
                                            </Legend>
                                        </telerik:RadHtmlChart>

Thanks!
Rumen
Telerik team
 answered on 11 Sep 2024
1 answer
150 views

I would like to use the Grid in batch editing mode in a very similar layout to the https://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx example. But I need to load the RadDropDownList from the .cs. I can not map a asp:SqlDataSource to the nested control.

Please can someone provide me with an example.

TIA.

Rumen
Telerik team
 answered on 10 Sep 2024
1 answer
103 views
We have one functionality that , we add search text in RadAutoComplete and on basis on entered text  "Treelist" refreshes data.But issue is when we put cursor in RadAutoComplete and click ctrl+A, it first time highlights the text from RadAutoComplete and when we second time press ctrl+A the cursor goes off and it selects entries from Treelist.So how can i handle ctrl+A for RadAutoComplete so that it hold the cursor and highlight the text.
Rumen
Telerik team
 answered on 09 Sep 2024
2 answers
169 views

Hi,

Is it possible to add cell comments?  This is helpful to give users understanding of the cell values.

Thanks,

Tim

Rumen
Telerik team
 answered on 03 Sep 2024
8 answers
554 views

Hi Telerik team,

Some of our customers are experiencing span or br tags being added into the HTML when they are backspacing to adjust space or combine paragraphs. It happens on Chrome and Firefox browsers only ( please see attachments for HTML ).

Chrome browser:
Span tag is added automatic if you use backspace key to combine paragraphs. “<span style="???;">”, style can be background color, font size of or letter spacing. We cannot reproduce it on Telerik demo site.

Firefox browser:
If you combine the last paragraph, <br class="t-last-br" /> will added in the paragraph element. This issue can reproduce it on Telerik demo site too.

We tried a few things but we still cannot solve it.
   1. We tried version 2020.2.617.40 and 2020.3.1021
   2. Set rendermode to classic or lightweight
   3. Force to clear all Editor css files ( radEditor.CssFiles.Clear() );
   4. Changed new line mode to P, BR and div

 

Please be advised if there a solution for it!

Thanks in advance,

 

Lan

Rumen
Telerik team
 answered on 02 Sep 2024
2 answers
113 views

Hi,

 

How can I let the RadSearchbox button act as the DefaultButton in an asp:Panel?

So that when ENTER is given no other buttons on the page are triggered?

 

Marc

 

Rumen
Telerik team
 answered on 30 Aug 2024
1 answer
173 views

Hi.

When we open a new radwindow using radopen client-side it doesn't work setting the ShowContentDuringLoad property.

Example code:

var wnd = radopen(sURL, null);
wnd.set_showContentDuringLoad(false);

 

I assume this should work ok?

Regards, Rolf

Vasko
Telerik team
 answered on 28 Aug 2024
2 answers
176 views

I could not find any api on the client-side to add an entry to the RadDropdownTree. Is this possible and if yes, then what would be some sample code? AutoPostBack property of RadDropdownTree  is false, so I need to use client-side code.

I did find a method on the client side, but not sure how to use it. The api I found on my own is as below, but not sure what parameter can I pass to it and whether it will end up updating the dropdown tree automatically.

dropDownTree.get_entries()._add


SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
 updated answer on 27 Aug 2024
1 answer
110 views

Hi Guys

How can I export to PDF to a new/blank page, When it prints always preview the .PDF on the same page where either calendar or Gridview is viewed, using the following code

<ExportSettings>

<Pdf PageTopMargin="1in" PageBottomMargin="1in" PageLeftMargin="1in" PageRightMargin="1in"></Pdf>

</ExportSettings>

Vasko
Telerik team
 answered on 27 Aug 2024
1 answer
144 views

Hi Telerik Team

I am trying to get familiarize with Scheduler and would like to achieve the following result using it.  

 Is the below format possible in Scheduler. (Multi resource Grouping by Shift and then by Personnel and then by Role. ) 

 Also, Is it possible to display multiple columns of resources in Scheduler, like in Gantt ?

 I have went through some sample applications ( Multi resource grouping example of Room, User and Meeting ) and tried Group By="Room, User"  but grouping only happens with the first Column and second column doesn't appear at all. 

 

Thanks

Sathyendranath

 

Vasko
Telerik team
 answered on 26 Aug 2024
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?