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

Hi,

I use RadComboBox all over my website.  However, I'm now on the 2015 version, Q3, and the RadComboBox works great for the first couple of attempts.  But when you click it again, and drag down, sometimes the mouse is 3 higher than the highlighted option in the combo box. It's hard to show a screenshot, but I'd be grateful if somebody could provide some assistance, or ways to fix this. 

Magdalena
Telerik team
 answered on 24 Nov 2015
1 answer
107 views
Will there be Excel like Cell Borders with multiple weights? If so, what perfromance/time do you expect that a border could be applied to a range eg. 1000 cells x Left Border?
Bozhidar
Telerik team
 answered on 24 Nov 2015
15 answers
447 views
I have a grid that is set up for paging with only 5 records displayed per page. When an item is queried in Firefox it takes no time at all to pull up however when a query is done in IE, it takes forever. I've tried it in both IE7 and IE8 with the same results in both. Because it's doing this on my machine and the rest of the users...I can only assume it's a conflict with the control and the browser.

Any help would be greatly appreciated!
Konstantin Dikov
Telerik team
 answered on 24 Nov 2015
1 answer
261 views
Hi,
I updated the latest version of Telerik ASP NET AJAX (Q3 2015.3.1111.40) but now I have problems because it does not recognize "jquery", the browser shows me "Uncaught ReferenceError: $ is not defined". Every time there is a new version of Telerik always update my application references. Until version "Q3 2015.3.930.40" I have not had this kind of problem but now with the latest version of Telerik have this big problem.

I appreciate a prompt response.

Thank you
Ianko
Telerik team
 answered on 24 Nov 2015
1 answer
111 views

Hi Telerik Team,

We are using RadDialogOpener to open DocumentManager and ImageManager. In the *manager popup window,when you select a file, there have "css class" property on the right side. We can add css class if we use editor to open these two managers. Can we add css classes if we use RadDialogOpener control to open? You can see the attachment for detailed information.

 Thanks,

Lan

 
Ianko
Telerik team
 answered on 24 Nov 2015
1 answer
74 views
I am using the edmx way of entity frame work and I have a issue I want to be able to display the name of a related table instead of its value in the main column below is how I am declaring my grid and I do have a froreign key assocation as setup on db end
    <asp:ScriptManager ID="sptgrdSoccerPlayers" runat="server"></asp:ScriptManager>
     
    <telerik:RadGrid ID="grdSystemEmails" RenderMode="Auto" runat="server" AutoGenerateColumns="False"    GroupPanelPosition="Top" AutoGenerateDeleteColumn="True" AutoGenerateEditColumn="True" OnItemCommand="RadGrid1_ItemCommand" CellSpacing="-1" GridLines="Both" AllowAutomaticDeletes="True" DataSourceID="entyEmails">
        
        <MasterTableView  DataKeyNames="id" DataSourceID="entyEmails"  EditMode ="PopUp" >    
                <Columns>
                <telerik:GridBoundColumn DataField="id" DataType="System.Guid" FilterControlAltText="Filter id column" HeaderText="id" ReadOnly="True" SortExpression="id" UniqueName="id">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="name" FilterControlAltText="Filter name column" HeaderText="name" SortExpression="name" UniqueName="name">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="subject" FilterControlAltText="Filter subject column" HeaderText="Subject" SortExpression="subject" UniqueName="subject">
                </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="authCreatedDate" DataType="System.DateTime" FilterControlAltText="Filter authCreatedDate column" HeaderText="authCreatedDate" SortExpression="authCreatedDate" UniqueName="authCreatedDate">
                </telerik:GridBoundColumn>
                     <telerik:GridCheckBoxColumn DataField="isActive" DataType="System.Boolean" FilterControlAltText="Filter isActive column" HeaderText="isActive" SortExpression="isActive" UniqueName="isActive">
                </telerik:GridCheckBoxColumn >
                     
                     
            </Columns>
        </MasterTableView>
 
<FilterMenu RenderMode="Auto"></FilterMenu>
 
<HeaderContextMenu RenderMode="Auto"></HeaderContextMenu>
    </telerik:RadGrid>
    <asp:EntityDataSource ID="entyEmails" runat="server" ConnectionString="name=soccerEntities" DefaultContainerName="soccerEntities" EnableFlattening="False" EntitySetName="systemEmails" ></asp:EntityDataSource>

 

 

This is the screen shot of the  edmx file showing the assocation So what I want to show is the value in the  email type description value in my grid instead of its guid.

 

 

Konstantin Dikov
Telerik team
 answered on 24 Nov 2015
0 answers
100 views

Radcombobox does not load data custom use control. Every time user control loads the rad combo box does not loads the data. Is it possible to load the rad combobox used on custom user control ?

 

CreatefolderUC.ascx.cs

 

