Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
185 views
I am using a filter control in conjunction with a grid. The columns available in the grid change depending on user preferences. When a string column is selected in the filter control; two of the options available are 'Value Exists' and 'No Value Exists'. The expressions generated by these options are [ColumnName] != null and [ColumnName] == null. Is it possible to override this behavior such that an empty string would NOT be considered a value.

ie.
Value Exists => Any value that is not null or empty
No Value Exists => Any null or empty value.

Tristan
Top achievements
Rank 1
 answered on 02 Jul 2013
4 answers
678 views
I have some form where i am uploading the some word documetn and saving it into DB
Later i have to do some tokenization of these docuement.I currently didn't find any thing for loading editor from some file without copy pasting into the editor.
Any way i can load Word file [doc or docx] into rich text editor
kamii47
Top achievements
Rank 1
 answered on 02 Jul 2013
4 answers
367 views
Hello,
I followed the example here: http://demos.telerik.com/aspnet-ajax/controls/examples/integration/chartandtooltip/defaultcs.aspx?product=chart which uses a line chart.  works fine in my bar chart for one series, but my chart has 2 series (Sold, and Proposed)
Is it possible to have the tooltip hover to show both series for the one employee.

My chart is that I have employee names along the x axis and amounts on the y axix and each employee has 2 series (Sold and Proposed) I want to hover my mouse over the bars but show both series values.
Thanks,
Keith.
Sampath
Top achievements
Rank 1
 answered on 02 Jul 2013
1 answer
45 views
Hi,
I am using Telerik controls i.e. Ribbincontrol and  RadGrid
I would like to know,  does these controls requires JAVA or respective components for rendering or any logical flow ?
Immediate response would be really appreciated.

Thanks you very much

regards,
Pankaj Kulkarni
Shinu
Top achievements
Rank 2
 answered on 02 Jul 2013
1 answer
201 views
All -

I have an Hierarchy Grid... i want to enable horizontal scroll for a detail table inside the Master table...
I have the scroll enabled .. but if the number of column in the child grid(table) exceeds the width ... it does not show the horizontal scroll..
The vertical scroll works though..

<ClientSettings ReorderColumnsOnClient="True" AllowColumnsReorder="True">
                <Scrolling AllowScroll="True" UseStaticHeaders="True" EnableVirtualScrollPaging="True" />
</ClientSettings>

How do i go by enabling the horizontal scroll...
Princy
Top achievements
Rank 2
 answered on 02 Jul 2013
3 answers
103 views
   Static Header property is not working as expected. Please refer to attached screenshot.
Princy
Top achievements
Rank 2
 answered on 02 Jul 2013
5 answers
326 views
Hi There,

i am using Radgrid for displaying records in groups. i have set group by filed in code behind - under Initialize method in my Code(Below).i am hiding some of the columns (that i do not intend to display) in ItemDataBound method.
Now the problem is it brings an extra column in the view that i am not able to remove.i have attached the screenshot of the Radgrid for reference.

please help.
Thanks in advance.
- Neeraj

 

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="QuestionResponseTableView.ascx.cs"
    Inherits="CEB.CLC.Reporting.GenView.UserControls.QuestionResponseTableView" %>
<%@ Register Src="~/UserControls/ExportData.ascx" TagName="ExportData" TagPrefix="ucl" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<div id="expDiv" runat="server" class="text-right z-index-0">
    <ucl:ExportData EnableViewState="true" ID="edQuestionResponse" runat="server" />
</div>
<div class="clear">
</div>
<div id="dvOuter" runat="server">
    <div id="dvContent" runat="server">
        <asp:Panel ID="pnlContent" runat="server" CssClass="graphviewposition">
            <div class="tablelink" id="dvGrid" runat="server">
                <telerik:RadGrid AlternatingItemStyle-CssClass="even" ID="radGridQuestion" OnItemCreated="radGridQuestion_ItemCreated"
                    OnColumnCreated="radGridQuestion_ColumnCreated" OnItemDataBound="radGridQuestion_ItemDataBound"
                    runat="server" AutoGenerateColumns="true" GridLines="none">
                    <MasterTableView GroupsDefaultExpanded="true">
                        <GroupByExpressions>
                            <telerik:GridGroupByExpression>
                                <SelectFields>
                                </SelectFields>
                                <GroupByFields>
                                </GroupByFields>
                            </telerik:GridGroupByExpression>
                        </GroupByExpressions>
                    </MasterTableView>
                    <ClientSettings>
                        <Resizing ResizeGridOnColumnResize="false" AllowColumnResize="true" />
                    </ClientSettings>
                </telerik:RadGrid>
            </div>
        </asp:Panel>
        <div class="clear">
        </div>
    </div>
