Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
139 views
Hi,

I trying to enabled KeyboardNavigation, KeyboadShortcuts and AllowSubmitOnEnter, but nothing fired event. 

My settings :

<ClientSettings AllowKeyboardNavigation="true">
    <Selecting AllowRowSelect="true"></Selecting>
    <KeyboardNavigationSettings EnableKeyboardShortcuts="true" AllowSubmitOnEnter="true" AllowActiveRowCycle="true"></KeyboardNavigationSettings>
</ClientSettings>


Surprise, this demo don't work too!
http://demos.telerik.com/aspnet-ajax/grid/examples/client/keyboardnavigation/defaultcs.aspx

I use Chrome and IE11, both don't work for my grid and demo site :
The keyboard navigation feature of Telerik RadGrid allows you to: 
  • Focus the grid through a user-specified key combination
  • Navigate through the grid records using the [UP/DOWN] arrow keys from the keyboard
  • Advance/return the pager through the [PAGE UP]/[PAGE DOWN] key
  • Select grid items pressing the [SPACE] key
  • Select multiple grid item using the [CTRL] and [SHIFT] keys
  • Insert a new item by hitting [CTRL] and [I] keys
  • Edit rows upon hitting the [ENTER] key
  • Update/insert rows upon hitting the [ENTER] key
  • Exit EDIT/INSERT mode upon hitting the [ESC] key
  • Expand/Collapse detail tables using the [Left Arrow] and [Right Arrow] keys

Help please.

Eyup
Telerik team
 answered on 03 Feb 2016
4 answers
260 views
When using the 'Insert Symbol' drop-down in the RadEditor, some of the symbols display as symbols in HTML mode rather than as HTML code.  For example, after inserting an angle in Design mode I see an angle symbol and in HTML mode I see the corresponding HTML &ang;.  However, after inserting a triangle the triangle symbol is shown in both Design and HTML modes.  If I manually enter the equivalent Unicode (&#9651;) in HTML mode, switch to Design mode and then back to HTML mode the Unicode is replaced with the actual symbol.  Note, if I manually enter the Unicode for the angle (&#8736) in HTML mode, switch to Design mode and then back to HTML mode the Unicode is replaced with the corresponding HTML code (&ang).

Could someone provide insight as to why this is happening, and any suggestions for how to work around this issue? 

Please let me know if any additional information is needed, thank you!!
Adam
Top achievements
Rank 1
 answered on 03 Feb 2016
14 answers
294 views
Hello,
        
         I am using telerik rad grid. I want to have one more radgrid inside Radgrid MAstertableview edit form.

Inside grid is having Boundcolumn,Templatecolumn containing label as item template and combobox as edit item template.
Now how to do add, edit delete operation to inside radgrid.
I searched lot of articles. But didnt find example like this scenario.
Please help me.



Regards,
Soumya,
Bangalore.


MV
Top achievements
Rank 1
 answered on 03 Feb 2016
1 answer
77 views

Hello Team,

I am using a Rad Grid. that seems working perfect in my desktop, whereas it is not showing refresh button in mobile view.

Code:

<CommandItemStyle HorizontalAlign="Right" />
<CommandItemSettings RefreshImageUrl="../Images/Refresh_Icon.png" RefreshText="" ShowRefreshButton="true" />

Please find attachment to see the results.

In desktop view it is creating anchor tag for refresh button. But the same button is missing in mobile view.

Kindly advice to get refresh button in devices of all resolutions.

Thanks and Regards,

Ruchi Patel

Pavlina
Telerik team
 answered on 02 Feb 2016
1 answer
63 views
It generates incorrect render with this configuration, but works if I rearrange the AjaxSetting. 

 

<div>
        <table style="width:100%" border="1">
            <tr>
                <td>                  
                     <asp:Button ID="btnIgnore" runat="server" Text="Test" />    
                </td>
            </tr>
 
            <tbody id="tblNeededYes" runat="server">
                <tr>
                    <td>
                        <asp:Button ID="btnAdd" runat="server" Text="Add"  />    
                    </td>
                </tr>
                <tr>
                    <td>
                        <telerik:RadGrid id="RadGridGifts" runat="server">
                            <MasterTableView CommandItemDisplay="None" AutoGenerateColumns="false">
                                <Columns>
                                    <telerik:GridBoundColumn HeaderText="Item Description" UniqueName="ItemDescription" DataField="ItemDescription"></telerik:GridBoundColumn>
                                </Columns>
                            </MasterTableView>
                        </telerik:RadGrid>                        
                    </td>
                </tr>
            </tbody>           
        </table>
     </div>
 
    <!-- This only works if we put btnIgnore AjaxSetting below the btnAdd -->
 
      <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="btnIgnore">
                <UpdatedControls>                   
                    <telerik:AjaxUpdatedControl ControlID="tblNeededYes" />                   
                </UpdatedControls>
            </telerik:AjaxSetting>
 
            <telerik:AjaxSetting AjaxControlID="btnAdd">
                <UpdatedControls>                   
                    <telerik:AjaxUpdatedControl ControlID="RadGridGifts" />
                </UpdatedControls>   
           </telerik:AjaxSetting
 
        </AjaxSettings>       
    </telerik:RadAjaxManager>
Maria Ilieva
Telerik team
 answered on 02 Feb 2016
1 answer
145 views

Hi All,

 

I Have a nested gridview with HierarchyLoadMode="Server Binding"  (think an Purchase Order / Lines).

Within the Lines grid view I have a link button in a template column:

    <telerik:GridTemplateColumn UniqueName="PO_Num" HeaderText="PO #" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" SortExpression="PO_Num">
                                    <ItemTemplate>
                                        <asp:LinkButton runat="server" ID="lbPO" CommandArgument='<%#Eval("PO_Num").ToString() %>' OnClick="lbPO_Click" Text='<%#Eval("PO_Num").ToString()%>' ToolTip="View invoices for this PO." />
                                    </ItemTemplate>
                                </telerik:GridTemplateColumn>

 

When this button is clicked it pulls data and binds it to a completely separate grid.  

 My issue is with the loading panel.  When the link button first becomes visible, if I click on the link button the loading panel will not show, even though I'm dynamically adding the control to the rad ajax manager (I've tried on both the pre_render and ItemDataBound events).  The button still works as though it's ajaxed, but it's not being fired though the OnRequestStart.  If another control that is also ajaxed gets fired (say a dropdownlist on the page), the link button will then work as expected . . . going through the OnRequestStart and showing the loading panel.

 

 Looking for suggestions / work arounds.

 My Parent Grid databinding to the child grid:

