Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
115 views
We're trying to move away from using image icons in our application by displaying them with CSS Sprites instead. We've been able to do this pretty successfully in some of the other telerik controls, but can't find a way to replicate the imageurl property of the radtab. Using the cssclass property doesn't work with the tab styling and telerik's sprites.

Is there any way to do this?
Kate
Telerik team
 answered on 24 Feb 2012
3 answers
90 views
Hello,

I have already use RadGrid in the past and I don't remember that I had such complications, but right in my application, I have checked 'Enable Sorting', 'Enable Filtering', 'Enable Sorting'

and non of these functionnalities appears.

alse, I wanted to remove the "<CommandItemSettings ExportToPdfText="Export to PDF"/>" line as it doesn't make any sense here, but the line has reappeared I don't know why.

My Grid's code:

<telerik:RadGrid ID="OrderDetail_RadGrid" runat="server" AllowFilteringByColumn="True" AllowSorting="True" CellSpacing="0"
GridLines="None" AutoGenerateColumns="False" DataSourceID="TemporaryOnlineOrdersLines_SqlDataSource">
    <ClientSettings AllowColumnsReorder="True">
        <Scrolling AllowScroll="True" UseStaticHeaders="True" />
    </ClientSettings>
    <MasterTableView AllowFilteringByColumn="False" AllowSorting="False" DataSourceID="TemporaryOnlineOrdersLines_SqlDataSource">
    <CommandItemSettings ExportToPdfText="Export to PDF"/>
    <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
        <HeaderStyle Width="20px"/>
    </RowIndicatorColumn>
    <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
        <HeaderStyle Width="20px"/>
    </ExpandCollapseColumn>
    <Columns>
        <telerik:GridBoundColumn DataField="p_Name" FilterControlAltText="Product"
            UniqueName="Product" HeaderText="Product"/>
        <%--<telerik:GridBoundColumn DataField="p_Description" FilterControlAltText="Description" UniqueName="p_Description" HeaderText="Description"/>--%>
        <telerik:GridNumericColumn DataField="tool_Quantity" DecimalDigits="2" FilterControlAltText="Quanity" HeaderText="Qantity"/>
        <telerik:GridBoundColumn DataField="unit_Name"  FilterControlAltText="Unit" UniqueName="unit_Name"  HeaderText="Unit"/>
        <telerik:GridButtonColumn FilterControlAltText="Filter column column" UniqueName="Remove"/>
    </Columns>
 
    <EditFormSettings>
        <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
    </EditFormSettings>
</MasterTableView>
 
<FilterMenu EnableImageSprites="false"></FilterMenu>
</telerik:RadGrid>
Pavlina
Telerik team
 answered on 24 Feb 2012
1 answer
93 views
Hi,

I have RadEditor 6.5.0.0 control and I want to use RadSpell control. I am very much aware that I cannot use RadSpell 3.1.0.0 for our version of RadEditor.

Could anyone please guide me what is the compatible version of Radspell for RadEditor 6.5.0.0. And as it is an outdated one, from where can I download the same?

Any help on this, much appreciated.

Thanks
Rumen
Telerik team
 answered on 24 Feb 2012
1 answer
129 views

How to Disable the back button.Even i got some javascript from google i cant go back to the previous page but my current page is loaded freshly,my previous actions are gone.... How should i retain current values while disable the back button? Example if i select any values in dropdown....Its urgent Please

 

Marin Bratanov
Telerik team
 answered on 24 Feb 2012
2 answers
100 views
I have the sharepoint list items as the datasource to the grid and I am using linq for the same. Now that I need to group the grid data based on a field value which is a lookup field value in that list. Every time I do that, it says, Field LookUPList.FieldValue not found in the source table. Please check the expression syntax.

Can you please guide me through this? Thank you.
Suganya
Top achievements
Rank 1
 answered on 24 Feb 2012
1 answer
144 views
Hi

I have a problem in the radeditor when I use the image property dialog in IE. When I have the property

ToolbarMode="ShowOnFocus"

from the radEditor and I try to right click on an image to change it I get this:

1. The properties window
2. Image Manager

When I close the Image Manager the toolbar seems to gain focus lettiing the properties dialog behind http://screencast.com/t/ne9kXhrLK
In this video I show you exactly the problem that I'm having: http://screencast.com/t/2XaQzn5T

Is this expected?
How can I fix this?

Thanks in advance.
Rumen
Telerik team
 answered on 24 Feb 2012