public partial class CreateFolderUC : System.Web.UI.UserControl
{
    protected void RadComboBox1_ItemsRequested(object o, Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs e)
    {
        GetGroupList();
    }

}

 

 

 CreatefolderUC.ascx

            <telerik:RadComboBox ID="RadComboBox1" Runat="server" Width="200px" CheckBoxes="True" 
                OnItemsRequested="RadComboBox1_ItemsRequested" EnableCheckAllItemsCheckBox="True"  Localization-CheckAllString="All" 
                EmptyMessage="--Select--" CheckedItemsTexts="DisplayAllInInput">
            </telerik:RadComboBox>

pavan
Top achievements
Rank 1
 asked on 24 Nov 2015
2 answers
194 views
Hi,

My other grids are working fine - but this one doesn't display any skin whatsoever, even if I change the skin.  Please see attached images illustrating the problem.

Code is below;  please help.

<telerik:RadGrid ID="grdEmail" runat="server" AllowFilteringByColumn="True" EnableAjaxSkinRendering="true" AllowPaging="True" Width="900px" AllowSorting="True" AutoGenerateColumns="False" GridLines="None" onitemcommand="grdEmail_ItemCommand" onneeddatasource="grdEmail_NeedDataSource">
  <MasterTableView>
    <RowIndicatorColumn>
      <HeaderStyle Width="20px"></HeaderStyle>
  </RowIndicatorColumn>
  <ExpandCollapseColumn>
    <HeaderStyle Width="20px"></HeaderStyle>
  </ExpandCollapseColumn>
  <Columns>
    <telerik:GridBoundColumn HeaderText="Service No." UniqueName="serviceNumber" DataField="serviceNumber">
   </telerik:GridBoundColumn>
 etc...
  </Columns>
</MasterTableView>
</telerik:RadGrid>


Kind regards,
James
Hugo
Top achievements
Rank 1
 answered on 24 Nov 2015
2 answers
54 views

I want to edit the value of field coming from ObjectDataSource. 
My sample code of aspx page:

<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="SrchOrder"
    TypeName="ClsOrder">
    <SelectParameters>
        <asp:ControlParameter ControlID="Order Number" Name="order_id" PropertyName="Text" Type="String" />
        <asp:ControlParameter ControlID="Seller" Name="seller_name" PropertyName="Text" Type="String" />                           
    </SelectParameters>
</asp:ObjectDataSource>
 
<telerik:RadGrid ID="radGrid_srch_order"
    runat="server"
    PageSize="100"
    AllowSorting="false"
    AllowPaging="false"
    ShowFooter="false"
    ShowGroupPanel="false"
    HeaderStyle-HorizontalAlign="Center"
    HeaderStyle-Font-Bold="true"
    AutoGenerateColumns="false"                           
    DataSourceID="ObjectDataSource1">
    <MasterTableView AllowFilteringByColumn="False" AutoGenerateColumns="false" TableLayout="Auto">
       <Columns>
            <telerik:GridBoundColumn DataField="order_dt" AutoPostBackOnFilter="false" ItemStyle-HorizontalAlign="Center" HeaderText="Order Date" SortExpression="order_dt" AllowFiltering="false" UniqueName="order_dt" />   
            <telerik:GridBoundColumn DataField="seller_first_name" ItemStyle-HorizontalAlign="Center" HeaderText="seller First Name" SortExpression="seller_first_name" AllowFiltering="false" UniqueName="seller_first_name"  />     
            <telerik:GridBoundColumn DataField="seller_last_name" ItemStyle-HorizontalAlign="Center" HeaderText="seller Last Name" SortExpression="seller_last_name" AllowFiltering="false" UniqueName="seller_last_name" />
            <telerik:GridBoundColumn DataField="status" ItemStyle-HorizontalAlign="Center" HeaderText="Status" SortExpression="status" AllowFiltering="false" UniqueName="status" />
       </Columns>
    </MasterTableView>
</telerik:RadGrid>
 My code behind: 

protected void btnSearch_Click(object sender, EventArgs e)
    {       
         radGrid_srch_order.DataBind();
    }

The value of the field "status" that comes from database are {1, 2, 3, 4} where
1 desc undelivered
2 desc delivered
3 desc paid
4 desc unpaid
How can I show the desc of the status code in GridBoundColumn. I know it can be done from sql query but how can I do it using telerik?

Hadoop
Top achievements
Rank 1
 answered on 23 Nov 2015
23 answers
1.2K+ views
Hi,

