Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
163 views
hi!

i have opened a support ticket already but did not get a solution - so i try to ask the community if someone has come across a similar problem:

we are using sitecore cms and in their new version (which we are upgrading to at the moment) they are using telerik controls as well - but the version they are using is 2008.2 - we are using 2009.1.
now their admin site is inside the webroot (as most cms probably have) and their telerik.web.ui.dll is of course in the \bin folder.

this of course generates a version conflict.

we can't use the old version as we are using some stuff from the newer version.

now we got some suggestions to solve this issue:
  • using global assebly cache
  • registering the different assemblies in web.config
  • using aliases

all works to certain points - as even registering the specific assembly for the controls on a page with the strong name generates namspace conflicts for some properties (e.g. 'expandanimation' of rad.menu).

does anyone out there came across similar issues?
how did you solve these problems?

any help is very appreciated!
thank you!
Reini
Top achievements
Rank 2
 answered on 15 Mar 2012
5 answers
74 views
I believe I've found a serious bug in the Show/Hide Columns section of the RadGrid's HeaderContextMenu. I've a Grid with multiple autogenerated columns. The grid has so many columns that the horizontal scrollbar is visible. When I open the Header Context Menu, go to the Columns section and uncheck some of the columns, those columns get hidden without problems. Until here, there are no problems. But when I scroll to the right and then back to the left, the columns that were hidden before are visible again. When I reopen the Header Context Menu I can see that those columns are still unchecked. They are unchecked but they are still visible.

I was trying to add to new items to the header context menu, under the Columns section. These items are Check All and Uncheck All. Actually I believe that this has to be out of the box feature of the RadGrid but unfortunately it's missing as far as I know. Assuming that you have let's say 40 columns, you can't expect the user to make 35 clicks, when the user wants to hide 35 columns to focus only on 5 columns. So somehow I managed to add this feature myself and when I found the bug I've explained above, I first thought that I've caused this strange behaviour but then I tried the same on another grid where I didn't add that Check All/Uncheck All feature and saw that the strange behaviour or bug was still there. So it didn't depend on my additional feature.

I'm using the latest version of the Ajax controls (2012 Q1) Did someone else experience such a problem? Thanks in advance...
Quattro Formaggi
Top achievements
Rank 1
 answered on 15 Mar 2012
2 answers
60 views
Hai i am using Telerik ASP.NET Ajax Q1 2012.


============================================================================================================

<telerik:RadAjaxPanel ID="rapDashboard" runat="server">
                     <telerik:RadDockLayout runat="server" ID="rdlWidget" EnableEmbeddedSkins="false" Skin="Default" OnSaveDockLayout="rdlWidget_SaveDockLayout">
                       <telerik:RadSplitter ID="RadSplitter1" runat="server" Width="1000px"  Height="100%" BorderSize="0" OnClientLoaded="AutoSize" ResizeWithParentPane="false" BorderStyle="None" BorderWidth="0px">
                            <telerik:RadPane ID="Left" runat="server" OnClientResized="afterResize" Scrolling="None" CssClass="NewStyle" Height="100%" BorderStyle="None" BorderWidth="0px" >
                                <asp:UpdatePanel runat="server" ID="upLeftzone" UpdateMode="Conditional" ChildrenAsTriggers="false">
                                    <ContentTemplate>
                                        <telerik:RadDockZone ID="rdzLeft" runat="server" Orientation="Vertical" FitDocks="true" Width="95%"
                                        BorderStyle="None" Style="float: left; margin-right:-5px; overflow:hidden;font-size:18pt;font-family:Arial;font-weight:bold; border-right-style:none; border-right-width:0px;padding: 4px; width: 100%;">
                                        </telerik:RadDockZone>
                                    </ContentTemplate>
                                   <Triggers>
                                    <asp:AsyncPostBackTrigger ControlID="rdzLeft" />
                                    </Triggers>
                                </asp:UpdatePanel>
                            </telerik:RadPane>
                            <telerik:RadPane ID="Right" runat="server" OnClientResized="RightZoneafterResize" Scrolling="None" CssClass="NewStyle" Height="100%" BorderStyle="None" BorderWidth="0px">
                                <asp:UpdatePanel runat="server" ID="upRightzone" UpdateMode="Conditional" ChildrenAsTriggers="false">
                                    <ContentTemplate>
                                        <telerik:RadDockZone ID="rdzRight"  runat="server" Orientation="Vertical" BorderStyle="None" FitDocks="false" Width="95%"
                                        Style="float: left; border-right-style:none; border-right-width:0px;padding: 4px;  width: 100%;">
                                        </telerik:RadDockZone>
                                     </ContentTemplate>
                                   <Triggers>
                                   <asp:AsyncPostBackTrigger ControlID="rdzRight" />
                                    </Triggers>
                                </asp:UpdatePanel>
                            </telerik:RadPane>
                        </telerik:RadSplitter>
                    </telerik:RadDockLayout>   
                </telerik:RadAjaxPanel>


