Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
144 views
I have a WCF Web Service that returns a list of PeopleInfoDTO, however when I DataBind, nothing is displayed. I've confirmed 155 rows objects are returned. Any ideas?

        List<PeopleInfoDTO> people = _service.GetAllActiveEmployees();
        PeopleInfoDTO s = new PeopleInfoDTO();
        //s.LastName
 
        RadOrgChart1.DataFieldID = "ManagerEmployeeNumber"//s.EmployeeNumber
        RadOrgChart1.DataFieldParentID = "EmployeeNumber"//s.ManagerEmployeeNumber
        RadOrgChart1.DataTextField = "LastName"//s.LastName
        RadOrgChart1.DataSource = people;
        RadOrgChart1.DataBind();

<telerik:RadOrgChart runat="server" ID="RadOrgChart1" Skin="Default" 
            ondatabinding="RadOrgChart1_DataBinding" ondatabound="RadOrgChart1_DataBound" 
            ondisposed="RadOrgChart1_Disposed" ondrilldown="RadOrgChart1_DrillDown" 
            ongroupexpandcollapse="RadOrgChart1_GroupExpandCollapse" 
            ongroupitemdatabound="RadOrgChart1_GroupItemDataBound" 
            ongroupitemdrop="RadOrgChart1_GroupItemDrop" oninit="RadOrgChart1_Init" 
            onload="RadOrgChart1_Load" onnodedatabound="RadOrgChart1_NodeDataBound" 
            onnodedrop="RadOrgChart1_NodeDrop" 
            onnodeexpandcollapse="RadOrgChart1_NodeExpandCollapse" 
            onprerender="RadOrgChart1_PreRender" onunload="RadOrgChart1_Unload">
        </telerik:RadOrgChart>
Peter Filipov
Telerik team
 answered on 05 Feb 2013
2 answers
69 views

Hello,
I am new to Telerik and first time creating report using RadChart with Multiple series.

I need to assign the each series with X and Y values directly from Data table.

Please help.

Sample Code behind:

ChartSeries SS = new ChartSeries();

            SS.Type = ChartSeriesType.Line;
            SS.DataYColumn = "Value";
            SS.DataXColumn = "Date";
            //Need to assign Datatable which is having 2 columns Date (Like) 1-Jan, 2-Jan (no year) )) and Sales value(like 30, 50)
            RadChart1.Series.Add(SS);
Likewise i need to add 4 to 5 series.

Thanks,
Moorthy
Ves
Telerik team
 answered on 05 Feb 2013
2 answers
103 views
Hi there I have a radcalendar which has highlighted dates from a dictionary which contains a list of datetimes. The dates are expiry dates for courses and in the dictionary I have the names matched against the right dates. Only the last course name of the list of courses expiring for a date is being displayed so if i have "Word Course", and "Excel Course" and they both expire 31/12/13 the tooltip is coming out as "Excel Course" only instead of "Word Course, Excel Course". I'm unsure how to get this working any help would be greatly appreciated. Here is my current code:

  public void RadCalendar_DayRender(object sender, Telerik.Web.UI.Calendar.DayRenderEventArgs e)
    {


        DBSecurity security = SecurityBAL.TryCastSecurity(Session);
        int index = 0;
        foreach (KeyValuePair<string, DateTime?> pair in expiringCourses)
        {
            RadCalendarDay calendarDay = new RadCalendarDay();
            string name = pair.Key;
            DateTime? date = pair.Value;
            calendarDay.ItemStyle.BorderColor = Color.Blue;
            calendarDay.Date = date.Value;
            if (!calendarDay.ToolTip.Contains(name))
            {
                calendarDay.ToolTip += name;
                calendarEvents.SpecialDays.Add(calendarDay);
            }

        }
}
James
Top achievements
Rank 1
 answered on 05 Feb 2013
1 answer
363 views
Hi

     How can I hide the add new record button if there are more than 10 row in radgrid. Please help

thanks
RT
Shinu
Top achievements
Rank 2
 answered on 05 Feb 2013
3 answers
190 views
Hi,

Is it possible to have a chart which displays only positive values without setting manually Min and Max values?
What I am looking for is a property like the LinearAxis.RangeExtendDirection in the SIlverlight ChartView, is it available in the .net control?

Thanks,

Michele
Peshito
Telerik team
 answered on 05 Feb 2013
1 answer
98 views
Hi All,

I am facing very strange issue in form editing of Grid. I have one column in my grid which is combobox. I have tried different approach but not able to resolve this.

Case 1 : Grid DropDown Column

<telerik:GridDropDownColumn DataSourceID="StateDataSource" Visible="false"
                                    HeaderText="State" ListTextField="StateName" ListValueField="StateID"
                                    UniqueName="StateTestDropDown" ColumnEditorID="StateTestDropDownEditor" >
                                </telerik:GridDropDownColumn>
but in the UI, It is just showing me first row data, also i am not able to select other items. It seems disabled dropdown.

Case 2 : Grid Template Column

<telerik:GridTemplateColumn HeaderText="State" Visible="false">
                                <ItemTemplate>
                                    <%#DataBinder.Eval(Container.DataItem, "StateID")%>
                                </ItemTemplate>
                                <EditItemTemplate>
                                    <telerik:RadComboBox Width="100px" ID="StateClientContactDropDown" runat="server" SelectedValue='<%#Bind("StateID") %>'
                                    DataTextField="StateName" DataValueField="StateID" DataSourceID="StateDataSource">
                                     </telerik:RadComboBox>
                                </EditItemTemplate>                         
                                </telerik:GridTemplateColumn>

Same issue with this too, It only shows first item of datasource in the disabled mode.

Please let me know what should i change for making available other values of dropdown?
Eyup
Telerik team
 answered on 05 Feb 2013
6 answers
151 views
When we have a RadMenu like this below, with the width set to 100%:

http://demos.telerik.com/aspnet-ajax/menu/examples/appearance/imageonly/defaultcs.aspx?#qsf-demo-source

how can I have a custom literal control (asp literal) sit on top of the menu bar but positioned to the far right of the menu bar? What styling/code would I need to add to set the position of the literal to be on top of the menu bar to the far right?
Kate
Telerik team
 answered on 05 Feb 2013
2 answers
76 views
I like the way the RadWindow operates in maximized mode, how it can have a header and a status bar, and latches onto the browser, so when the browser resizes so does the window (how  it get's it's own scrollbars etc...). However I haven't been having much luck using that as a basis to house other pages that might have other RadWindows in them. Is there an easy alternative to create a basic header/footer frame for my site that looks and operates similar to the RadWindow in maximized mode?

It would be great if Telerik had some sort of layout assistance control to anchor items to top/bottom left/right etc. If one exists I'm unaware of it. I know there is a dock, but from the examples it doesn't seem to be what I need...

Any advice would be appreciated.
Marin Bratanov
Telerik team
 answered on 05 Feb 2013
1 answer
50 views
Maybe I'm missing something or it just isn't possible...

Can't edit the RadRibbonBar in Design View (vs2012)... Only in the HTML code can I edit then have to run the project to see results.

Definitely not the way I want to design the bar. Other controls allow me to click the "tasks" and edit items without issue.


Thanks
Mike
Kate
Telerik team
 answered on 05 Feb 2013
1 answer
152 views
When can we expect an announcement about whether or not we are going to see a formal adoption of LESS or SASS for the ASP.NET AJAX controls?

Or did I miss it?

-- 
Stuart
Ivan Zhekov
Telerik team
 answered on 05 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?