Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
96 views
In Firefox / Safari / Chrome (all non IE browsers), IF we have the new Comments feature enabled, it will bypass the Browser Context Menus and only show the Commenting feature.

In IE, all RADeditor, and Browser Content Menu's appear. I understand this is not possible to duplicate on Firefox and Safari, but I would still like the ability to correct spelling errors by allowing the default browser context menu for Firefox/Safari/Chrome.

Is there a way we can enable the default browser content menu for the other non IE browser, but still retain the RADEditor context menu for other elements (like right clicking images, tables, links, etc...)?

Nikolay
Telerik team
 answered on 15 Nov 2012
4 answers
81 views
Hello,

we use the RadGrid and translate it via ressource files. Strangely not all texts are translated, most of the times the header right-click menu (for grouping, hide columns etc.) is translated but the filter strings (contains, between, equal etc.) are not. Those texts are taken from the default ressource file instead. Even more strange: for one of our grid instances those filter texts are translated...

Anything we might be missing?

Regards
Chris
Pavlina
Telerik team
 answered on 15 Nov 2012
3 answers
434 views
Good day,

we have a working radgrid that shows an unusual behavior.
The grid works as expected, but after entering editmode, pressing the enter key alone will display the default radgrid filter menu, on the top left corner of the containing div (where there's no grid columns)

We've noticed that this seems related to control focus: after sorting the grid with a column header click, pressing enter after edit mode, will exit edit mode as expected, without displaying the default filter menu, and updating the record.

We'd like to know where and how this filter menu enter key is listened to, especially since we have a different grid, where this does not happen (it's in a page with a form view, while the troublesome one is just a grid).

Do note that we've successfully 'solved' this by intercepting the FilterMenuShowing event, but we believe there's a behavior problem that we'd like to pinpoint.

Thanks.
Eyup
Telerik team
 answered on 15 Nov 2012
1 answer
75 views
Could anyone tell me which Telerik control is used for the pull-down 'Show Cart Info' box on this page please?

http://demos.telerik.com/aspnet-ajax/ecommercestore/categoryview.aspx?Category=26234

Is it the menu control?

Thanks.
Ivan Zhekov
Telerik team
 answered on 15 Nov 2012
1 answer
68 views
I have no idea how to even describe this so I'm attaching a screen shot.  

For the most part I've had no problem positioning Rad controls since they're either virtually the only item on the screen (i.e. RadGrid) or I've put them in a table.  