====================================================================================

This is my code.The rad dock is working fine in Firefox.But in IE it produced the below error


Message: Invalid argument.
Line: 308
Char: 1
Code: 0
URI: http://aspnet-scripts.telerikstatic.com/ajaxz/2012.1.215/Input/TextBox/RadInputScript.js

I tested in IE7 and IE8.
Palani
Top achievements
Rank 1
 answered on 15 Mar 2012
4 answers
96 views
Hi, I'm using library 2011.1.315 and I'm having two issues related to the drag and drop feature.

1) Everything works fine when an item 'A' from the Grid is droped in folder 'B' in the Tree. But when I drop the same item 'A' in the same folder 'B' in the Grid, nothing happens. Everything seems to work but no action is taken. Why I can't move an item to another item inside the Grid?

2) The second issue is permission related. If I set folder 'B' permissions to: Permissions = PathPermissions.Read, and try to drag-and-drop anything to folder 'B', then the move action is correctly denied. But no message is shown to the user, the action is just cancelled and nothing happens. How can I show an error message to the user?

Any help would be much appreciated.

Regards,
Santiago.
Pero
Telerik team
 answered on 15 Mar 2012
6 answers
240 views
Hi all!

I'm adding the filter for my RadGrid by set AllowFilteringByColumn="True"
However, it uses the textbox which is not good so much in some cases.
I see the RadComboBox allows user to search data by using its own Filter. So I would like to apply RadComboBox into the FIlter
Is there any ways to replace the textbox by RadComboBox ?

Thanks!

Andy.
asilioni
Top achievements
Rank 1
 answered on 15 Mar 2012
1 answer
41 views
I have a rad chart here http://cnppid.intellicomweb.com/Graphs/Johnson_One-Month_Elevation.aspx . I'm outputting what my data points are that I'm adding to it above the chart itself. I'm adding the points in my code behind. What I can't figure out is why my lines aren't going all the way to the edge. You can see what my x range in the first line, and you can see from that data that I'm outputting points all the way from 0 to 29. Do you have any ideas why this isn't going all the way to the edge?
Evgenia
Telerik team
 answered on 15 Mar 2012
1 answer
68 views
Hello,
i have a RadGrid :(Html as below)
<setsRC:SRadGrid ID="gdvOrgUnitTypes" runat="server" AllowFilteringByColumn="false"
GridLines="None" AutoGenerateColumns="False" AllowSorting="True" OnNeedDataSource="gdvOrgUnitTypes_NeedDataSource"
OnItemDataBound="gdvOrgUnitTypes_ItemDataBound" Width="450">
<MasterTableView AllowMultiColumnSorting="True" DataKeyNames="OrganizationUnitTypeID" CommandItemDisplay="Bottom" Name="gdvOrgUnitTypes">
<CommandItemSettings ShowAddNewRecordButton="false" />
<Columns>
<setsRC:SGridBoundColumn DataField="OrganizationUnitTypeName" HeaderText="Org. Unit Types" meta:resourcekey="OuTypeName" HeaderStyle-HorizontalAlign="Left"/>
<setsRC:SGridTemplateColumn ItemStyle-Width="280" HeaderText="Organization Units" meta:resourcekey="AvailableOUs" HeaderStyle-HorizontalAlign="Left">
<ItemTemplate>
<setsRC:SRadComboBox runat="server" ID="rcbOUsByType" />
</ItemTemplate>
</setsRC:SGridTemplateColumn>
</MasterTableView>
</setsRC:SRadGrid>

