Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
210 views
I have a RadDockZone with multiple Raddocks.  Each Raddock contains a multi-page RadGrid with an Export to Excel button inside the CommandItemTemplate.  Lets say I have 3 Raddocks, raddock1 being at the very top of RadDockZone.  When I try to export the bottom 2, the radgrid is expanded and all records are displayed.  It removes the paging and does not export.

If I only have one raddock inside the raddockzone, it exports the radgrid just fine.

anyone ever ran into the same issue?
Slav
Telerik team
 answered on 25 Nov 2013
1 answer
119 views
I'm deploying some web user controls containing Rad Controls to a web site that has some very generic styles defined. I keep running into the problem of the site styles applying to elements within Rad Controls and causing them to visually appear incorrectly. For instance, The site has the style:

a:hover {
    margin: 0;
    padding: 0;
    font-weight: normal;   
}

(It actually has other styles that make things way worse, but this is a good, simple example.) This style is messing up the tab control tabs which contain an <a>. When I hover over a tab, the tab's text shifts left and the left tab border disappears. There are other styles defined for the site that apply to <ul> and <li> generically that mess up the tab control as well. I do have access to the site styles, but I don't know where they are all used which means I don't know what I'd be breaking if I change one. Is there a better way to make sure the Rad Controls styles are not interfered with? I kind of thought the control would manage providing all of the styles needed to ensure it's look and feel.
Magdalena
Telerik team
 answered on 25 Nov 2013
1 answer
213 views
Telerik Rad grid does not render the correct HTML to generate pdf. 

issues found
1] Generated html by telerik has few columns missing 
2] Many unwanted columns list, Filter options are visible in HTML for ABC pdf

Daniel
Telerik team
 answered on 25 Nov 2013
1 answer
175 views

Here's my code:

If e.CommandName <> "Preview" Then Exit Sub
 
grdItem = CType(e.Item, GridDataItem)
strFile = grdItem.OwnerTableView.DataKeyValues(grdItem.ItemIndex)("preview_file").ToString

This handles a hyperlink button in the RadGrid, and it works fine. But if you try to apply a filter to the grid, you get the error:

Unable to cast object of type 'Telerik.Web.UI.GridFilteringItem' to type 'Telerik.Web.UI.GridDataItem'.

How do I get around this?

Kostadin
Telerik team
 answered on 25 Nov 2013
1 answer
77 views
 RadScheduler : Can i get Month View according to Attached Image?

All the weeks of the month can be show like that.

Regards,
Danish

  
Plamen
Telerik team
 answered on 25 Nov 2013
3 answers
543 views

I am trying to get the timeline view to be limited to the "day hours". I only want it to display one day (I have disabled the navigation pane), and only the regular working hours. I am trying to replicate the "compare schedules" feature in Outlook. Another option would be if the timeline view would by default be scrolled to the start of the day.

I have tried to set the DayStartTime and WorkDayStartTime both on the tag and through code in Page Load. It always just shows 12:00AM-11:30PM.

How can I get this done? Here is the code I am using:

        RadScheduler1.SelectedView = SchedulerViewType.TimelineView 
        RadScheduler1.TimelineView.SlotDuration = New TimeSpan(0, 30, 0) 
        RadScheduler1.TimelineView.NumberOfSlots = 48 
        RadScheduler1.TimelineView.GroupingDirection = GroupingDirection.Vertical 
        RadScheduler1.ShowViewTabs = False 
        RadScheduler1.ShowNavigationPane = False 
        RadScheduler1.ReadOnly = True 
        RadScheduler1.OverflowBehavior = OverflowBehavior.Expand 
        RadScheduler1.ColumnWidth = 80 
        RadScheduler1.DayStartTime = New TimeSpan(8, 0, 0) 
        RadScheduler1.DayEndTime = New TimeSpan(18, 0, 0) 
        RadScheduler1.WorkDayStartTime = New TimeSpan(8, 0, 0) 
        RadScheduler1.WorkDayEndTime = New TimeSpan(18, 0, 0) 
        RadScheduler1.TimelineView.ColumnHeaderDateFormat = "h:mm" 
 

Thanks for your help.






Kate
Telerik team
 answered on 25 Nov 2013
2 answers
215 views

Hi Team

I am using a RadMenu inside I have added RadMenuItems ie. CheckBox and RadCombobox.

I am opening the menu onclick of menu using the property ClickToOpen="true".

Now when I  change the RadCombox, page postbacks and bind the new values in other RadCombobox.

When postback happens the RadMenu is hiding which I DONT WANT. I want to hide the postback only on the button Go which is also a part of RadMenu.

Please can you please suggest how to prevent RadMenu to hide on Postbacks?

