Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
131 views
Hi, Is there a way to get rounded corners on the top level menu items (menu bar itself)? I had it set for rounded corners but only the child menu items have rounded corners for all of the skins that I try. Thanks.
Magdalena
Telerik team
 answered on 10 Nov 2014
1 answer
183 views
Hi everyone,

Let me explain my problem :

I have a rad grid with a lot of column so I have an horizontal scroll bar.
I Scroll to the last column of my grid, and I apply a filter. 
When the result of my filter show something there is no problem.
But if there is not data to show, my grid disappear and I have a blank page...

It always works (with data or no data for result) in the first columns of my grid, but not when I scroll to the right of my grid.

Many thanks for your help

 
Konstantin Dikov
Telerik team
 answered on 10 Nov 2014
1 answer
194 views
Hi,

I am creating a RadGrid programmatically following the instructions in http://www.telerik.com/help/aspnet-ajax/grid-programmatic-creation.html#Section22 (section Creating the grid entirely in the code-behind -- Creating a RadGrid on Page Init).

I want to change structure dinamically because I have a panel with checkboxes where user can select which columns will be shown and when a button is pressed grid is created with those columns. I am following instructions in http://www.telerik.com/help/aspnet-ajax/grid-changing-structure-dynamically.html, so I am setting EnableColumnViewState = false.

The problem is that when I filter grid with multiple columns, only last filter is applied. For example, if I apply filter to Column1 and then apply filter to Column2, only Column2 is showing filter and Column1 filter cell is cleared. How can I avoid this behaviour?

Best regards,

Alfonso
Konstantin Dikov
Telerik team
 answered on 10 Nov 2014
10 answers
124 views
We just put 2013 Q2 SP1 on our development server.  I'm not sure if this issue starts in Q2 or SP1.

There is a new piece of CSS in the FormDecorator.css that conflicts with normal operation of a decoration zone.

.RadForm {
    font-family: "Segoe UI",Arial,Helvetica,sans-serif;
    font-size: 12px;
}

I have not seen this in earlier versions. Since the RadForm class is put on the DIV for the region that is being decorated, this CSS interferes with normal font family and size declarations that may already defined outside of this region.

I'm inclined to think that this is a mistake...?
Farhana
Top achievements
Rank 1
 answered on 07 Nov 2014
1 answer
140 views
In RadEditor Media Manager, there are various properties for setting ViewPaths, UploadPaths and DeletePaths.

We have a situation where we have a known list of folders which a user can access. These can be loaded into the above properties.

The problem we have, its that users have access to the root folder. But if we set the above properties accordingly, by setting the root, we have no control over the sub-folders they can see.

Is there any way to limit sub-folders in Media Manager such that we can display the root (or any folder for that matter) and only certain sub-folders under it instead of all folders ?
Vessy
Telerik team
 answered on 07 Nov 2014
3 answers
165 views
Looks like if I want to export to excel I first need to bind radgrid and load to  the page and then the user does something to initiate the download.

I am trying to do the bind and export in one event. Thats why I didn't add my grid to the page, I just wanted to leverage its ability to export the data for me. I don't plan on my user ever seeing a bound radgrid.

Is something like this possible? 
public void RunReport_Click(object sender, EventArgs e)
{
    //bind a radgrid in code behind
    //export the radgrid to excel when its done binding
}

Please advise.

