Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
97 views
Hello,

I am programatically drawing a bar RadChart to display ratings count for some products. The valid ratings that I use are 0, 1, 2, 3, 4, 5. I count the rated products and plot them against the rating. At the end, I get six bars (0 to 5), which is correct. The thing that I want to do is always show the bar for rating 0 in RED color. Rest continues to work skin-based.

Someone told me to use another series for rating 0 only and give it red color but I don't want to use it as it will move the bars of my first series to a side to make place for the bars for the second one however the second series would never have any value for any other rating except 0.

Can you tell me a solution in which I achieve this in one series only?
Ahmed
Top achievements
Rank 1
 answered on 22 Nov 2011
1 answer
123 views
Hi,

I have implemented a RadScheduler that uses a custom control and can successfully add appointments, but I'm having issues editing and deleting appointments. I'd like to call the event server side and not client-side, However the AppointmentDelete and AppointmentUpdate event handlers wont fire, any idea as to what might be the cause?

<telerik:RadScheduler ID="RadScheduler1" runat="server" Height="427px" StartInsertingInAdvancedForm="true"
    Skin="Hay" Width="492px" Visible="True" ViewStateMode="Enabled"
    AppointmentStyleMode="Simple">
    <TimelineView UserSelectable="False" />
    <DayView UserSelectable="True" />
    <MonthView UserSelectable="False" />

    <AdvancedEditTemplate>
        <scheduler:AdvancedForm runat="server" ID="AdvancedEditForm1" Mode="Edit"  
            Start='<%# Bind("Start") %>'
            End='<%# Bind("End") %>' />
    </AdvancedEditTemplate>
    <AdvancedInsertTemplate>
        <scheduler:AdvancedForm runat="server" ID="AdvancedInsertForm1" Mode="Insert"
            Start='<%# Bind("Start") %>'
            End='<%# Bind("End") %>' />
    </AdvancedInsertTemplate>
</telerik:RadScheduler>


Plamen
Telerik team
 answered on 22 Nov 2011
3 answers
123 views
Hi,

I am using telerik 35 version dll . The treeview section in radfileexplorer not refreshing after create/delete/rename folder functionalities.
The refreshment happening only in grid section.

Please help me with exact code..and event..

Regards,

Praveen.
Dobromir
Telerik team
 answered on 22 Nov 2011
5 answers
118 views
Hi.
I am using the RadDatePicker and RadCalendar in a project and I noticed a bug with the datepicker button.

When I press the button in the date picker, and finish making my date selection, the datepicker button shifts down a couple of pixels.

I tried checking the margins and the z-index, but it did not really change the code much.

Here's the the code snippet.
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>    <!--needed for telerik:RadCalendar-->
    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
        <telerik:RadDatePicker ID="RadDatePicker1" runat="server" Skin="Santrio" EnableEmbeddedSkins="false">
            <Calendar ID="Calendar1" runat="server" EnableKeyboardNavigation="true" />
        </telerik:RadDatePicker>
    </telerik:RadAjaxPanel>


You may notice that I am calling a customized skin called "Santrio", but it is just the default skin, happened to be in CSS.

How do I fix this issue? Thanks!
Developer
Top achievements
Rank 1
 answered on 22 Nov 2011
1 answer
31 views
After an insert on a grid, sometime i am unable to see the row that i have just inserted because the row count may be larger than the first page and the new row may be ordered lower in the grid than existing items. Is there a way i can display the previously inserted row as the first row without having to manipulate my SQL to do so. This particular table has no timestamps so we cannot order the data by that.
Jayesh Goyani
Top achievements
Rank 2
 answered on 22 Nov 2011
2 answers
115 views
Hello, I apprently mistakenly thought that the client function findControl() would only search the node that I call it on, but it's not.

It's searching all children nodes of it as well.

var comboBox  = node.findControl( "ComboBoxID" );

comboBox should be null for some nodes that it isn't.  It's traversing the tree structure and finding a match several levels down.

How would I limit that to just within the current node and not within any child nodes?
Marbry
Top achievements
Rank 1
 answered on 22 Nov 2011
9 answers
343 views

Hello, Telerik, I have a question to you regarding the hierarchical RadGrids.

I'm using a hierarchical RadGrid (Telerik control) but there are some bugs regarding the sort of the second level. I have two levels and the second level is loaded based on the first level.

Columns of the first level: Foo1, Foo2, Foo3

Columns of the second level: Bar1, Foo2, Bar2, Bar3

Binding is issued through a function.

Problems:

  1. If a single row of the first level is expanded (we can see a single sub-grid from the second level) and I want to sort by Bar1, the sort happens, but an error occures:

    Uncaught TypeError: Cannot call method 'sort' of null

  2. If a single row of the first level is expanded (we can see a single sub-grid from the second level) and I want to sort the second level by Foo2, the sort happens for the parent grid's (!) Foo2 column

  3. If two rows of the first level are expanded (we can see two sub-grids from the second level) and I want to sort both the subgrids by the same column a strange rectangle appears instead of the ascending/descending sign, I get the same error as described in the first problem but the sorting is not issued.

I would like to get rid of these problems, my question is the following:

If we have a hierarchical RadGrid and both the first and the second level is sortable how can I implement a sort of the second level to be free of bugs?

Thank you in advance for your responses.

Marin
Telerik team
 answered on 22 Nov 2011
1 answer
97 views
Hi all,

I am having a problem with multiple MVC Telerik Menus overlapping within a MVC Telerik Grid.  In the screenshots, you can see that I am using a detail in the view which is another MVC Telerik Grid and it too has a column that uses a MVC Telerik Menu.  What's happening is the menu in the detail view is having an overlap problem with the top level menu items in the parent Telerik Grid.  I included both a screenshot of the overlap issue as well as what the menus look like when they are closed, and you can see that the two rows that have "Cancelled and "Placed" top level menus are bleeding through the detail menu when that menu is expanded.

I've tried to see about adding a class that increases z-index to 5000 to all menu items when a menu item opens and then removing that class from all menu items in the close event, but so far that hasn't been successful.

Is there any way to address this?

Note that there is no overlap when the parent row's menu overlaps a detail row's menu.  It only happens when a detail row's menu opens on top of the parent row's menu (see menu fine no overlap screenshot).

Thanks,

Rob
Rob
Top achievements
Rank 1
 answered on 22 Nov 2011
0 answers
85 views
I'm creating an appointment template and I have found lots of good examples on accessing the appointment properties there like this:

            <AppointmentTemplate>
                <p>
                    <h2><%# Eval("Subject") %></h2>
                </p>
            </AppointmentTemplate>

But I'm having trouble figuring out how to get to the attributes from here. I have an attribute called loc_descrip that I can get to this way in the codebehind: appointment.Attributes["loc_descrip"]. How would that be accessed in the AppointmentTemplate?

Edit to add: Ah, figured it out. I'll post what I did in case anyone else wonders the same thing:
Single quotes were the key: <%# Eval("Attributes['loc_descrip']") %>

Thanks!
Matt
Top achievements
Rank 1
 asked on 22 Nov 2011
1 answer
75 views
I tried to use grid view as list view bit I failed every time 
AS 
I don't want to display any type of lines (horizontally or vertically )
I just wana use grid view as a list view ,like that of many other forums 
Jayesh Goyani
Top achievements
Rank 2
 answered on 22 Nov 2011
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?