Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
90 views

Hello Dear Friends,

 I'm sick and tired searching for an error with my rotator.

 Before I put the code in here, I would like if someone could direct me where is the error could be.

I worked ok for years under Win XP IIS 5.
After I transited to Win 7 - it stopped working.
I have 2 rotators.

1) Static. it just rotates pictures to left/right withput interactin.

2) Dynamic. it is filling with Web controls (panels) with questions and answers (questionary pages)

 The 1-st works, 2-nd doesn't...

IIS is set to .NET 4, Telerik.WebControl.UI.dll also 4-th

If I look into page code after the RadControl is dinamically created, then I can see all pages in code. Also, it's important, the RadRotator is also created without error.
But there is no Rotation and it is not visible at all, though, as I said before, the code is generated ok.
I tried IE and Chrome with the same result.

Please, help me where to go... I spent already several days with that transition from XP to W7. I needed to recreate 2 DBs and connect them to old code..
And one of the DBs was Oracle.. I was so much pain for me..

Now I'm just close to the end, and it's Rotator... maybe you already have met that kind of behavior - invisibility?

Роберт
Top achievements
Rank 1
 answered on 19 Sep 2015
1 answer
162 views

Hi Team,

I am getting a strange issue while using Radgrid. In my project two pages have used Rad Grid. In most of the machine it is working fine. But in few machine the data is not being displayed in the grid. But the data is showing outside the grid. There are search boxed in the header column of the grid. The search boxes are repeating multiple times inside a large div. The data is coming after the div. Please have a look on the attached file. Any idea on this?

Regards,

Arnab

Pavlina
Telerik team
 answered on 19 Sep 2015
3 answers
104 views
We are using RadTabStrip(Product version 3.4.2.0) in our application, we have tabs under tabs(like sub tabs) in page, Sub tabs are not showing in IE11 Native mode. Can any one help me what change we have to do to fix the issue.
Dimitar
Telerik team
 answered on 18 Sep 2015
2 answers
196 views
HI

i have used radeditor in my asp.net website. this editor have cut copy paste icon. but these icon not working .

if i click the icon , then get pop  box only. it s not working.

i have attached image file . pls help me.
Rajesh
Top achievements
Rank 2
 answered on 18 Sep 2015
12 answers
124 views

Hello Team,

Recently I upgraded ,telerik control(2015, 2, 623, 40) to make compatible for IE 11 but after upgrading the telerik control ,getting unexpected behavior for control

I am using telerik RadListBox along with RadContextMenu ,also RadListBox  having postback on selection of the record .But when I do right click to open the contextmenu then postback event getting fire and not able to select the context menu.

I will appreciate ,if I get the early response , because it urgent need for business

here is code sample

-----------------------------------------------------------------------------------------------------------------------

HTML

<telerik:RadListBox ID="rdListDocumentTypes" Skin="Outlook" Height="150px" Width="305px"
AllowReorder="true" AllowDelete="true" OnClientSelectedIndexChanged="DirtyTrackListBox"
OnClientContextMenu="showContextMenuOnDocumentType" SelectionMode="Single" AutoPostBack="true"
runat="server">
<ButtonSettings ShowDelete="false" ShowReorder="false" />
</telerik:RadListBox>
<telerik:RadContextMenu ID="contextMenuDocumentTypes" runat="server" OnClientItemClicking="OnClientDocumentTypeDelete"
Skin="Outlook" OnClientItemClicked="onItemClickedOnDocumentType" Style="top: 298px;
left: 12px">
<Items>
<telerik:RadMenuItem Text="Delete" Value="Delete" />
</Items>
</telerik:RadContextMenu>

 

------------------------------------------------------------------------

JavaScript

 

function OnClientDocumentTypeDelete(sender, eventArgs)
{
if (eventArgs.get_item().get_value() == "Delete")
{
if (!confirm('Are you sure you want to delete this record?'))
{
eventArgs.set_cancel(true);
return false;
}
ResetDirty(sender._element);
return true;
}
return false;
}
function showContextMenuOnDocumentType(sender, e)
{
var menu = $find("<%=contextMenuDocumentTypes.ClientID %>");
if (menu == null) return;
var rawEvent = e.get_domEvent().rawEvent;
if (e.get_item() != null)
{
menu.show(rawEvent);
e.get_item().select();
}
$telerik.cancelRawEvent(rawEvent);
}
function onItemClickedOnDocumentType(sender, e)
{
var listBox = $find("<%=rdListDocumentTypes.ClientID %>");
var index = listBox._selectedIndices[0];
var id = listBox._itemData[index].value;
document.getElementById("<%=hdfSelectedDocumentType.ClientID %>").value = id;
}

Ivan Danchev
Telerik team
 answered on 18 Sep 2015
1 answer
137 views

 Hello

 I have a TileList created from a datasource with a group field that groups tiles by day. Now I want to add a GroupTile Header with a ContentTemplate  programmatically. 

At the moment it is static in the .ascx file (see below). But I need something like this created in code behind and added to the TileListGroup.

I know I can add a group with .Groups.Add(group) but I just don't get how to create and add an RadContentTemplateTile as a header to it.

How can I get there... 

 <telerik:TileGroup Name="2015-09-18">
          <telerik:RadContentTemplateTile runat="server" Shape="Wide" CssClass="noHover OEGroupTile">
                    <ContentTemplate>
                                <div class="OEGroupTileContent">

                                   <div class="OETileTopContent">​Friday, 18.09.2015 (Today)</div>

                                    <div class="OETileBottomLeftSmall">​some text</div>
                                </div>
                       </ContentTemplate>
              </telerik:RadContentTemplateTile>
