Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
89 views
Hello!
I have a little problem with the Numeric Textbox. When using Russian layout in FIrefox I can't type decimal separator from my keyboard (shift + (?/ in English layout)). It works perfectly fine in other browsers (Chrome, IE9). You can reproduce this problem on the demo page: Telerik demo
I think this is a bug, can you check it please?
Thanks,
Andrew.
Vladimir Iliev
Telerik team
 answered on 20 May 2013
1 answer
81 views
Hi!

Isn't this suposed to work?

protected void uxGridSubscription_OnItemCommand(object sender, GridCommandEventArgs e)
{
    if (e.CommandName == RadGrid.FilterCommandName)
    {
        var filterPair = (Pair) e.CommandArgument;
 
        switch (filterPair.Second.ToString())
        {
             
 
            case "Name":
                {
                    var filterValue = uxGridSubscription.MasterTableView.GetColumnSafe("Name").CurrentFilterValue;
                    uxGridSubscription.MasterTableView.FilterExpression = "(([Name] LIKE \'%" + filterValue + "%\') OR ([Obs] LIKE \'%" + filterValue + "%\'))";
 
                    var column2 = uxGridSubscription.MasterTableView.GetColumnSafe("Obs");
                    column2.CurrentFilterFunction = GridKnownFunction.Contains;
                    column2.CurrentFilterValue = filterValue;
                    uxGridSubscription.MasterTableView.Rebind();
                    break;
                }
     }
    }
}

This acts like 'AND' and not an 'OR'. 

Best Regards, Fernando Moreira
Andrey
Telerik team
 answered on 20 May 2013
4 answers
149 views
Hi,

I would like get  PivotGridRowHeaderCell's parent in CellDataBound event. For visual explanation see attached image.

TIA
Barbaros Saglamtimur
Top achievements
Rank 1
 answered on 20 May 2013
4 answers
206 views
Per the documentation a RadToolBarButton with IsSeparator="true" does not render in a RadToolBar.

http://www.telerik.com/help/aspnet-ajax/toolbar-appearance-separators.html

However, we have a RadToolBarDropDown that is inside a RadToolBar. The separator buttons that are inside the nested RadToolBarDropDown also do not render... 

What is the suggested workaround?

<telerik:RadToolBar ID="RadToolBar1" runat="server">
    <Items>
        <telerik:RadToolBarButton Text="Button A" />
        <telerik:RadToolBarButton Text="Button B" />
        <telerik:RadToolBarDropDown Text="DropDown">
            <Buttons>
                <telerik:RadToolBarButton Text="Button C"></telerik:RadToolBarButton>
                <telerik:RadToolBarButton IsSeparator="true"></telerik:RadToolBarButton>
                <telerik:RadToolBarButton Text="Button D"></telerik:RadToolBarButton>
            </Buttons>
        </telerik:RadToolBarDropDown>
    </Items>
</telerik:RadToolBar>
Nencho
Telerik team
 answered on 20 May 2013
1 answer
170 views
Hi,

Small feedback about the nice silk skin.

In radformdecorator you have :

.RadForm_Silk.RadForm .rfdCheckboxChecked, .RadForm_Silk.RadForm .rfdCheckboxUnchecked, .RadForm_Silk.RadForm .rfdRadioUnchecked, .RadForm_Silk.RadForm .rfdRadioChecked {
            line-height: 24px !important;
        }

For me it should be 20px to appears properly.

I've fixed it on my side but in case of the 24px was not intended .... now you know :p

Regards
Arnaud
Bozhidar
Telerik team
 answered on 20 May 2013
5 answers
726 views
Hi,
We are getting the below error in one of the environment, we are using RadGridControl.
Below is the stacktrace, any help would be appreciated.
Thanks.
[NullReferenceException: Object reference not set to an instance of an object.]
   Telerik.Web.UI.PreControlToAjaxify.Render(HtmlTextWriter writer) +113
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +245
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +306
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +47
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +245
   System.Web.UI.Page.Render(HtmlTextWriter writer) +39
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +50
   Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) +666
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +130
   System.Web.UI.Page.Render(HtmlTextWriter writer) +39
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4942
Andrey
Telerik team
 answered on 20 May 2013
2 answers
112 views
I have been hiding columns in my radgid in lots of pages and accessing their data after postback.
Now this is no longer possible thanks to the breaking change  introduced for the sake of performance.
How can such a drastic step be taken without giving a fallback mechanism?
I have a very huge web application consisting of more than 500 aspx pages.
Nearly 70 % of the pages use radgrid.
I find the solution to use display false as unacceptable, as it still generates hidden markup(read decreased "PERFORMANCE")
Also it will affect the javascript interacting with the grid to read cell values client side.
I urgently need a solution for this.Rolling back to previous version is not an option for me because i need the latest telerik updates for other parts of my project.

Waiting impatiently....


Radoslav
Telerik team
 answered on 20 May 2013
2 answers
104 views
Hi,

I have a ButtonColumn into a RadGrid with WCF client binding and I have activated the EnablePostBackOnRowClick, but the event doesn't fire when I click the button. What am i doing wrong? Thank you.

This is the event handler into the .cs file:
protected void ColEditar_Click(object sender, EventArgs e)
        {
            //Event code goes here
        }


I also got a RadAjaxManager:
<telerik:RadAjaxManager ID="RadAjaxManager" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RgNoticias">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RgNoticias"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>


And finally, my grid code:
<telerik:RadGrid ID="RgNoticias" runat="server" AllowPaging="True" AllowSorting="True"
    PageSize="10"  AutoGenerateColumns="False"
    GridLines="None"    
        EnableViewState="False">
        <MasterTableView >
            <Columns>
                <telerik:GridButtonColumn UniqueName="ColEditar" CommandName="ColEditar_Click" Text="Editar">
                </telerik:GridButtonColumn>               
            </Columns>
            <SortExpressions >
                <telerik:GridSortExpression FieldName="FechaAlta" SortOrder="Descending" />
            </SortExpressions>
        </MasterTableView>
 
    <ClientSettings EnablePostBackOnRowClick="true">
        <DataBinding SelectMethod="ObtenerNoticias"  Location="http://localhost/service.svc/rest/"
        sortparametertype="Linq" filterparametertype="Linq">
        </DataBinding>
    </ClientSettings>
    </telerik:RadGrid>
Daniel
Top achievements
Rank 1
 answered on 20 May 2013
2 answers
151 views
Hi,

We have used two individual grids to display data which looks like single grid on the page but behind the scene, these are two individual grids. Now the problem is, we want to export the entire data displayed in the UI but we can only export one grid at a time.

Is there any way, we can pass two grids as an input to the ExportToPdf() function to export at the same time in the same file?

Waiting for your earliest reply on this.
Princy
Top achievements
Rank 2
 answered on 20 May 2013
1 answer
61 views
 Hello,

I want to Edit popup form through non radgrid button as shown in Image
any suggestion.

Regards
Amit
Shinu
Top achievements
Rank 2
 answered on 20 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?