I have a grid which has a mixture of fixed header widths and others as follows:

            <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" OnItemDataBound="RadGrid1_ItemDataBound" 
                GridLines="None" OnNeedDataSource="RadGrid1_NeedDataSource" AllowSorting="True" 
                ShowGroupPanel="True" Height="100%" Width="100%" AccessKey="G" AllowPaging="True" 
                PageSize="5" ShowStatusBar="True" EnableLinqExpressions="False" OnPreRender="RadGrid1_PreRender">  
                <ExportSettings IgnorePaging="true" OpenInNewWindow="true">  
                    <Pdf AllowAdd="false" AllowCopy="true" AllowModify="true" AllowPrinting="true" Author="Anonymous" 
                        Keywords="None" PageBottomMargin="1in" PageLeftMargin="1in" PageRightMargin="1in" 
                        PageTopMargin="1in" PageTitle="RadGrid export document" Subject="RadGrid Export" 
                        Title="RadGrid export" /> 
                </ExportSettings> 
                <ClientSettings ReorderColumnsOnClient="True" AllowDragToGroup="True" AllowColumnsReorder="True" 
                    EnableRowHoverStyle="True" AllowGroupExpandCollapse="False">  
                    <Selecting AllowRowSelect="True" EnableDragToSelectRows="False" /> 
                    <ClientEvents OnRowContextMenu="RadGrid1_OnRowContextMenuHandler" OnRowDblClick="RadGrid1_OnRowDblClickHandler" 
                        OnGridCreated="RadGrid1_OnGridCreated" /> 
                    <Scrolling AllowScroll="True" UseStaticHeaders="True" /> 
                    <Resizing AllowColumnResize="True" /> 
                </ClientSettings> 
                <HeaderContextMenu EnableTheming="True">  
                    <CollapseAnimation Duration="200" Type="OutQuint" /> 
                </HeaderContextMenu> 
                <GroupPanel ID="GroupPanel" Style="width: 100%;">  
                </GroupPanel> 
                <PagerStyle AlwaysVisible="True" Mode="NextPrevAndNumeric" /> 
                <MasterTableView ClientDataKeyNames="ID,IsLocked,IsLockedByMe,CurrentWorkflowActivityName,CurrentWorkFlowActivityTypeID,IsReferenced" 
                    DataKeyNames="ID,IsLocked,LockedById,UserAction,UserActionDescription,UserActionType,IsActionedByMe,IsReadByMe,InForce,ActionedByMeOn,ExpiryDate,InRedraft,ActionByDate,ActualExpiryDate,StateTypeID,ApprovalComment,ApproveByDate,Status,Approved,ReviewByDate,ReviewComment,Reviewed,IsOrphaned" 
                    RetrieveAllDataFields="False" Width="100%" GridLines="None">  
                    <Columns> 
                        <telerik:GridButtonColumn ButtonType="ImageButton" Resizable="False" ShowSortIcon="False" 
                            UniqueName="Icon">  
                            <HeaderStyle Width="18px" /> 
                            <ItemStyle Wrap="False" /> 
                        </telerik:GridButtonColumn> 
                        <telerik:GridBoundColumn DataField="Name" HeaderText="Subject" DataFormatString="<nobr>{0}</nobr>" 
                            UniqueName="Name">  
                            <HeaderStyle Width="190px" /> 
                            <ItemStyle Wrap="False" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="DocRef" HeaderText="Reference" DataFormatString="<nobr>{0}</nobr>" 
                            UniqueName="DocRef">  
                            <HeaderStyle Width="170px" /> 
                            <ItemStyle Wrap="False" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="Version" HeaderText="Version" DataFormatString="<nobr>{0}</nobr>" 
                            UniqueName="Version">  
                            <HeaderStyle Width="45px" /> 
                            <ItemStyle Wrap="False" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="EditorName" HeaderText="Editor" DataFormatString="<nobr>{0}</nobr>" 
                            UniqueName="Editor">  
                            <ItemStyle Wrap="False" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="Owner" HeaderText="Owner" DataFormatString="<nobr>{0}</nobr>" 
                            UniqueName="Owner">  
                            <ItemStyle Wrap="False" /> 
                            <HeaderStyle Width="160px" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="Status" HeaderText="State" DataFormatString="<nobr>{0}</nobr>" 
                            UniqueName="Status">  
                            <ItemStyle Wrap="False" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="InForce" HeaderText="Published" DataFormatString="<nobr>{0:d}</nobr>" 
                            UniqueName="InForce" Visible="false">  
                            <ItemStyle Wrap="False" /> 
                            <HeaderStyle Width="100px" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="ExpiryDate" HeaderText="Expiry" DataFormatString="<nobr>{0:d}</nobr>" 
                            UniqueName="Expiry" Visible="false">  
                            <HeaderStyle Width="100px" /> 
                            <ItemStyle Wrap="False" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="UserActionDescription" HeaderText="Action" DataFormatString="<nobr>{0}</nobr>" 
                            UniqueName="Action">  
                            <ItemStyle Wrap="False" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="Rank" HeaderText="Rank" UniqueName="Rank" Visible="False">  
                            <HeaderStyle Width="20px" /> 
                            <ItemStyle Wrap="False" /> 
                        </telerik:GridBoundColumn> 
                    </Columns> 
                    <SortExpressions> 
                        <telerik:GridSortExpression FieldName="Name" SortOrder="Ascending" /> 
                    </SortExpressions> 
                </MasterTableView> 
                <FilterMenu EnableTheming="True">  
                    <CollapseAnimation Duration="200" Type="OutQuint" /> 
                </FilterMenu> 
            </telerik:RadGrid> 

Now when the grid is populated with data that means that a row is wider than the container a horizontal scroll bar is added. When the scroll bar is scrolled over to the right to see the rest of the row, the column headers do not scroll with the data.
jjroman
Top achievements
Rank 2
 answered on 23 Nov 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?