There are no Insert, Update or delete operations on the grid.
In each row there is a text value in the GridBoundColumn and a combobox inthe template column
The user only action is to select from the comboboxes
The comboboxes are following a certain hierarchy that is done by code. ( Company-->Entity-->Branch-->Department--> .....)
First row in grid is for company and second for entity and third for branch (each row Text + combobox) ......................
Currently everything is displayed in the comboboxes, i want to have the option when choosing a value from entity combobox to filter the branch combobox and department combobox.
also note that the data is not fixed eg: Companies have different hierarchies for example company B has Company-->entity-->Branch-->Department-->Sub department ...

Any help ?

          
Antonio Stoilkov
Telerik team
 answered on 15 Mar 2012
0 answers
67 views
Hi,

           I have a RadPanelBar in my UserControl(Ascx) with four panel items. I have added  another usercontrols(ascx)  in the panel item. Each item has different  usercontrols. I have added usercontrols in the panel item dynamically that is when the user clicked in the panel item the UserControl for this panel will be loaded and the panel item will be expanded. I have placed the radpanelbar  in an asp Updatepanel. In the usercontrol, which is placed inside the panelitem has asp updatepanel with some controls such as button,combobox etc.

            My problem is that  if i do some action in the controls, which is present in the updatepanel of UserControl in the panelitem the  panelbar minimized the panelitem. I want to the panelitem  remain expanded. How can i do this?

Thanks,
Velkumar.
Velkumar
Top achievements
Rank 2
 asked on 15 Mar 2012
1 answer
73 views

 i am trying to set the radmaskedtextbox FocusedStyle-CssClass and DisabledStyle-CssClass by gisving Cssclass name but they are not  reflecting into UI means not setting.Example like

.change

 {

background-color:Green;

  }

.setback

{

background-color:Orange;

 }

for Focus style:

<telerik:radmaskedtextbox ID="radmaskedtextbox1" Text="123" FocusedStyle-CssClass="change"  Mask="Test" EnableEmbeddedSkins="false" runat="server">

</telerik:radmaskedtextbox>

For disable style:

<telerik:radmaskedtextbox ID="radmaskedtextbox1" Text="123" Enabled="false" FocusedStyle-CssClass="change" DisabledStyle-CssClass="disable" Mask="Test" EnableEmbeddedSkins="false" runat="server">

</telerik:radmaskedtextbox>

But thsose styles are not applying
Please share your comments reagrding this and provide some sample code for better understanding.
Any help will be great appreciated.

Thanks,
Dipta





 

 

Princy
Top achievements
Rank 2
 answered on 15 Mar 2012
3 answers
98 views
I am experiencing an issue with the RadGrid in compatibility mode set to IE 7 withing IE 9 after upgrading my project to version 2012.1.215.40. In a grid with NumericTextBoxes the textboxes seem to float outside the grid. In non-compatibility mode this does not occur. Taking one of the online demos I am able to reproduce when I set the client AllowScroll to true in the grid.

<ClientSettings Resizing-AllowColumnResize="false" EnableRowHoverStyle="false">
    <Scrolling AllowScroll="True" ScrollHeight="200px"
    UseStaticHeaders="True" />
</ClientSettings>

Again it happens in compatibility mode. I would move away from compatibility, but I have users that still have not upgraded yet. The demo code I used can be found at http://www.telerik.com/community/code-library/aspnet-ajax/general/refresh-footer-values-in-radgrid-client-side-using-radnumerictextbox.aspx. I had to upgrade it to the newest version. Thanks.
Shinu
Top achievements
Rank 2
 answered on 15 Mar 2012
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?