Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
130 views
I have a radgrid where we wish to have 4 frozen columns and allow users to group one or more of those columns.  In the following example, everything is fin un-grouped.  I can scroll right and see all the columns.  However, when I drag a column and group, the horizontal scroll bar disappears.  How do I fix this issue?      

<telerik:RadScriptManager ID="RadScriptManager" runat="server">
</telerik:RadScriptManager>
<telerik:RadGrid ID="RadGrid2" runat="server" DataSourceID="SqlDataSourceRadGrid" ShowGroupPanel="true" AutoGenerateColumns="false" Height="600px" Width="600px">
    <ClientSettings AllowDragToGroup="true">
        <Scrolling AllowScroll="true" FrozenColumnsCount="4" UseStaticHeaders="true" />
    </ClientSettings>
    <MasterTableView TableLayout="Auto">
        <Columns>
            <telerik:GridBoundColumn UniqueName="Dimension" DataField="Group" HeaderText="Dimension" HeaderStyle-CssClass="rgDimensionHeader" ItemStyle-CssClass="rgDimensionItem" FooterStyle-CssClass="rgDimensionFooter">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="DimensionValue" DataField="Dimension" HeaderText="Dimension Value" HeaderStyle-CssClass="rgDimensionHeader" ItemStyle-CssClass="rgDimensionItem" FooterStyle-CssClass="rgDimensionFooter">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="State" DataField="State" HeaderText="State" HeaderStyle-CssClass="rgDimensionHeader" ItemStyle-CssClass="rgDimensionItem" FooterStyle-CssClass="rgDimensionFooter">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="CountyHRR" DataField="County-HRR" HeaderText="County" HeaderStyle-CssClass="rgDimensionHeader" ItemStyle-CssClass="rgDimensionItem" FooterStyle-CssClass="rgDimensionFooter">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="Dimension" DataField="Group" HeaderText="Dimension" HeaderStyle-CssClass="rgDimensionHeader" ItemStyle-CssClass="rgDimensionItem" FooterStyle-CssClass="rgDimensionFooter">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="DimensionValue" DataField="Dimension" HeaderText="Dimension Value" HeaderStyle-CssClass="rgDimensionHeader" ItemStyle-CssClass="rgDimensionItem" FooterStyle-CssClass="rgDimensionFooter">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="State" DataField="State" HeaderText="State" HeaderStyle-CssClass="rgDimensionHeader" ItemStyle-CssClass="rgDimensionItem" FooterStyle-CssClass="rgDimensionFooter">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="CountyHRR" DataField="County-HRR" HeaderText="County" HeaderStyle-CssClass="rgDimensionHeader" ItemStyle-CssClass="rgDimensionItem" FooterStyle-CssClass="rgDimensionFooter">
            </telerik:GridBoundColumn>
        </Columns>                                   
    </MasterTableView>
</telerik:RadGrid>   
 
<asp:SqlDataSource ID="SqlDataSourceRadGrid" runat="server" ConnectionString="<%$ ConnectionStrings:Default %>" ProviderName="System.Data.SqlClient" SelectCommandType="StoredProcedure" SelectCommand="dbo.PU_GetDimensionPivotAll">
    <SelectParameters>
        <asp:Parameter Name="p_Indicator" Direction="Input" Type="Int32" DefaultValue="18" ConvertEmptyStringToNull="false" />
        <asp:Parameter Name="p_FilterGroup" Direction="Input" Type="String" DefaultValue="" ConvertEmptyStringToNull="false" />
        <asp:Parameter Name="p_FilterDimension" Direction="Input" Type="String" DefaultValue="" ConvertEmptyStringToNull="false" />
        <asp:Parameter Name="p_FilterState" Direction="Input" Type="String" DefaultValue="" ConvertEmptyStringToNull="false" />
        <asp:Parameter Name="p_FilterCounty" Direction="Input" Type="String" DefaultValue="" ConvertEmptyStringToNull="false" />
        <asp:Parameter Name="p_PageSize" Direction="Input" Type="Int32" DefaultValue="200" ConvertEmptyStringToNull="false" />
        <asp:Parameter Name="p_PageRequested" Direction="Input" Type="Int32" DefaultValue="1" ConvertEmptyStringToNull="false" />
    </SelectParameters>
