Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
130 views
I noticed a bug with the RadTreeView; configuration below. When all items are disabled, if you then focus the RadTreeView and then press Enter, it will throw an error of "Line: 8887 Error: Unable to get property 'set_selected' of undefined or null reference" in Telerik.Web.UI.WebResource.axd.

It appears to be trying to set selected but since all items are disabled, this error is I tried to put the OnClientKeyPressing to a javascript function that is just { return false;} but that does not stop the error from occurring.

How can I get around/suppress this error?

<telerik:RadTreeView ID="foo" runat="server" CheckBoxes="False" CheckChildNodes="False" MultipleSelect="True"
    ShowLineImages="True" EnableDragAndDrop="False" BorderColor="#336699" BorderStyle="Solid" BorderWidth="1px"
    height="410px">
</telerik:RadTreeView>
Hristo Valyavicharski
Telerik team
 answered on 21 Aug 2014
1 answer
224 views
Hello!

This should be a fairly simple task to solve however, i've tried everything, to remove the line break the radasyncupload-control is adding.

The thing is that I want to add a button next to, on the right of the radasync upload button-control.

Any idea on how to do this? See the attached picture if it makes it easier to understand :)

Appreciate any help I can get! been stuck with this for the past hour, driving me nuts.
Shinu
Top achievements
Rank 2
 answered on 21 Aug 2014
6 answers
481 views
Is there any alternative for RadScriptManager for combining scripts? . I'm using latest AjaxControlToolKit and Telerik controls which are causing issues in my code if i'm using RadScriptManager. So I have replaced RadScriptManager with AjaxControlTookKitScriptManager , now I need a solution for combining script files of telerik on page load as I cannot combine scripts using AjaxControlToolKit for Telerik . Please help on this
Hristo Valyavicharski
Telerik team
 answered on 21 Aug 2014
1 answer
157 views
Hi Forum,

is there a way to define a default loading panel template? This template shoud be used on every page without respect of the specified Telerik skin, which is defined in the web.config file.

I want to use a default template in a web site with hundreds of pages, and I cannot modify each page separately.

Thank you very much in advance!

Regards,
Roland
Princy
Top achievements
Rank 2
 answered on 21 Aug 2014
3 answers
246 views
Hi,
I`m testing Your chart.
I need bind large data source (in my solution I must show data for a month, which is more less 3000 items).
When I try do this, it takes very long time (10 seconds). In addition you draw major grid lines for each item (StepValue doesnt work for XAxis - on XAxis are dates). And It looks bad (look at attachment).

Is there way to increase performance in chart?
How set StepValue on XAxis for dates?
Stamo Gochev
Telerik team
 answered on 21 Aug 2014
4 answers
320 views
I'm exploring the PDF Export example, and the PDF created looks good except for the grid being too wide for the normal page and runs off the edge. I see PageSize options, but I'm not sure how to measure the grid, control the grid width, or otherwise control the output.

Ideally, I'd love to set landscape mode, and either shrink the grid to the page width or have different columns on alternating pages. I'm just getting started with the Pdf export; what kind of ExportSettings & Pdf options should I be looking for to accomplish this?

I'd also be very happy to have the page size set to a non-standard page width so the grid fits. Is there an autosize option like this?

public void ExportPdf_Click(object sender, EventArgs args)
{
    RadGrid1.ExportSettings.Pdf.BorderType = GridPdfSettings.GridPdfBorderType.AllBorders;
    RadGrid1.MasterTableView.ExportToPdf();
}

Princy
Top achievements
Rank 2
 answered on 21 Aug 2014
9 answers
1.3K+ views
Hello,

My problem is with the client-side file validation.  It works, which is great, but I can't figure out how to do anything useful when a file is not valid.  

Specifically, I'd like to stop it from showing up as a selected file - so if a user tries to upload an invalid file I can just issue a warning and have the RadAsyncUpload control revert to its initial state.  Why is there no option to cancel in the OnClientValidationFail event?  And why is there no option to reset the input from the client-side object?

Right now, when a file fails validation, it still shows up and a user has to manually remove it before trying another upload.  I'd rather have the control ready for use again immediately.

I've been looking through the documentation and these forums, and I'm quite surprised no one else has this requirement.  Am I missing something simple?

Thank you,

Allan
Shinu
Top achievements
Rank 2
 answered on 21 Aug 2014
1 answer
151 views
Hi, Is it possible to resize and position  RadDockZone using Javascript and retrieve those change to be saved server side?

Kind Regard
Shinu
Top achievements
Rank 2
 answered on 21 Aug 2014
2 answers
129 views
In my grouping grid I've got group footer columns turned on and am hiding the columns I am grouping by. Works great, thanks for the good documentation!

Next, I'd like to put a "title" or "descriptive text" into the footer so the user knows quickly which item this footer row is summarizing. It's basically the same text as in the Group header, though I might want to customize it. (See attached screenshot mockup.)


My footer would then look like:
|      Account Group: 30 - Net Sales, subject to VAT                                               0     -1,000         801       -1510 ... |


Today it just has the totaled numbers to the right, no text title to the left.



Using Telerik ASP.NET AJAX Q1 2014, VS 2012
Princy
Top achievements
Rank 2
 answered on 21 Aug 2014
3 answers
180 views
Hello,

I want to set color in group header row and group footer row. I am able to set individual color for each group header row and its working ok.  
But I can’t do this for group footer row.  I have 3 fields for grouping also have 3 group header row and 3 group footer rows.
Header rows color is ok. But I can’t set color for group footer row for a specific group header row. (Example: GroupFooterRow1 for GroupHeaderRow1)

Please see in attached image. Yellow color mark have wrong footer color, this color should go under 2 rows.

protected void RadGrid1_OnPreRender(object sender, EventArgs e)
{
         var j = 0;
        foreach (GridGroupFooterItem footerItem in  RadGrid1.MasterTableView.GetItems(GridItemType.GroupFooter))
        {
            if (j == 0) { footerItem.Style.Add("background-color", "#23A323");}
            else if (j == 1) {footerItem.Style.Add("background-color", "Green");}
            if (j == 2){footerItem.Style.Add("background-color", "#035E03");}
           
           j++;
          if (j == 3)
               j = 0;
       }
}

Is it possible to get group footer row for a specific group header row? (Example: GroupFooterRow1 for GroupHeaderRow1, GroupFooterRow2 for GroupHeaderRow2)
Princy
Top achievements
Rank 2
 answered on 21 Aug 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?