Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
363 views
Hi ,

I need to display a grid with two headers where the top header gives the text and the bottom header displays a dropdownlist when auto generate Columns set to true.I have a checkbox column  too.I need to display dropdowns on grid headers. Please help me out.

Thanks in advance
Shinu
Top achievements
Rank 2
 answered on 29 May 2014
1 answer
528 views
Hi
I have this code:

<MasterTableView CommandItemDisplay="Top">
                        <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowExportToPdfButton="true" />

and the  ShowAddNewRecordButton="false" works fine, but the ShowExportToExcelButton="true" is not doing anything. It doesn't cause a crash, however no export to excel button shows up in the CommandDisplay.

What am I doing wrong here?

I am using version 2014.1.403.45 of telerik
Princy
Top achievements
Rank 2
 answered on 29 May 2014
1 answer
103 views
Hi,

I would like to center all columns of RadGrid on the screen display as well as on pdf export of the file. How can I do that? I tried many techniques but didnt see anything happening for example:

gridview.MasterTableView.GetColumn("column").HeaderStyle.HorizontalAlign = HorizontalAlign.center

but without any success.

Any suggestions on that??? thanks
Princy
Top achievements
Rank 2
 answered on 29 May 2014
2 answers
309 views


How to add font awesome icon in appointment subject without losing the existing (default) style.
My Radscheduler is binded with Dataset code is below.

--------------------------aspx------------------------------------------
<telerik:RadScheduler OnClientAppointmentClick="OnClientAppointmentClick" OnAppointmentDataBound="RadScheduler1_AppointmentDataBound" CustomAttributeNames="SiteId,UserId" ReadOnly="true" runat="server" ID="RadScheduler1" SelectedView="MonthView" OverflowBehavior="Auto">                    
                    </telerik:RadScheduler>
-------------------------aspx.cs---------------------------------------
RadScheduler1.DataSource = ds;//Dataset
RadScheduler1.DataKeyField = "ScheduleID";
RadScheduler1.DataStartField = "ScheduleDate";
RadScheduler1.DataEndField = "ScheduleDate";
RadScheduler1.DataSubjectField = "Name";// at this stage I want add awesome font if CustomAttributeNames    UserId is not null. this field also available in ds
RadScheduler1.DataBind();

protected void RadScheduler1_AppointmentDataBound(object sender, Telerik.Web.UI.SchedulerEventArgs e)
{
DataRowView row = (DataRowView)e.Appointment.DataItem;
e.Appointment.Attributes.Add("SiteId", row["SiteId"].ToString());
e.Appointment.Attributes.Add("UserId", row["UserId"].ToString());
}
Boyan Dimitrov
Telerik team
 answered on 28 May 2014
1 answer
60 views
Hi,

As you see on the title I have a telerik gridview and when I export it to PDF I want the columns to be displayed in the middle. I tried code that I found in this forum without success. Can you please advice how I can do that??


Thanks
leo
Top achievements
Rank 1
 answered on 28 May 2014
2 answers
167 views
Not sure if this is a skin bug or not. Using the latest build (1105) when I have detail tables in my grid the single pixel border on the right side is missing. It's fine on the parent grid but missing on all the child grids. I've tried it with both Default2006 and WebBlue skins. I even added Wdith="90%" to the child grid and it takes up more width but is still missing the right edge. Pretty much all the properties are default and using the built in skin. It displays the same in both IE and FF. Any ideas?

Dan
a.wilks
Top achievements
Rank 1
 answered on 28 May 2014
5 answers
185 views
I have buttons on ItemCommand that fuction correctly. However when pressed it should be marked as checked and keep like that until user clear all filters or press another button (see image 1).
The aspx code is in image 2.
Is there any trick to solve this problem. I tried to access the button from code behind inside the ItemCommand but the checked didn't work.
Danail Vasilev
Telerik team
 answered on 28 May 2014
0 answers
56 views
I have binded HTML table to JSON data and used Kendo Grid. On click of the button,data is being binded to Grid.Now the issue is, after data in Grid,if i again click the button then content is getting repeated. Would you please help me resolve this? Any help is appreciated.
Rohan
Top achievements
Rank 1
 asked on 28 May 2014
1 answer
75 views
Hi,

I have 2 combo-boxes, both load on demand from a web method.
initial state: I load all the items for both.

If I select a value on the first combo, I want to load again relevant values to the second combobox.
Is there anyway to call the web service method on the selectedindexchanged event of the first combo?

Princy
Top achievements
Rank 2
 answered on 28 May 2014
1 answer
112 views
Hi,

I currently use a fixed width for my content - with panels to the side to center the content in the browser.

I am now considering a solution where the width might vary quite considerably.  As such I would like the menu to cope with being squashed.  Is there a way to have a More option which as the menu gets smaller would start to include the items that would otherwise be hidden off screen?  

as an example say the menu contains the following

Item 1    Item 2    Item 3    Item 4    Item 5    Item 6    Item 7

As soon as the screen gets to this width >< I'd end up with a menu:
Item 1    Item 2    Item 3    Item 4     More
                                                           Item 5
                                                           Item 6
                                                           Item 7

Where Items 5, 6 & 7 get shown once More is hovered over...

Any suggestions?

Regards

Jon
Magdalena
Telerik team
 answered on 28 May 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?