Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
142 views
Just so it may help someone else with the same issue, since upgrading to Q3 2013 I've noticed that our menus that are created dynamically (in this case via a web service) are missing menu separators.  It seems an extra class name, rmImageOnly, for separators is getting added even though I'm not using images for the separators:

<div class="rmSlide" style="left: 0px; top: 22px; width: 151px; height: 361px; overflow: hidden;">
    <
ul class="rmVertical rmGroup rmLevel1" style="left: 0px; top: -361px; display: block; visibility: visible;">

        <li class="rmItem rmSeparator">

             <a class="rmLink rmImageOnly" style="width: 151px;" href="#">
                <
span class="rmText"></span>
            </
a>

        </li>

    </ul>
</
div>

By default, the embedded Telerik css sets the display: none; property for this class, therefore all my separators were hidden.  I used the following code to fix the issue:

 

/* Added to fix hidden separators on the Radmenu ver. Q3 2013 */

.RadMenu .rmRootGroup a.rmImageOnly span.rmText

{

     display: block !important;

}

A side note is that this does not seem to happen with the radMenus that are created without using a webservice.  Telerik, this seems like a bug to me.  Hope this helps anyone else with the same issue!

Stephen
Top achievements
Rank 1
 answered on 28 Feb 2014
2 answers
138 views
Using version 2012.3.1308.40

Anyone know why the RadGrid filter menu option items are not selectable? Let say I have 3 items in the filter
  1. NoFilter
  2. Contains
  3. StartsWith
  4. EndsWith

On page load the NoFilter is selected. If I select Contains, nothing happen, Nofilter is still selected. Any help would be great.

Bryian
Top achievements
Rank 1
 answered on 28 Feb 2014
1 answer
285 views
The project I’m working on is revamping an existing web portal.
Migration from the old Infragistics controls to Telerik is part of the revamp.

Would you recommend to keep the old Visual studio project and dump in the
new controls or starting a new VS project altogether?

Thanks in advance
Simone Duca
Danail Vasilev
Telerik team
 answered on 28 Feb 2014
6 answers
76 views
Greetings everyone!

I am working on an application in which I'm using a TimelineView to show 5 total days, each timeslot is one hour in length:

TimelineView-NumberOfSlots="120" 
TimelineView-TimeLabelSpan="24" 
TimelineView-SlotDuration="01:00:00"
TimelineView-StartTime="00:00:00"

Now, let's say I have an appointment on each of those 5 days, for 2 hours each, starting at 8:00 am and ending at 10:00 am. In theory, they should appear in the same place for each day. Unfortunately, this is what I'm seeing:

http://i.imgur.com/38tomBD.jpg