</asp:SqlDataSource>
Princy
Top achievements
Rank 2
 answered on 27 May 2013
1 answer
77 views
Hi there.
After some good support here to customize the RadMenu bar in terms of appearance, I face a problem in IE7 where the menu items do not appear to slide out/show them but in IE8 and 9 they work perfectly. Any ideas? Here is the relevant code:

Hi there.
I am using RADMenus to dynamically populate menu items. This works fine and I can see it slide out in IE8 and IE9 no problem.
In IE7, this does not seem to show. I can kind of see it sliding out but seems like the menu items are hidden somewhere.

Any ideas how I can fix this? Here is the relevant code:

// this is in a user control:

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

<div style="float: right;margin-left:89%; margin-top: 22px; position: absolute; z-index: 10001; color:White; font-family: Segoe UI, Arial, Sans-Serif; font-size:12px;font-weight:bold">
<asp:Literal runat="server" ID="litUserLoggedInDetails" />
</div><br />
<telerik:RadMenu runat="server" ID="RadMenuItems" Height="40px" Width="100%" ForeColor="White">
<DefaultGroupSettings OffsetY="-1" />
</telerik:RadMenu>



// This user control is placed on site.master:
<form runat="server">
<uc:ScriptManagerControl runat="server" ID="ucScriptManagerControl" />
<div id="wrapper">
<uc:NavigationMenuItemsBinderControl runat="server" ID="ucNavMenuBinder" />


// etc....


// CSS:


.RadMenu_Default .rmRootGroup,
.RadMenu_Default a.rmLink,
.RadMenu_Default .rmGroup .rmText,
.RadMenu_Default .rmVertical .rmText,
.RadMenu_Default .rmLeftArrow,
.RadMenu_Default .rmRightArrow,
.RadMenu_Default .rmTopArrow,
.RadMenu_Default .rmBottomArrow
{
background-image: url('../Images/rmSprite.png');
background-color: transparent;
}


.RadMenu_Default .rmRootGroup

{

background: #0072C6 !important; /* Old browsers */

background: linear-gradient(to bottom, #0072C6 0%,#8eb92a 50%,#72aa00 51%,#003A66 100%) !important; /* W3C */

background-image: -ms-linear-gradient(bottom, #003A66 0%, #0072C6 100%) !important; /* IE 10 */


filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0072C6', endColorstr='#003A66',GradientType=0 ) !important; /* IE6-9 */

color: White !important;

}


.RadMenu_Default .rmGroup, .RadMenu_Default .rmMultiColumn, .RadMenu_Default .rmGroup .rmVertical

{

background: #0072C6 !important;

color: White !important;

}

.RadMenu_Default .rmHorizontal .rmRootLink span.rmText:hover

{

background: #0072C6 !important;

color: White !important;

}



.RadMenu_Default a.rmExpanded, .RadMenu_Default a.rmExpanded:hover

{

background: #0072C6 !important;

color: White !important;

}



.RadMenu_Default .rmItem .rmFirst .rmLink .rmText:hover, .RadMenu_Default .rmItem .rmLast .rmLink .rmText:hover

{

background: #0072C6 !important;

color: White !important;

background-image: none !important;

}

.rmText
{
color : White;
}


#navigation ul {
display: none;
}
#navigation li:hover > ul {
display: block;
}

#navigation {
width: 100%;
background-color: rgb(59, 128, 212);
font-family: arial,sans-serif;
font-size: small;
float: left;
}
#navigation li {
list-style: none;
float: left;
width: 160px;
height: 30px;
line-height: 30px;
text-align: center;
}
#navigation li a {
color: white;
text-decoration: none;
display: block;
}

