Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
358 views
Hi,

I am tying to set the font size of the x-axis label in a RadHTMLChart (q3 2012). The <TextStyle> property is not available and the only options that I see in <LabelsAppearance /> are DataFormatString, RotationAngle, and Visible.

Please help with where to set the font size.

Thanks,
Dave 

<LabelsAppearance DataFormatString="{0}" RotationAngle="0">
    <TextStyle Bold="false" FontFamily="Helvetica" Color="Black" FontSize="12" Italic="false" Margin="0" Padding="0" />
</LabelsAppearance>
Dave
Top achievements
Rank 1
 answered on 21 Feb 2013
5 answers
322 views
I've got a RadGrid that I'm populating via AJAX. For some reason, the horizontal scrolling bar is not showing up. The columns are chopped off to the right side, and the rest of the columns don't show.

Here is what my .aspx page looks like:

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" ClientEvents-OnRequestStart="requestStart">
 
    <telerik:RadGrid ID="radQueryResults" runat="server"  Visible=false
    AutoGenerateColumns="true" ClientSettings-Selecting-AllowRowSelect="true" AllowMultiRowSelection="true"
    Width="1000" >
 
            <ClientSettings>
                 <Scrolling AllowScroll="true" ScrollHeight="400px" UseStaticHeaders="true"    />
            </ClientSettings>
 
        <MasterTableView CommandItemDisplay="Top" TableLayout="Auto" >
            <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowRefreshButton="false" ></CommandItemSettings>
        </MasterTableView>
        <ExportSettings>
            <Excel Format="Biff"></Excel>
        </ExportSettings>
        </telerik:RadGrid>



Any suggestions on how to get that horizontal scrolling bar?

Thanks!
Pavlina
Telerik team
 answered on 21 Feb 2013
6 answers
153 views
Hi everyone!

Im getting some strange errors when trying to "clone" a TreeNode being dragged from 1 treeview to another in Clientside code.

my code apparently works fine, but when expanding the newly created nodes it gives me this error:

"Microsoft JScript runtime error: Sys.ArgumentNullException: Value cannot be null.
Parameter name: handler"

function Sys$EventHandlerList$addHandler(id, handler) {  
        /// <summary locid="M:J#Sys.EventHandlerList.addHandler" /> 
        /// <param name="id" type="String"></param> 
        /// <param name="handler" type="Function"></param> 
        var e = Function._validateParams(arguments, [  
            {name: "id", type: String},  
            {name: "handler", type: Function}  
        ]);  
        if (e) throw e;  
        Array.add(this._getEvent(id, true), handler); 

in the second last line (2854 if it says anything)

Anyone seen this before ?

Kind Regards
Kenneth Christensen
Jim
Top achievements
Rank 1
 answered on 21 Feb 2013
1 answer
714 views
The FooterAggregateFormatString does not work as expected. Should I be doing something different? I just want the footer amount to also display with 2 decimals (which is does) and thousand separator (which it does not). The column itself works fine with the formatstring specified.
Thanks for any help.
<telerik:GridNumericColumn DataField="a_loc_upr_booked" HeaderText="Cedant UPR" UniqueName="a_loc_upr_booked"
                    DataFormatString="{0:###,##0.00}" ItemStyle-HorizontalAlign="Right" Aggregate="Sum"  FooterAggregateFormatString="{0:###,##0.00}">
 </telerik:GridNumericColumn> 
Sharon
Top achievements
Rank 1
 answered on 21 Feb 2013
1 answer
109 views
Hi,
I Have a RadGrid in which I have enabled the headercontextmenu (EnableHeaderContextMenu="True" / EnableHeaderContextFilterMenu="True")

For a templatecolumn I want to disable the headercontextmenu. How do I do this?

Paul
Jayesh Goyani
Top achievements
Rank 2
 answered on 21 Feb 2013
1 answer
895 views
Hi,
I want to be able to upload and download files (.doc, .docx, .pdf) to binary field in SQL Server database using RadGrid and AsyncUpload. A row in the grid should have a download link in the first column and document name and description in other columns. When in edit mode, I need to be able to upload file using AsyncUpload and add document name and description through textboxes in different collumns.
Please, is there any example of such scenario?
Jayesh Goyani
Top achievements
Rank 2
 answered on 21 Feb 2013
6 answers
175 views
Hi
Question 1
I am using Radeditor. When I tried to change the skin I am getting a message skin assembly not found please add referecne to telerik.web.ui.skin.

Where should I download this from and if already this is downloaded on my machine which folder it is present

Question2
It adds grey background in the editor always. how to chaneg it to white background.

Question 3
It adds a grey bar at the end when in design mode. How to get rid of that.

I have also atatched two images showing the problem that is happening
Please advise
Sureshkumar
Top achievements
Rank 1
 answered on 21 Feb 2013
1 answer
96 views
Hi,

I need to use RadAsyncUpload to upload the files and then save the file into database in code-behind. Everything works fine except the "InputStream" throws a file not found exception. I looked at the folder where the files are uploaded. Originally, the file name contains a series of number then the actual file name. After post, the file got renamed back to the actual file name! That's why the UploadedFile.InputStream cannot find the file. If the file is renamed, the input stream should look for the file with the renamed file name.

I can go around this problem of course, but I think you guys should fix this issue. (I have the latest version of Telerik library.) By the way, I can't use the "OnFileUploaded" event because I need to create my own object first. Then, these files are the attachments of my object.

If you want to see some code:
.aspx:
<telerik:RadAsyncUpload runat="server" ID="rauAttachment" HideFileInput="true" MultipleFileSelection="Automatic" TargetFolder="~/UserFiles/Temp/" Localization-Select="Attach Files" Width="88" OnClientValidationFailed="RauValidationFailed" />

.aspx.cs: Submit button click event:
Stream stm = rauAttachment.UploadedFiles[0].InputStream; //File not found exception occurs.

Regards,

Roger
Roger
Top achievements
Rank 1
 answered on 21 Feb 2013
8 answers
199 views
Hi All!

I am trying to insert/delete RibbonBarMenuItems in RibbonBarMenu using Javascript clientside.
I cannot find any documentation on how this is done.

I have tried doing it the same as it is done in RadMenu:
    menu.trackChanges();
    menu.get_items().add(item);
    menu.commitChanges();
but this attempt was unsuccessful.

Any help will be much appreciated.
Thanks in advance!!
PieterDevill
Kate
Telerik team
 answered on 21 Feb 2013
1 answer
450 views

How can I validate that the file I have uploaded has right mime type if compared with the file extension?

I want to support all browsers. It means well that I must do the validation on the server. Or?
And how should I do?

Right now I use RadUpload and validates against the file extensions, it works well. But like I say I also want to make sure that the file extension matches the mine type.

Grateful for the tips!
Best regards,
Foppa

Plamen
Telerik team
 answered on 21 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?