But by themselves on a template or a blank screen they seem to be accompanied by a 'blue box', and if I try to re-position them I sometimes get negative x-y values.  (And the blue box itself doesn't seem to do anything...)

Could there be a problem with my Visual Studio 2012 setup?
Slav
Telerik team
 answered on 15 Nov 2012
1 answer
121 views
Hi,
I've two RadButton in my page, the first button using async postback to rebind a RadGrid and enable the second radButton.

I've used RadAjaxManager to do this, when press the button, radgrid and radbutton are updated as well, but the second button starts to do async postback..

How can i solve it?
Thanks

Maria Ilieva
Telerik team
 answered on 15 Nov 2012
9 answers
344 views
Hello,

In the autocompletBox , we search in the "DataTextField" which represent the column,

is it possible to take the query and modify this, to search on the other column ?


I want to search in City table, i must to search Zip code or City Name in the same AutocompleteBox.

Please
Have you a solution ?

thanks
Olivier,


Olivier
Top achievements
Rank 2
 answered on 15 Nov 2012
1 answer
85 views
Hi,

I am trying to bind a dropdownlist in the itemdataBound event, but when I enter edit mode I am getting the error:
"Specified argument was out of the range of valid values. Parameter name: index"
for the line:
"Dim editor As GridDropDownListColumnEditor = CType(editMan.GetColumnEditor("Band"), GridDropDownListColumnEditor)"

I was referring to this to bind the dropdown: http://www.telerik.com/help/aspnet-ajax/grid-customize-configure-griddropdowncolumn.html

Any ideas why I am getting this error?

My code is below:

RadGrid1_ItemDataBound
Private Sub RadGrid1_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemDataBound
        If TypeOf e.Item Is GridDataItem Then
            Dim item As GridDataItem = DirectCast(e.Item, GridDataItem)
            Dim row As DataRowView = DirectCast(e.Item.DataItem, DataRowView)
 
            item("Band").Text = row("Band").ToString()
            item("capoptioname").Text = row("capoptioname").ToString()
        End If
 
           If (TypeOf e.Item Is GridEditableItem AndAlso CType(e.Item, GridEditableItem).IsInEditMode) Then
            Dim editedItem As GridEditableItem = CType(e.Item, GridEditableItem)
            Dim editMan As GridEditManager = editedItem.EditManager
            Dim editor As GridDropDownListColumnEditor = CType(editMan.GetColumnEditor("Band"), GridDropDownListColumnEditor)
            Dim ddlBand As DropDownList = editor.DropDownListControl
 
            Dim ProductBus As New Product
            Dim bands As Entities.Product.callbandsDataTable
            bands = ProductBus.GetCallBandsList
            ddlBand.DataSource = bands
            ddlBand.DataTextField = "description"
            ddlBand.DataValueField = "value"
            ddlBand.DataBind()
        End If
End Sub

aspx
<telerik:RadGrid ID="RadGrid1" runat="server" PagerStyle-AlwaysVisible="true" AllowPaging="True" AllowSorting="True" pagesize="25" pagerposition="bottom" GridLines="None"
         Width="99.9%" EnableEmbeddedSkins="False" AllowMultiRowEdit="True" OnSortCommand="RadGrid1_SortCommand" ShowStatusBar="True" Skin="p3"
         OnNeedDataSource="RadGrid1_NeedDataSource" AllowFilteringByColumn="True" AutoGenerateColumns="False" CellSpacing="0" Culture="en-GB"  >
 
<MasterTableView EditMode="inplace" AllowMultiColumnSorting="true" DataKeyNames="id" GridLines="Both" CommandItemDisplay="Top" >
             
<CommandItemSettings ExportToPdfText="Export to PDF" />
        <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True"> </RowIndicatorColumn>
        <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True"> </ExpandCollapseColumn>
         <CommandItemTemplate>
             
        </CommandItemTemplate>
 
        <Columns>
                <telerik:GridEditCommandColumn HeaderStyle-Width="4%" ButtonType="ImageButton" EditImageUrl="/images/edit.png" />
                <telerik:GridBoundColumn UniqueName="id" DataField="id" HeaderText="id" ReadOnly="True" HeaderStyle-Width="1%" Display="False"> </telerik:GridBoundColumn>
                <telerik:GridDropDownColumn DataField="Band" HeaderText="Band"  UniqueName="Band" ColumnEditorID="GridDropDownListColumnEditor1" HeaderStyle-Width="10%"  ListTextField="description" ListValueField="value" EnableEmptyListItem="true" EmptyListItemValue="0" EmptyListItemText="please select"  FilterControlAltText="Filter callband column" DropDownControlType="RadComboBox" > </telerik:GridDropDownColumn>
        </Columns>
         
        <PagerStyle AlwaysVisible="True" />
        </MasterTableView>
        <ClientSettings>
            <Scrolling AllowScroll="True" ScrollHeight="" SaveScrollPosition="True"></Scrolling>           
        </ClientSettings>
        
        <SortingSettings  EnableSkinSortStyles="false"></SortingSettings>
         
    <PagerStyle Mode="NumericPages" />
</telerik:RadGrid>
<telerik:GridDropDownListColumnEditor ID="GridDropDownListColumnEditor1" runat="server" DropDownStyle-Width="200px" > </telerik:GridDropDownListColumnEditor>
Shinu
Top achievements
Rank 2
 answered on 15 Nov 2012
16 answers
576 views
Hi,

We are currently having performance problem on the TabStrip when the AutoPostBack property is set to "True" even there is no server side event attached. It takes about 3 seconds to show the newly selected tab. There is no problem if AutoPostBack property is set to "False".

Is there any workaround ?

Regards,

Semih
Nencho
Telerik team
 answered on 15 Nov 2012
1 answer
86 views
I have a client side function that fires when the "OnGridCreated" event is triggered.  The code in there used to work fine, then we got an update, now we discover get_masterTableView() is returning null in some cases were it used to be ok.  Any idea?


function onGridCreated(sender, eventArgs) {
        if (rowIsSelected()) {
        .....
 
function rowIsSelected()    {
        var getSeletecteRow=getSelectedRow();
        ......
 
function getSelectedRow()    {
        var employeeSummaryGrid = $find('<%=EmployeeSummaryGrid.ClientID%>');
        if (employeeSummaryGrid != null)
        {
            var MasterTable = employeeSummaryGrid.get_masterTableView();   //this is returning null in some cases
            return MasterTable.get_selectedItems()[0];
        }
 
        return null;
    }

Eyup
Telerik team
 answered on 15 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?