#menuItem .menuItem a, #menuItem .menuItem a:hover
{
background-color: #FFF;
color: #000;
cursor: default;
}
#navigation li ul {
position: absolute;
display: none;
}

#navigation li ul li {
float: none;
display: inline;
}
#navigation li ul li a {
width: 100%;
position: relative;
border-left: 1px solid black;
border-right: 1px solid black;
border-bottom: 1px solid black;
background: rgb(59, 128, 212);
color: #fff;
}
#navigation li ul li a:hover {
background: #cccccc;
color: #000;
}



Many thanks for your assistance.

Kate
Telerik team
 answered on 27 May 2013
3 answers
1.9K+ views
Hi guys,

Is there any way we can set Selected Items or Checked Items in a multiselect RadComboBox ?.

I tried following code but that works only if it is not a multiselect RadComboBox.

RadComboBox.SelectedValue = "123"

Edit : Also I am setting value on post back in vb.net

Thanks,
Rahul
Princy
Top achievements
Rank 2
 answered on 27 May 2013
3 answers
343 views
I started another thread here:
http://www.telerik.com/community/forums/aspnet-ajax/calendar/skin-error-when-deploying.aspx
But now I have a different problem.

Now it locks up the PC and will not let me publish the project.  I have deleted all of the project files on the server and tried several times to publish and it stops on the bin folder but gives no error.  I can't delete the dll from the bin folder because it says it's in use.

I've had it.  I really like the Telerik controls but it seems between all our developers they are nothing but trouble.  I'm not the first to have this problem.  My other developer has to publish his project to his PC, then hand copies the files up.  Now he refuses to use any of the controls.
As Sr. developer for our plant I'm starting to agree.

My new error from the web server is this when I try to run the project after uploading:
Could not load file or assembly 'Telerik.Web.UI.Skins' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

I have rebooted my pc and tried again.  The problems started when I added a reference to the Telerik.Web.UI.Skins.dll so I could use a skin.

What exactly are the steps please to getting these skins to work?  And please don't point me to the tutorials.  We've read them and have tried them all.  Are missing a step?

Here's what we did:
I added the datetime picker control to the project.  When I try to select a skin it tells me I need to go copy the dll from another place on the drive to by bin folder. (Why this isn't automatic, I don't know)
I go to c:\program files....  and finally get the skin dll file and copy it to my project's bin filder.
Then it will let me add the skin.
Now when I publish the project it can't find the skin again on the server and it tells me to add a reference to the dll in visual studio.
I add the reference to the dll in the bin folder.  (Now the trouble begins)
The project refuses to publish correctly and the dll gets tied up somehow so I rebooted my PC.
Nothing helps until I remove the reference and throw away the skin.  Then maybe it starts working again.

Where did we go wrong?

Vasil
Telerik team
 answered on 27 May 2013
1 answer
881 views
hi,
I want to change the text of ok and cancel button in radconfirm dialogue.
Telerik.Web.UI.RadWindowUtils.Localization =  
{   
    "OK" : "OK", 
    "Cancel" : "Cancel"
};


but it changes button text of all radconfirm, radalerts and radwinodws.
I want to change the button text of radconfirm only.
Please suggest some solution.
it is urgent for me.
Shinu
Top achievements
Rank 2
 answered on 27 May 2013
7 answers
283 views
Hi,

I tried using the new RadMonthYearPicker and am quite dissapointed as Telerik seems to have
created this new control and yet totally missed the point.

Is not the whole purpose of the control to select - or enter - just the month and year, and not have a
day whatsoever? 

If you setup the date format as MM/yyyy and the display format at MM/yyyy (the first thing i tried and
imho the first thing most anybody will try) - the control doesn't work at ALL!!

I've seen all these huge, extended, hard-coding, client-side, work-arounds, of users trying to make
it do just that.

