Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
88 views
Hello,

I'm trying to implement a (maybe unusual) absolute / relative value-based RadHtmlChart with Stacked Column Series.

As category, I'm using the departments of our company. For each Department, there exist three shifts. Per shift, there are three kinds of times.
So, in case of three departments, i.e.:
ColumnSeries 1:
    - Shift 1, Value 1, Department 1 - 3
ColumnSeries 2:
    - Shift 1, Value 2, Department 1 - 3
...and so on.

The problem now is: I want to display each (sub-)bar's amount of the total bar's count. But everything I try ends up on the problem
that only a column SERIES (multiple sub-bars), not a series ITEM is accessible neither by C# nor by Javascript. That means, only values of all three subbars as a series are accessible, not a subbar's value compared to the current bar in (I hope this is understandable ;-) ).

What I need is something like:

Chart.PlotArea.Department1.Shift1.Value1.Tooltip =  Chart.PlotArea.Department1.Shift1.Value1 + " / " + Sum([...].Value1 + [...].Value2 + [...].Value3);

It would be the best to know both absolute and relative values (500/1000, 50%), but beginning even one of the two values would be nice to get.

Thanks in advance,

Jan
Danail Vasilev
Telerik team
 answered on 30 Jul 2014
1 answer
251 views
Hello everyone,

I am wondering if there is a way to configure the grid so that a single column or row is scrollable (not the entire grid).  So for instance, say we have a grid filled with customer sales history data.  The columns are: Name, Address, Phone, Sales_Number and Description.  The fields other than Description are mostly fixed size, but the description field could be anywhere from 20 characters to 1000 depending on the particular sale.  Is there a way to set it so that either:

1) the column "Description" is set to be scrollable above a certain height or value
or
2) the rows are set to be scrollable above a certain height

For clarity:  I'm not asking about the number of records visible in the grid or per page.  I'm talking about a single row or column.  I realize you can either set a value for height or autosize, but in the oddball cases where a particular cell is large it really ruins the readability of the information in the grid and I'm trying to find a solution besides just cutting of the data and forcing them to open the record in another window to view the full description. 

Thanks for the help!
Konstantin Dikov
Telerik team
 answered on 30 Jul 2014
25 answers
223 views
I have a requirement insert rows to radgid .The radgrid will have 3 Radcomboboxes , one text boxes If one of the radcomboboxes selected value contains "nearest" or "top" I have ton add rad numeric text boxes to one colun of the of the grid. All the radcombo will have static texts and values in aspx page. The combo boxes are not tied with any datasources. I am very new to editable Radgrid .How can I do this.Please heilp me.
Thanks
RR
Princy
Top achievements
Rank 2
 answered on 30 Jul 2014
1 answer
277 views

Currently working on a project that requires what is effectively being called a "Notification Queue" which is embedded into the Site.Master page in a ASP.NET 4.5 C# environment with Visual Studio 2013 SP 2.

The Notification Queue is a Web User Control which has 8 RadNotification controls, currently, 7 of the controls are ennumerated RadNotification1 to RadNotification7 for their ID, the 8th RadNotification control has a RadButton, an ASP ImageButton and ASP Label.

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="telNotificationQueue.ascx.cs" Inherits="poetwebapp.Controls.telNotificationQueue" %>
<script type="text/javascript" >
    function jsAcknowledge(s, e) {
        s.set_autoPostBack(true);
        s.set_commandArgument("All");
        debugger;
        __doPostBack('<%=butAcknowledgeAll.UniqueID%>', 'OnClick');
    }
</script>
<telerik:RadNotification ID="radNotification1" runat="server" AutoCloseDelay="0" Height="130" Width="330" ShowCloseButton="true" ShowTitleMenu="false" Skin="Web20" ContentScrolling="Y" VisibleTitlebar="true">
    <ContentTemplate>
    </ContentTemplate>
</telerik:RadNotification>
<telerik:RadNotification ID="radNotification2" runat="server" AutoCloseDelay="0" Height="130" Width="330" ShowCloseButton="true" ShowTitleMenu="false" Skin="Web20" ContentScrolling="Y" VisibleTitlebar="true">
    <ContentTemplate>
    </ContentTemplate>
</telerik:RadNotification>
<telerik:RadNotification ID="radNotification3" runat="server" AutoCloseDelay="0" Height="130" Width="330" ShowCloseButton="true" ShowTitleMenu="false" Skin="Web20" ContentScrolling="Y" VisibleTitlebar="true">
    <ContentTemplate>
    </ContentTemplate>
</telerik:RadNotification>
<telerik:RadNotification ID="radNotification4" runat="server" AutoCloseDelay="0" Height="130" Width="330" ShowCloseButton="true" ShowTitleMenu="false" Skin="Web20" ContentScrolling="Y" VisibleTitlebar="true">
    <ContentTemplate>
    </ContentTemplate>
</telerik:RadNotification>
<telerik:RadNotification ID="radNotification5" runat="server" AutoCloseDelay="0" Height="130" Width="330" ShowCloseButton="true" ShowTitleMenu="false" Skin="Web20" ContentScrolling="Y" VisibleTitlebar="true">
    <ContentTemplate>
    </ContentTemplate>
</telerik:RadNotification>
<telerik:RadNotification ID="radNotification6" runat="server" AutoCloseDelay="0" Height="130" Width="330" ShowCloseButton="true" ShowTitleMenu="false" Skin="Web20" ContentScrolling="Y" VisibleTitlebar="true">
    <ContentTemplate>
    </ContentTemplate>