</div>

public void Initialize(IReportDataView inputData, ReportDTO report, PageInfo pageInfo)
        {
            if (!base.DisplayExportHeader)
            {
                edQuestionResponse.Visible = false;
            }
  
            //setting GroupBy field name from Resource file 
            string groupByFieldName = base.GetResxString("Col_ItemText", ComparisonViewRESX.Col_ItemText).Replace(" ", "");
  
            if (this.radGridQuestion.MasterTableView.GroupByExpressions[0].SelectFields.Count == 0)
            {
                this.radGridQuestion.MasterTableView.GroupByExpressions[0].SelectFields.Add(new GridGroupByField() { FieldName = groupByFieldName });
                this.radGridQuestion.MasterTableView.GroupByExpressions[0].GroupByFields.Add(new GridGroupByField() { FieldName = groupByFieldName, SortOrder = GridSortOrder.Ascending });
            }
  
            DataTable dtFrequencyData = inputData.GetView();
            radGridQuestion.DataSource = dtFrequencyData.DefaultView;
            radGridQuestion.DataBind();
  
            if (EnableHyperLink && report.ReportParameters.QuestionResponseViewType != CEB.CLC.Reporting.Core.Enum.ViewType.DoNotShow)
            {
                dvContent.Attributes.Add("onmouseover", "this.style.cursor='pointer'");
                dvContent.Attributes.Add("onClick", "javascript:TransferTablePath(" + DataViewId + " )");
            }
  
            edQuestionResponse.TableView = dtFrequencyData;
            edQuestionResponse.ExportDataViewStyle = DataViewStyleEnum.QuestionResponse;
  
            ViewState["FrequencyData"] = dtFrequencyData;
        }
  
protected void radGridQuestion_ItemDataBound(object sender, GridItemEventArgs e)
        {
            foreach (GridColumn column in e.Item.OwnerTableView.RenderColumns)
            {
  
                if (column.UniqueName == "ItemId")
                {
                    column.Visible = false;
                }
  
            }
            if (e.Item is GridDataItem)
            {
                GridDataItem dataItem = e.Item as GridDataItem;
                dataItem[base.GetResxString("Col_ItemText", ComparisonViewRESX.Col_ItemText)].Text = String.Empty;
            }
            else if (e.Item is GridHeaderItem)
            {
                RadGrid objGridView = sender as RadGrid;
                DataView objDataView = objGridView.DataSource as DataView;
                DataTable objDataTable = objDataView.Table;
                foreach (DataColumn col in objDataTable.Columns)
                {
                    int index = objDataTable.Columns.IndexOf(col);
                    if (e.Item.Cells[index + 3].HasControls())
                    {
                        LiteralControl columnName = (LiteralControl)e.Item.Cells[index + 3].Controls[0];
                        columnName.Text = col.Caption;
                    }
                }
            }
            else if (e.Item is GridGroupHeaderItem)
            {
                GridGroupHeaderItem item = (GridGroupHeaderItem)e.Item;
                DataRowView groupDataRow = (DataRowView)e.Item.DataItem;
                item.DataCell.Text = groupDataRow[base.GetResxString("Col_ItemText", ComparisonViewRESX.Col_ItemText)].ToString();
  
            }
  
        }
  
        protected void radGridQuestion_ColumnCreated(object sender, GridColumnCreatedEventArgs e)
        {
            if (e.Column is GridGroupSplitterColumn)
            {
                e.Column.HeaderStyle.Width = Unit.Pixel(1);
                e.Column.ItemStyle.Width = Unit.Pixel(1);
                e.Column.Resizable = false;
            }
        }
  
        protected void radGridQuestion_ItemCreated(object sender, GridItemEventArgs e)
        {
            if (e.Item is GridGroupHeaderItem)
            {
                (e.Item as GridGroupHeaderItem).Cells[0].Controls.Clear();
            }
        }