3 answers
65 views
Hi,
I would really need to make the timeline view to group by quarters, Q1, Q2, Q3, Q4.
Is it possible to specify different number of duration in the four slots?
Cause the Q1 is 90 days (jan 1 to mar 31), Q2 is 91 days (apr 1 to jun 30) and so on.

/Mattias

Peter
Telerik team
 answered on 24 Feb 2012
1 answer
57 views
RadTextBox Width not works when i upgrade to version 2012.1.215 and use RadFormDecorator.

I read in Q1 2012 (version 2012.1.215):
Breaking Changes
  • Improved: RadFormDecorator default text input width set to 160 pixels (when width is not exlicitly specified) in order to unify the input width of the different Telerik input controls

Height seems to work...

Milena
Telerik team
 answered on 24 Feb 2012
1 answer
215 views
We have been trying to get the RadGrid to allow horizontal scrolling (if the width of the columns exceeds our grid width), but make the height auto adjust to the number of rows that are contained within it.

We are generating the Grid dynamically like so...

var telerikGrid = new RadGrid
{
    ID = "RadGrid1",
    DataSource = request.dataTable,
    AllowSorting = true,
    AllowPaging = true,
    Width = Unit.Pixel(980),
    AutoGenerateColumns = true,
    GridLines = GridLines.Both,
    Skin = ddlStyle.SelectedValue ?? "Black"
};
//telerikGrid.MasterTableView.TableLayout = GridTableLayout.Fixed;
//Scrolling
telerikGrid.ClientSettings.Scrolling.AllowScroll = true;
//telerikGrid.ClientSettings.Scrolling.SaveScrollPosition = true;
telerikGrid.ClientSettings.Scrolling.UseStaticHeaders = true;
telerikGrid.ClientSettings.Selecting.AllowRowSelect = true;
telerikGrid.ClientSettings.Scrolling.FrozenColumnsCount = 1;
//telerikGrid.ClientSettings.Scrolling.ScrollHeight = Unit.Percentage(100);
telerikGrid.MasterTableView.VirtualItemCount = request.dataTable.Rows.Count;
//telerikGrid.ClientSettings.Scrolling.ScrollHeight = Unit.Percentage()
//Resizing
telerikGrid.ClientSettings.Resizing.AllowColumnResize = true;
//Reordering
telerikGrid.ClientSettings.AllowColumnsReorder = true;
//Export
telerikGrid.MasterTableView.CommandItemSettings.ShowExportToExcelButton = true;
telerikGrid.MasterTableView.Visible = true;
telerikGrid.MasterTableView.CommandItemDisplay = GridCommandItemDisplay.Top;
 
telerikGrid.PagerStyle.Mode = GridPagerMode.NextPrevAndNumeric;

If we set the AllowScroll  property to false, then the vertical scrolling acts appropriately, but we then don't get the horizontal scrolling that is required.

Pavlina
Telerik team
 answered on 24 Feb 2012
4 answers
243 views

I have a problem with Date Filter.

This is my Radgrid



When I filter wiht 15/02/2012 --> does not return nothing.
I need SHOW DATE + HOUR, is important!
.. I try this


  protected void ActivityLog_ItemCommand(object sender, GridCommandEventArgs e)
         {
             if (e.CommandName == RadGrid.FilterCommandName)
             {
                 Pair filterPair = e.CommandArgument as Pair;
                 string columnName = Convert.ToString(filterPair.Second);
                 if (columnName == "Date")
                 {
                     e.Canceled = true;

                     string date =
                         ((RadDatePicker)((GridFilteringItem)e.Item)[Convert.ToString(filterPair.Second)].Controls[0])
                             .SelectedDate.ToString();
                     DateTime startDate = Convert.ToDateTime(date).AddDays(-1);
                     DateTime endDate = startDate.AddDays(2);
                     string newFilter = "('" + startDate.ToString("MM/dd/yyyy") + "' < [Date] AND [Date] < '" + endDate.ToString("MM/dd/yyyy") + "')";

                     GridBoundColumn dateColumn = (GridBoundColumn)e.Item.OwnerTableView.GetColumnSafe(columnName);
                     dateColumn.CurrentFilterValue = Convert.ToDateTime(date).ToString("MM/dd/yyyy");
                     ActivityLogGrid.MasterTableView.FilterExpression = newFilter;
                     ActivityLogGrid.Rebind();
                 }

             }

         }

But ReBind does not work.

I use:
- AutogenerateColumns = true
and NeedSource events.


regards

July
Top achievements
Rank 2
 answered on 24 Feb 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?