The first appointment on Monday is current, but subsequent days shows "slippage". (FYI, the database insert is there for illustrative purposes and the grayed out timeslots are the client's non-working hours.) The application also has a "zoomed in" view that only shows a single day -- it looks good:

http://i.imgur.com/QNVWIDv.jpg

Has anyone else ran across this, and if so, is there a solution?

Much thanks!
Ryan


Nencho
Telerik team
 answered on 28 Feb 2014
2 answers
93 views
Hi All,

Can anyone please tell me if there are any "best practices" for optimizing a RadGrid in a SharePoint web-part?  It is entirely in C#, and I would like to improve its performance.

It is editable and reads/writes to a SQL database.

Thanks,
Mark
Mark
Top achievements
Rank 1
 answered on 28 Feb 2014
1 answer
129 views
in code behind, the following code will export the radgrid data to excel file.
but all the text had been wrap.


RadGrid1.ExportSettings.ExportOnlyData = True 
RadGrid1.ExportSettings.IgnorePaging = True
RadGrid1.MasterTableView.ExportToExcel()


if i manually select all the data and then click "Wrap Text" button to disable wrap text. the data seems good.

how can i disable the wrap function during export ? thanks















Kostadin
Telerik team
 answered on 28 Feb 2014
1 answer
105 views
Hello,

I've noticed that it can be hard to tell sometimes if the search is executing (when going to a webservice), so, I thought it would be nice if I could add a "loading" gif to the box or something while it's loading. But, I didn't see a way to do that... any ideas?

Also, related to that, I've noticed a lot of people enter a search and quickly hit "enter", but, with the web service, that just seems to cancel the search... is there a way to basically disable "enter"?

Thanks,

Mike
Nencho
Telerik team
 answered on 28 Feb 2014
10 answers
367 views
Hi

I want to use radasyncupload to upload my files to the database. Is it possible without using the temporary folder. The control should not upload files temporarily.

Thanks
Dona
Peter Filipov
Telerik team
 answered on 28 Feb 2014
19 answers
94 views
I'm using Grid Template Column with checkboxes. Grid loads normally but MasterTableView disappears when you are clicking any checkbox in .Grid Template Column. Worked fine in 2010 Q3. Problem happened with move to 2012 Q3. Project was updated through VS2010 Telerik menu: Update to the latest version.

Grid Template Column:

<telerik:GridTemplateColumn UniqueName="CheckBoxTemplateColumn" AllowFiltering="False">
    <HeaderTemplate>
     <asp:CheckBox id="headerChkbox" OnCheckedChanged="ToggleSelectedState" AutoPostBack="true" runat="server"></asp:CheckBox>
    </HeaderTemplate>
    <ItemTemplate>
        <asp:CheckBox id="CheckBox1" OnCheckedChanged="ToggleRowSelection" AutoPostBack="true" runat="server"></asp:CheckBox>
    </ItemTemplate>
      
        <HeaderStyle Width="95px" />
</telerik:GridTemplateColumn>

Code behind:
Protected Sub ToggleSelectedState(ByVal sender As Object, ByVal e As EventArgs)
    Dim headerCheckBox As CheckBox = CType(sender, CheckBox)
    For Each dataItem As GridDataItem In OMSGrid.MasterTableView.Items
        CType(dataItem.FindControl("CheckBox1"), CheckBox).Checked = headerCheckBox.Checked
        dataItem.Selected = headerCheckBox.Checked
    Next
End Sub
 
Protected Sub ToggleRowSelection(ByVal sender As Object, ByVal e As EventArgs)
    CType(CType(sender, CheckBox).NamingContainer, GridItem).Selected = CType(sender, CheckBox).Checked
End Sub
 
Protected Sub OMSGrid_ItemCreated(sender As Object, e As Telerik.Web.UI.GridItemEventArgs) Handles OMSGrid.ItemCreated
    If TypeOf e.Item Is GridDataItem Then
        AddHandler e.Item.PreRender, AddressOf OMSGrid_ItemPreRender21
    End If
End Sub
 
 
Protected Sub OMSGrid_ItemPreRender21(ByVal sender As Object, ByVal e As EventArgs)
    If Not CType(sender, GridDataItem)("CheckBoxTemplateColumn").FindControl("CheckBox1") Is Nothing Then
        CType(CType(sender, GridDataItem)("CheckBoxTemplateColumn").FindControl("CheckBox1"), CheckBox).Checked = CType(sender, GridDataItem).Selected
     End If
End Sub

This code is from Telerik code samples. Again, it's working fine with 2010 Q3. 

Thank you for your help.

Regards,

Vitaly

Daniel
Telerik team
 answered on 28 Feb 2014
1 answer
74 views
Hello,

I'm using OLAP Pivot Grid with HTTPS protocol and  it gives a warning saying "This page contains both secure and nonsecure items" on IE8 for some specific scenarios. I have loaded the pivot grid in an iframe and wrapped with a RadAjaxPanel. I have attached a sample project and screenshot of the mentioned security warning (rename the extension of test_project.jpg as test_project.rar).

Steps to reproduce :

1) Deploy attached project and load main.aspx using https protocol.
2)  Add a dimension attribute field to "ROW FIELDS" / "COLUMN FIELDS"
3) Click on filter button of added attribute field 
4) Apply any value or label filter (EX: Equal filter)
5) Again click on filter button of added attribute field 
6) Then you will be able to see the security warning.

This warning only appear when both iframe and update panel is used with pivot grid and its a must to have both in my project. how can i fix this issue without removing any of those.

Thanks and Regards, 
Yohan
Maria Ilieva
Telerik team
 answered on 28 Feb 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?