Laurie
Top achievements
Rank 2
 answered on 02 Jul 2013
2 answers
102 views
Hello Telerik Team,
to use RadToolTipManager. It display tooltip works fine. but not show small arrow pointing. I set  ShowCallout="true" in below code:
<telerik:RadToolTipManager runat="server" ID="RadToolTipManager1" Skin="Default" ShowCallout="true"
          Position="BottomRight" OffsetX="16" OffsetY="16" EnableShadow="false" Width="195" Height="135" /> 
  
It also not show UpdateProgress imag as Demo showing as attached image. We use telerik 2012.3... version dll. I use the same styles file as demo used
what should I do it can display as demo shows that small arrow pointer and updateProgree image(see attached screen)
  
Thanks.
Lili
Top achievements
Rank 1
 answered on 02 Jul 2013
2 answers
452 views
Howdy all.

I've been poking Google, trying to figure out how to get rid of the border around the RadWindow, and have come across these three threads:

Window without border
Remove the window border
Radwindow border problem

And I have my borders gone.  However, I still have a white border (of doom) along the right and bottom edges.  I'd guesstimate it's about as wide as all the missing borders for both sides.

I don't use any Embedded Skins, and I do want all windows in my project to be borderless, so perhaps that's where I've gone awry?  Any assistance would be appreciated!

I've attached an image (which I've blanked out, and highlighted the border in yellow), as well as my code/css for my window.
<style type="text/css">
    .rwCorner .rwTopLeft,
    .rwTitlebar,
    .rwCorner .rwTopRight,
    .rwIcon,
    .rwTopLeft,
    .rwTopRight,
    .rwFooterLeft,
    .rwFooterRight,
    .rwFooterCenter,
    .rwBodyLeft,
    .rwBodyRight,
    .rwTitlebar,
    .rwTopResize,
    .rwStatusbar,
    .rwStatusbar .rwLoading
    
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
</style>
 
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableEmbeddedSkins="false"
     showcontentduringload="false" Modal="false" VisibleStatusbar="false" VisibleTitlebar="false" AutoSize="true">
    <Windows>
        <telerik:RadWindow id="winInfo" runat="server" OffsetElementID="menu" Left="0" Top="0">
            <ContentTemplate>
                <div style="width: 450px; background-color: #2F385B;">
                    <!-- Stuff here -->
                </div>
            </ContentTemplate>
        </telerik:RadWindow>
    </Windows>
</telerik:RadWindowManager>




Amanda
Top achievements
Rank 1
Iron
 answered on 01 Jul 2013
7 answers
403 views
Hi

I have two list boxes on my Page.
When the page loads depending on the type of user, an item from the left listbox is transferred to the right listbox.
The user can then transfer anything else from left to right.

If an option is changed on the page, everything from the right needs to be transferred back to the left.

I copied the example and have listboxes on my page like this:
<telerik:RadListBox runat="server" ID="lstLeft" Height="200px" Width="200px" AllowTransfer="true" TransferToID="lstRight"/>
<telerik:RadListBox runat="server" ID="lstRight" Height="200px" Width="200px" />

Transferring initially from left to right woks fine using this:
lstLeft.Transfer(listItem , lstLeft, lstRight);

If I try it the other way round (to transfer back to the left) :
lstRight.Transfer(listItem, lstRight, lstLeft);

I get the following error:
Specified argument was out of the range of valid values.
Parameter name: sourceListBox 


If I add AllowTransfer="true" TransferToID="lstLeft" to the right hand textbox the transfer works, but I get the transfer buttons to the right of the right list box as well as in between.

What do I need to do to get this to work correctly?

Bex


Terry Hoiness
Top achievements
Rank 1
 answered on 01 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?