While I know any date variable or database value must have a day, why don't you just add another
paramater to specify the default day value returned and make it work as expected?

Just my two sense,
Scott
Radoslav
Telerik team
 answered on 27 May 2013
2 answers
188 views
Hi All,

Here is my senario with my RadComboBox:

  1. My RCB has thee items: Item A, Item B, and Item C.
  2. I first select Item B.
  3. The OnClientSelectedIndexChanged fires.
  4. I use JS to change my RCB back to Item A, using the .set_text("Item A") method.
  5. I then change back to Item B.
  6. My event does not fire.

I reason that my event does not fire because the RCB "thinks" it has *not* changed, sense it was changed back to Item B only via code.

Any suggestions?

Thanks!

James
Top achievements
Rank 1
 answered on 27 May 2013
1 answer
116 views
We have the RadEditor being used on our SharePoint 2010 site and have a bit of an anomaly with the behaviour of it on the Wiki Pages, initially we didn't have it activated on any of the wiki pages but had a 3rd party piece of software utilise it which 'wraps' it within its own solution. The actual feature is not activated against the site collection at all but the web part of the 3rd party software has a content editor which utilises the RadEditor. So somehow it has been somewhat activated against the wiki pages of the site collection and this is interfering with some functionality that the users have been using such as the test layout etc.
We have tried activiating and deactivating the RadEditor feature(s) of the subsites where this is happening but neither seems to be able to remove the RadEditor from the wiki page in edit mode.
Is there someway to force deactivate it from a particular subsite or page?

The 3rd party product has used various versions of the RadEditor I believe and the safecontrols loaded in the web.config file are as follows:
<SafeControl Assembly="Telerik.Web.UI, Version=2011.3.1305.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="Telerik.Web.UI, Version=2011.3.1305.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI.Editor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="Telerik.Web.UI, Version=2011.3.1305.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI.Widgets" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="Telerik.Web.UI, Version=2011.3.1305.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.Design" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="Telerik.Web.UI.Skins, Version=2011.3.1305.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.2.1.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.2.1.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.FieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.2.1.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.ListFieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="Telerik.Ajax.SharePoint, Version=2011.3.1305.35, Culture=neutral, PublicKeyToken=aa9e5f693af67c7b" Namespace="Telerik.Ajax.SharePoint" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=5.6.1.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.FieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=5.6.1.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.ListFieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=5.6.1.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.0.0.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.FieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.0.0.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.ListFieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.0.0.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.1.7.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.FieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.1.7.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.ListFieldEditor" TypeName="*" Safe="True" SafeAgainstScript="False" />
      <SafeControl Assembly="RadEditorSharePoint, Version=6.1.7.0, Culture=neutral, PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint" TypeName="*" Safe="True" SafeAgainstScript="False" />
Stanimir
Telerik team
 answered on 27 May 2013
1 answer
133 views
I'm using the treeview with a right clickable context menu. What's the recommended way of doing this with an Ipad given that it doesn't support right clicking. Cheers, Chris.
Princy
Top achievements
Rank 2
 answered on 27 May 2013
1 answer
247 views
Hi,
How would you get the parent cell of RadComboBox in a OnClientDropDownClosedHandler?

This is is an ItemTemplate in a RadGrid
<telerik:RadComboBox ID="TerritoryManagerRadComboBox" runat="server" onclientdropdownclosed="OnClientDropDownClosedHandler">

 


function

 

 

OnClientDropDownClosedHandler(sender, eventArgs) {
  // here I want to get the cell object

 

 }

I 'd like to get this in javasscript and sender.Parent does not work... What is the correct synthax if any or is there another way to acheieve this? I need the cell object to modify the cell style the radcombobox is in once the selected value changed... I also trie onclientselectedindexchanged but I got the same issue - wa not sure how to get teh parent cell
Jayesh Goyani
Top achievements
Rank 2
 answered on 26 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?