My data has dynamic column. I use dynamic query. The code I'm using is
       private void BuildReport(string @SpecID)
        {
            RadGrid gvTemp = new RadGrid();
            
            int db = (int)CommonFunctions.CurrentDatabase();
            DateTime StartDate = UIStartDate.SelectedDate.Value;
            DateTime EndDate = UIEndDate.SelectedDate.Value;

            using (STS32Entities ctx = new STS32Entities())
            {
                SqlConnection caConn = new SqlConnection(CaConn);
                SqlCommand caCmd = new SqlCommand("CreateDynamicQuery", caConn);
                caCmd.CommandType = CommandType.StoredProcedure;
                caCmd.Parameters.Add(new SqlParameter("@DB", db));
                //caCmd.Parameters.Add(new SqlParameter("@SeqNo", SeqNo));
                //caCmd.Parameters.Add(new SqlParameter("@DataVrsn", UIDataVersion.SelectedItem.Text));
                caCmd.Parameters.Add(new SqlParameter("@SpecID", SpecID));
                caCmd.Parameters.Add(new SqlParameter("@DateType", UIEventType.SelectedValue));
                caCmd.Parameters.Add(new SqlParameter("@StartDate", StartDate.ToShortDateString()));
                caCmd.Parameters.AddWithValue("@EndDate", EndDate.ToShortDateString());
                caCmd.Parameters.Add(new SqlParameter("@HarvestCode", UIHarvestCode.Checked));

                caConn.Open();
                SqlDataReader caRdr = caCmd.ExecuteReader();

                gvTemp.DataSource = caRdr;
                gvTemp.DataBind();
                this.Form.Controls.Add(gvTemp);
                //Download.Enabled = true;
            }
            gvTemp.ExportSettings.IgnorePaging = true;
            gvTemp.ExportSettings.FileName = "DQRecords";
            gvTemp.ExportSettings.OpenInNewWindow = true;
            gvTemp.ExportSettings.Csv.FileExtension = "xls";
            gvTemp.ExportSettings.Csv.ColumnDelimiter = GridCsvDelimiter.Comma;
            gvTemp.MasterTableView.ExportToCSV();
            gvTemp.Visible = false;
        }
Konstantin Dikov
Telerik team
 answered on 07 Nov 2014
1 answer
72 views
Hi Everyone,
I've decided to start using javascript to do some client side math instead of doing it behind code.  I started to test it out with the below page. It work but before updating RadNumericTextBox3, it throw an error message "Error: Object expected".  I look into the  browser developer tool and it throw this code "t[r](n,i)". Just to point out, Firefox and Chrome didn't display the error but when I look in the developer tool, I see the same code ""t[r](n,i)".  What am I doing wrong? How can I fix it?  PS: the radscriptmanager is in the masterpage.

<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="JavaScriptTextBox.aspx.cs" Inherits="TBSWeb.Lab.JavaScriptTextBox" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
        function timesValues() {
            var radTextBox1 = $find("<%= RadNumericTextBox1.ClientID %>");
            var radTextBox2 = $find("<%= RadNumericTextBox2.ClientID %>");
            var radTextBox3 = $find("<%= RadNumericTextBox3.ClientID %>");
                if (radTextBox1.get_value() != "" || radTextBox2.get_value() != "") {
                    var total = radTextBox1.get_value() * radTextBox2.get_value();
                    radTextBox3.set_value(total);
                }
            
 
        }
     
    </script>
    </telerik:RadCodeBlock>
    <telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server">
    </telerik:RadNumericTextBox>
    <telerik:RadNumericTextBox ID="RadNumericTextBox2" runat="server">
    </telerik:RadNumericTextBox>
    <telerik:RadNumericTextBox ID="RadNumericTextBox3" runat="server">
    </telerik:RadNumericTextBox>
    <telerik:RadButton ID="btnCalculate" runat="server" Text="Calculate" OnClientClicked="timesValues()">
    </telerik:RadButton>
</asp:Content>
Anthony
Top achievements
Rank 1
 answered on 07 Nov 2014
1 answer
539 views

Hi, 
i am having radgrid which i want to bind to empty datasource but not working i tried the code:  
function ClearItems1()
{
var RadGridTaskActivity = $find("<%= RadGridTaskActivity.ClientID %>").get_masterTableView();
masterTable.set_dataSource(string.Empty);
masterTable.dataBind();
}


i tried with string.empty OR [ ] OR null but nothing working.
Konstantin Dikov
Telerik team
 answered on 07 Nov 2014
1 answer
117 views
Hello Team,

I am using 2014 Q3 Asp.net controls. While using resource grouping functionality by date (vertically), the control renders misaligned cells. Please see the attached image.

I was also able to reproduce this error in a separate project. Please let me know if you want me to provide you the sample project in a support ticket.

Regards,
Hristo Valyavicharski
Telerik team
 answered on 07 Nov 2014
1 answer
49 views
If you double-click on the selected grid appreciated learn how to insert a row in another grid.

 

Konstantin Dikov
Telerik team
 answered on 07 Nov 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?