Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
125 views
Hi All,

Export to excel is not working while using loading panel, without loading panel it is work fine. How to fix this is issue?
Jayesh Goyani
Top achievements
Rank 2
 answered on 16 Sep 2013
1 answer
221 views
Hi,

I have a radgrid that have a radcombobox in the header of one of the columns. I'm building the radcombobox in the OnItemCreated event. When  I select a value in the radcombobox, I filter the grid based on the selected value and store the selected value in the session. My problem is in the radgrid OnPreRender event, I'm trying to set the selected value of the radcombo box and it is not been set. the control is ajaxified, I can see through the debugger that is setting the correct selected item, but when the grid shows up, the value is not selected. Any ideas?

This is the code I'm using to set the selected item
protected void radGridUnits_OnPreRender(object sender, EventArgs e)
        {
                // Select the last selected value
                if (Session["filteredByPendingAction"] != null)
                    foreach (GridHeaderItem h in radGridUnits.MasterTableView.GetItems(GridItemType.Header))
                    {
                        ((RadComboBox)h["ExternalActions"].FindControl("radComboFilteredByPendingActions")).FindItemByValue(Session["filteredByPendingAction"].ToString()).Selected = true;
                        ((RadComboBox)h["ExternalActions"].FindControl("radComboFilteredByPendingActions")).DataBind();
                        break;
                    }
            }


Thanks in adavance
Eyup
Telerik team
 answered on 16 Sep 2013
5 answers
265 views
Hello ,

GridDateTimeColumn Filter template do not highlight today date.

I want to highlight today date when filter Datepicker open.

As i have already developed the application and i have used the datepicker filter control in more than 100 place so please provide me the global solution.

See the attached demo screenshot.

http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/filtering/defaultcs.aspx
Vasil
Telerik team
 answered on 16 Sep 2013
1 answer
100 views
I have two RadWindows each with an alert that fires when OnClientActivate is called.

The currently active RadWindow fires the event every time the window is clicked, active or not.  

Why?

GetRadWindow().add_activate(OnClientActivate);
 
 
function OnClientActivate(sender, e) {
    alert('I should only see this once when the window is brought to the front');
}
Ianko
Telerik team
 answered on 16 Sep 2013
1 answer
135 views
Hi There,

We are facing issue when we click an item on RadTabStrip. Sometimes we recieve the message - Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Collection was modified; enumeration operation may not execute.

Also find attached the screen shot of the error page.

We are using .Net 3.5 Visual Studio 2008, Telerik Version - 2013.1.417.35

Please advice.

Thanks,
Rohit
Nencho
Telerik team
 answered on 16 Sep 2013
1 answer
150 views
Hi everyone, I'm having difficulty getting the negative labels on the Yaxis to change to positives, I've seen that this has been asked before for the radchart and I did try the solution but I couldn't access yaxis.items to do a count for a loop so I'm wondering if something is different in the way I need to do this?

I've done a count on the plotarea.series and I'm getting 2 which is how many series I have fed the chart, the chart is displaying perfect apart from the YAxis labels, that's all I have left to do :(

Can anyone help me please?

I'm using ASP.Net with VB.Net as the code behind...

Thanks! Adam.
Adam
Top achievements
Rank 1
 answered on 16 Sep 2013
1 answer
46 views
Is it possible to email current row data ?
Eyup
Telerik team
 answered on 16 Sep 2013
3 answers
229 views
Hello,

We are using RadGrid with batch Edit functionality. We have created javascript functions for textbox validation like allowing only numbers, only letters, only numbers and letters,.., the javascript functions are working fine.

The problem is to check textbox empty or not. We applied Requiredfieldvalidator for EditItemTemplate, it is not working fine.

We tried with Javascript but not getting how to set focus in textbox, if the textbox is empty.

ASPX:
-------
<telerik:GridTemplateColumn DataField="Product_Name" GroupByExpression="Product_Name Group by Product_Name"
                    UniqueName="Product_Name" InitializeTemplatesFirst="false" HeaderStyle-Width="20%"
                    HeaderText="Product Name" HeaderStyle-Font-Size="13px">
                    <HeaderTemplate>
                        <table>
                            <tr>
                                <td>
                                    <asp:LinkButton ID="lnkSortProduct_Name" runat="server" CommandArgument="Product_Name"
                                        CommandName="Sort" Text="Product Name"></asp:LinkButton>
                                </td>
                                <td>
                                    <img src="Images/Context_new_menu.jpg" style="margin-top: 5px; margin-left: 5px;
                                        cursor: pointer" onclick='ShowColumnHeaderMenu(event,"Product_Name")' alt="Show context menu" />
                                </td>
                            </tr>
                        </table>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:Label ID="lblProductName" runat="server" Text='<%#Eval("Product_Name") %>'></asp:Label>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left" />
                    <EditItemTemplate>
                        <asp:TextBox ID="txtProductName" runat="server" Text='<%Eval("Product_Name") %>' Width="95px"
                            MaxLength="10" onblur="return Validate();" OnTextChanged="txtTaxYear_TextChanged" ToolTip="Enter Product Name"></asp:TextBox>
                            <span id="spntxtProductName" style="color:Red; visibility:hidden">*Required</span>                        
                    
                </telerik:GridTemplateColumn>

Javascript:-
--------------
function Validate()
{
        var grid = $find("<%=grdTaxYears.ClientID %>");
        var MasterTable = grid.get_masterTableView();
        var row = MasterTable.get_dataItems();
        var columns = grid.get_masterTableView().get_columns();
        
        var ProductName = MasterTable.get_dataItems()[0].findElement('txtProductName');
        var spntxtTaxYear = document.getElementById('spntxtTaxYear');

        if ((ProductName .value == '') || (ProductName .value == null))
        {
            spntxtProductName.style.display = true;
            return false;
           }
          }

Please resolve this issue.

Thanks in Advance,
Sanath Rohilla.
Jayesh Goyani
Top achievements
Rank 2
 answered on 16 Sep 2013
1 answer
69 views
Hi,

We are using a Tadtreeview with checkboxes (html5 rendermode)

 <telerik:RadTreeView ID="_templateStructure" runat="server" CheckBoxes="True" OnNodeCheck="_templateStructure_NodeCheck"></telerik:RadTreeView>


On chrome mobile when unchecking a node, the NodeCheck does not execute. Is there a way to make it execute?

ps: We also tried to change the render modes just in case but o no avail.
Peter Filipov
Telerik team
 answered on 16 Sep 2013
3 answers
133 views
Hi,

AreaSeries has a weird behavior when I set high YAxis AxisCrossingValue. In my case I set YAxis AxisCrossingValue=-2000000 to show XAxis DataLabels at the bottom. It seems AreaSeries takes AxisCrossingValue as base to construct the area, so chart becomes weired. Please refer to attached image for clarification.

First chart has the default values, DataLabels are just below 0 and area is constructed as expected.
Second chart has DataLabels at the bottom (which is I need to do) with setting YAxis AxisCrossingValue=-2000000 property. But area becomes weird, because it is constructed based on AxisCrossingValue not 0 (zero).
Last chart is what I would like to achieve.

Any help on this problem would be greatly appreciated.
Danail Vasilev
Telerik team
 answered on 16 Sep 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?