</telerik:TileGroup>

Marin Bratanov
Telerik team
 answered on 18 Sep 2015
5 answers
346 views
Hi all,

I have a radgrid that uses a combination of Autogenerated columns (because the columns cannot be identified until the query is created) and gridtemplate columns.

My main problem is that the gridtemplate columns are first before the autogenerated columns. I'd like to find a way to make the gridtemplate columns be last.


I tried to attempt this using MasterTableView.SwapColumns but i dont want to swap. Instead i just want to move all gridtemplate columns to be last. Im attempting this code in my radgrid_prerender. 

Also the order that the autogenerated columns are created must remain in that order because the sql query is built based on what the user has selected as fields to display.

Example ("select field1, field2, field3, field4 from table")  it should stay in that order for autogenerated columns without having to swap any.

Hope this makes sense

thank you,

Mike
Gayathri
Top achievements
Rank 1
 answered on 18 Sep 2015
1 answer
132 views

I have a grid that is being loaded based on search criteria that calls into a generic http handler that returns json. The grid loads perfectly fine this way, however a couple of the fields are numeric and using this format string  DataFormatString="{0:#,##0.00}" is failing.

 Here is column declaration:

<telerik:GridNumericColumn UniqueName="ExtendedCost" HeaderText="Extended Cost" DataField="ExtendedCost" AllowSorting="True"  DataType="System.Decimal" DataFormatString="{0:#,##0.00}"></telerik:GridNumericColumn>​

 This format string works fine with a grid that is loaded in code-behind.

 Here is the json that fills the grid.

[{"SystemId":20567,"Descriptor":"Hot Water Tank","AssetId":1352,"AssetName":"Asset 15","CampusId":224,"Campus":"Campus 12","InstallYear":2001,"DesignLife":15,"Velr":null,"AssignYear":2017,"EndOfLife":2016,"Beyond":-1,"Level4Code":"D3015","Level4Title":"Hot Water Supply System","SystemCostStatusId":3,"OperationStatusId":1,"MasterFormatId":"00020567","ProjectName":null,"Snoozed":false,"UniformatId":143,"UnitCost":500.00,"ExtendedCost":1045.00,"Location":null,"Sublocation":null,"FloorId":null,"RoomLocation":"To Be Determined","RoomTypeId":4,"Manufacturer":null,"Notes":null},{"SystemId":355997,"Descriptor":"Hot Water Tank","AssetId":23564,"AssetName":"Asset 15","CampusId":1314,"Campus":"Campus 242","InstallYear":2001,"DesignLife":15,"Velr":null,"AssignYear":2017,"EndOfLife":2016,"Beyond":-1,"Level4Code":"D3015","Level4Title":"Hot Water Supply System","SystemCostStatusId":3,"OperationStatusId":1,"MasterFormatId":"00020567","ProjectName":null,"Snoozed":false,"UniformatId":143,"UnitCost":500.00,"ExtendedCost":1677.50,"Location":null,"Sublocation":null,"FloorId":null,"RoomLocation":"To Be Determined","RoomTypeId":4,"Manufacturer":null,"Notes":null},{"SystemId":361433,"Descriptor":"Hot Water Tank","AssetId":23656,"AssetName":"Asset 72","CampusId":1319,"Campus":"Campus 247","InstallYear":2001,"DesignLife":15,"Velr":null,"AssignYear":2017,"EndOfLife":2016,"Beyond":-1,"Level4Code":"D3015","Level4Title":"Hot Water Supply System","SystemCostStatusId":1,"OperationStatusId":1,"MasterFormatId":"00020567","ProjectName":null,"Snoozed":false,"UniformatId":143,"UnitCost":500.00,"ExtendedCost":1677.50,"Location":null,"Sublocation":null,"FloorId":null,"RoomLocation":"To Be Determined","RoomTypeId":4,"Manufacturer":null,"Notes":null}]

 

Thank you

Konstantin Dikov
Telerik team
 answered on 18 Sep 2015
1 answer
114 views

Hi!

I am evaluating RadPivotGrid control...And I would like to know how to define my values in Page size combobox?

I saw thar added 10, 20 and 50 in this combo....

Thanks!

 

Eyup
Telerik team
 answered on 18 Sep 2015
6 answers
576 views
I have a radgrid that I am trying to export using HTML export.  However, the command item row is exported to excel with the export button as well.  I cannot delete the button from excel, so it's permanent fixture in the worksheet.

Is there any way to hide the command item display or at least the button when exporting to excel?  I have tried the following two methods, and neither work:
Protected Sub RadGrid1_ExcelExportCellFormatting(ByVal source As ObjectByVal e As ExcelExportCellFormattingEventArgs) Handles RadGrid1.ExcelExportCellFormatting 
        RadGrid1.MasterTableView.CommandItemSettings.ShowExportToExcelButton = False 
    End Sub 

Also tried:
    Protected Sub RadGrid1_ExcelExportCellFormatting(ByVal source As ObjectByVal e As ExcelExportCellFormattingEventArgs) Handles RadGrid1.ExcelExportCellFormatting 
        RadGrid1.MasterTableView.CommandItemDisplay = GridCommandItemDisplay.None 
    End Sub 

Nope.  Neither worked.

Attached is a screen shot of the spreadsheet.  (slightly modified to hide data, but format and style are the same.)

Thank you for your help in this matter.

GP





Kostadin
Telerik team
 answered on 18 Sep 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?