protected void rgPurchaseOrder_ItemCommand(object sender, GridCommandEventArgs e)
{
    if (e.CommandName == RadGrid.ExpandCollapseCommandName)
    {
        GridDataItem parentItem = e.Item as GridDataItem;
        RadGrid rgLines = parentItem.ChildItem.FindControl("rgLines") as RadGrid;
 
        if (!e.Item.Expanded)
        {
             
            rgLines.Visible = true;
            rgLines.Rebind();
 
            if (parentItem.ItemType == GridItemType.AlternatingItem)
                //e7ffe5
                parentItem.ChildItem.BackColor = System.Drawing.Color.FromArgb(231, 255, 229);
 
        }
        else
        {
            rgLines.Visible = false;
        }
        rgLines.MasterTableView.Rebind();
    }
 
 
}

 

 My Lines PreRender . . . 

protected void rgLines_PreRender(object sender, EventArgs e)
   {
       foreach (GridNestedViewItem item in rgPurchaseOrder.MasterTableView.GetItems(GridItemType.NestedView))
       {                  
           GridDataItem grandParentItem = (GridDataItem)item.ParentItem;
           RadGrid rgLines = grandParentItem.ChildItem.FindControl("rgLines") as RadGrid;
 
           if (rgLines!= null)
           {
               foreach (GridDataItem childItem in rgLines.MasterTableView.Items)
               {
  
                      LinkButton btn = (LinkButton)childItem["PO"].FindControl("lbPO");
    //wires up to an asp:panel . . . doesn't matter if I point at the rad grid directly or not, loading panel won't show.
    RadAjaxManager.GetCurrent(this.Page).AjaxSettings.AddAjaxSetting(btn, pnlInvoices, RadAjaxLoadingPanel2);
             }
 
 
 
          }
  
    }
 
 
}

 

aspx (just showing generic layout).

 

 <radgrid ID = "rgPurchaseOrder">

<master table view>

<columns>

  </Columns>
                            <NestedViewTemplate>

<radgrid ID="rgLines" >

</radgrid>

</master table view>

</radgrid>

 

 

<asp:panel id="pnlInvoices">

<radGrid id="rgInvoices">

</radGrid>

</asp:panel>

Maria Ilieva
Telerik team
 answered on 02 Feb 2016
1 answer
79 views

Hi,

Rad Grid has 100 records when we click on image button(update command) for any records on RadGrid nothing is happening expected it should be post back.

 

Note: It is working in local system and Test Server but not working for Production Server. This issue is only for IE 11 browser.

 

Kindly suggest how to fix this issue.

 

 

Pavlina
Telerik team
 answered on 02 Feb 2016
6 answers
281 views
I used RadGrid  Export to Pdf and open the PDF file,but need the password,why?
code:

  protected void ToPdf_Click(object sender, ImageClickEventArgs e)
        {
            gvStudent.PageSize = 50;
            gvStudent.ExportSettings.IgnorePaging = true;
            gvStudent.ExportSettings.OpenInNewWindow = true;
            gvStudent.MasterTableView.ExportToPdf();
        }
 
Daniel
Telerik team
 answered on 02 Feb 2016
1 answer
109 views

 I want to create a scrolling dashboard with individual agent performance per record:

I would like to have the records in a grid automatically scroll at a variable rate (speed to be adjusted accordingly),

highlighting each record (one at a time) as it scrolls down (or up), and this would be looped to run continuously.

Can I accomplish this with the Grid control? Or, are their any other controls that can do this?

 

Maria Ilieva
Telerik team
 answered on 02 Feb 2016
8 answers
1.2K+ views
Hello
I got a Radgrid
I have a textbox within the FormTemplate
and i want to disable the textbox but only in editmode not in insertmode

i use this code:
   If e.Item.IsInEditMode Then
      Dim item As GridEditFormItem = DirectCast(e.Item, GridEditFormItem)
      Dim txt As TextBox = (TryCast(item.FindControl("txt"), TextBox))
      txt.Enabled = False
    End If

can somebody help me please

thanks
Eyup
Telerik team
 answered on 02 Feb 2016
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?