</telerik:RadNotification>
<telerik:RadNotification ID="radNotification7" runat="server" AutoCloseDelay="0" Height="130" Width="330" ShowCloseButton="true" ShowTitleMenu="false" Skin="Web20" ContentScrolling="Y" VisibleTitlebar="true">
    <ContentTemplate>
    </ContentTemplate>
</telerik:RadNotification>
<telerik:RadNotification ID="RadNotificationQueueCommands" runat="server" AutoCloseDelay="0" Height="35" Width="330" ShowCloseButton="false" LoadContentOn="TimeInterval" UpdateInterval="120" VisibleOnPageLoad="false" VisibleTitlebar="false" >
    <ContentTemplate>
    <div style="padding-top:5px; padding-bottom:5px; padding-left:5px;">
       <telerik:RadButton ID="butAcknowledgeAll" runat="server" Text="Acknowledge All" AutoPostBack="true" OnClientClicked="jsAcknowledge" OnClick="RadButton1_Click" OnCommand="butAcknowledgeAll_Command" UseSubmitBehavior="true" CommandName="AcknowledgeAll" CausesValidation="false">
    </telerik:RadButton>
              <asp:ImageButton ID="ibtRefreshList" runat="server" ImageUrl="~/Images/refresh_icon.png" Style="padding-top:3px;" />
                <asp:Label ID="lblWaitingNotifications" runat="server" Text="# Notifications"></asp:Label>
    </div>
    </ContentTemplate>
</telerik:RadNotification>


The RadButton OnClick (Server-side) Event is not being fired by the current code. The OnClientClicked event does run the jsAcknowledge function but the stop points within Visual Studio 2013 SP 2 are not being triggered - these stop points are:
protected void RadButton1_Click(object sender, EventArgs e) { fnProcessForm(); }
protected void butAcknowledgeAll_Command(object sender, CommandEventArgs e) { fnProcessForm(); }

So, this would indicate that the OnClick event is not being triggered and this event does need to be able to fire since the server-side code will contain an SQL UPDATE command /transaction. Recommendations?

The fnProcessForm() function displays the appropriate number of messages on the screen for the user and updates the Label to indicate the overall number of waiting messages for the user. The attached file displays an example of the layout.

Danail Vasilev
Telerik team
 answered on 30 Jul 2014
8 answers
479 views
I have a NestedViewTemplate which will contain several labels and another RadGrid. Because it's expensive to get the data for the labels and nested grid, I'd like to do this only when the NestedViewTemplate is visible.

I set the HierarchyLoadMode to ServerOnDemand and registered for the ItemDataBoundEvent. In the ItemDataBound event, I check the ItemType, and if it's NestedView, I do my expensive data lookups and bind to the labels/grid.

This works great, except that the NestedView items are being databound not when I expand the item in the grid, but instead when the grid is initially databound.

What am I doing wrong?
Eyup
Telerik team
 answered on 30 Jul 2014
29 answers
1.7K+ views
I need to be able to prevent users from double-clicking on a toolbar button or very quickly click on two toolbar buttons. Or better yet, have the whole toolbar disabled after single-clicking on a toolbar button.

This is just to prevent any intended function to be run more than once or to prevent any unintended function to be executed.

Thanks for any help.
Peter Filipov
Telerik team
 answered on 30 Jul 2014
15 answers
1.4K+ views

Hi Telerik Team,

i am using radmenu in Master page.
when i try to click the radmenu item ,i am not able to fire the click event on radmenu.

i searched some forums in telerik in which the people were saying set the Autopostback property to True.

when i try to set the autopostback property ,that property is not showing in property box of radmenu control.

means i am not able to find the autopost back property in control.

Can you pls provide the solution for this issue.

Princy
Top achievements
Rank 2
 answered on 30 Jul 2014
1 answer
87 views
Hi

in the page http://www.telerik.com/ use the control with 4 points that you help advanced or navigate by elements, I have a question this element  pertain the control rotator
or how to developer?

Thanks 
Slav
Telerik team
 answered on 30 Jul 2014
3 answers
219 views
I have the skin for my project set in the web.config like so:
<add key="Telerik.Skin" value="Metro" />

Everything's good, but the embedded icon on my RadButton is not using the Metro icon.  Here's the markup for the button:
<telerik:RadButton ID="rbCreateNew" runat="server"
    Text="Create New">
    <Icon PrimaryIconCssClass="rbAdd" />
</telerik:RadButton>

In the attached image, the "Create New" button is my button, and the "Add" button is from the RadButton embedded icons demo page.

I want my "Create New" button plus sign to look like the "Add" plus sign (black instead of green).  I tried setting the Skin directly in the RadButton control attributes, but it didn't change anything.  What am I missing here?

I am using 2013.3.1114.45.
Shinu
Top achievements
Rank 2
 answered on 30 Jul 2014
3 answers
1.1K+ views
Hi ,

I encountered a scenario i.e. where we have to stop uploading of .exe or .bat files when their extension is changed to acceptable extension (.txt,.html,.htm,.odt,.rtf,.doc,.docx). I have tried to find a solution by using .NET code where I have used header codes of different file extensions, but header codes for .html and .htm get changed and doesn't seem to have a fixed header code. I have used Mime/Extension type but it didn't work. Looking for a solution through Telerik Controls.

Thanks,
Chaitanya.
Shinu
Top achievements
Rank 2
 answered on 30 Jul 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?