Below is the code I am using...
<telerik:RadMenu ID="RadMenu1" runat="server" Style="z-index: 2000" ClickToOpen="true" Visible="true"
                                        OnClientItemClosing="OnClientItemClosing">
                                        <items>
                                            <telerik:RadMenuItem Text="Card Filter">
                                                <Items>
                                                    <telerik:RadMenuItem Text="CardFilter">
                                                        <ItemTemplate>
                                                            <table>
                                                                <tr>
                                                                    <td colspan="2">
                                                                        <asp:CheckBox runat="server" ID="chkUseFleetFilter" Text="Use fleet filter for cards"
                                                                            Checked="true" AutoPostBack="true" Font-Names="Verdana" Font-Size="0.8em" OnCheckedChanged="chkUseFleetFilter_CheckedChanged" />
                                                                    </td>
                                                                    <td>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <asp:RadioButtonList ID="radListDateTime" Enabled="true" runat="server" Font-Names="Verdana"
                                                                            Font-Size="0.8em">
                                                                            <asp:ListItem Text="Fleet" Value="Fleet" Selected="True" />
                                                                        </asp:RadioButtonList>
                                                                    </td>
                                                                    <td>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <asp:Label ID="lblFleetLevel" runat="server" Width="100px" Text="Fleet Level"></asp:Label>
                                                                    </td>
                                                                    <td>
                                                                        <telerik:RadComboBox ID="ddlFleetLevel" runat="server" Width="200px" Enabled="false" OnSelectedIndexChanged="ddlFleetLevel_SelectedIndexChanged" AutoPostBack="true"
                                                                            OnClientDropDownOpening="OnClientDropDownOpening" OnClientDropDownClosed="OnClientDropDownClosed">
                                                                        </telerik:RadComboBox>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <asp:Label ID="lblFleetItem" runat="server" Text="Fleet Item" Visible="false"></asp:Label>
                                                                    </td>
                                                                    <td>
                                                                        <telerik:RadComboBox ID="ddlFleetItem" runat="server" Width="200px" Enabled="false" Visible="false"
                                                                            OnClientDropDownOpening="OnClientDropDownOpening" OnClientDropDownClosed="OnClientDropDownClosed">                                                                          
                                                                        </telerik:RadComboBox>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <asp:Label ID="lblFindCard" runat="server" Text="Find Card"></asp:Label>
                                                                    </td>
                                                                    <td>
                                                                        <telerik:RadTextBox ID="txtFindCard" runat="server" Width="200px" Enabled="false">
                                                                        </telerik:RadTextBox>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                    </td>
                                                                    <td align="left">
                                                                        <telerik:RadButton ID="btnGo" runat="server" Width="50px" Text="Go" ToolTip="Go"
                                                                            Enabled="false" />
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </ItemTemplate>
                                                    </telerik:RadMenuItem>
                                                </Items>
                                            </telerik:RadMenuItem>
                                        </items>
                                    </telerik:RadMenu>


Sharan
Top achievements
Rank 1
 answered on 25 Nov 2013
1 answer
283 views
I have been using the telerik controls for my asp.net web application, I have used PivotGrid telerik control and I have set filters for all the columns in it. Now I need one column filter to be hidden, Is this possible? If so could you tell me how this can be achieved. I have attached an image that has the layout of my requirement.
Konstantin Dikov
Telerik team
 answered on 25 Nov 2013
4 answers
219 views

Howdy All,

    Not sure the best forum to post this on, so i'll start here...  I have two questions here...  I have two tables (Settings, and SettingsTypes). One of which (Settings) I'm displaying in a grid.  It has a field (SettingType) that is related to an TypeID field in the SettingTypes table.  Right now I have the grid display the setting and the integer value for it's settingtype field.  I would like to display the related settingtype Name field from the SettingType table.  Any Ideas???



My second question is I have a User Defined edit page ( settingsDetail) page that is used when the user "edits" a row in the setting table's grid.  the dataitem on that page is the datarow  from the settings table.  I would like to place on the details page a dropdownlist/combobox  of the settingtype names instead of having the user input an integer value.  How do I get to the settingtype table from the datarow from the setting table as the datatitem???  I could not find any decent examples of using the User Control page (my details page)...  I'm going of the example at: http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/edit-form-types/defaultvb.aspx  but that has only a "Hard Coded" dropdown...  I would like to get the values from a table NOT "Hard Coded".



As a caveat, I'm a Newbie when it comes to ASP.Net... so bare with me if my questions are a bit basic :-)



Thanks in advance,

Kevin Orcutt

Matson Money, Inc.

(513) 204-8000 x8245

(513) 204-8245 (Direct)

Kevin.Orcutt@MatsonMoney.com

www.MatsonMoney.com


Eyup
Telerik team
 answered on 25 Nov 2013
1 answer
185 views
I am using RadDropDownTree with checkboxes and server events OnEntryAdded and OnEntryRemoved.
Problem is with that events that they fires for every checked node instead just once. When user checks 10 nodes and closes drop down, event fires 10 times! Because it is server event and trigers grid refresh (and pull data from database), this is a big problem. I could not find other event for drop down close, really, a dont want to collect one by one node, its just fine to fire one event and use SelectedValue property. 
Shinu
Top achievements
Rank 2
 answered on 25 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?