Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
205 views

I am working with Telerik RadCalendar Control. Page has Month and Year dropdowns and I am setting the RadCalendars FocusedDate from Month and Year dropdowns on a button click event. RadCalendar is not rendering the dates on the calendar. It displays only the navigation. Day cells are empty.  The button has to be clicked twice in order to see the properly rendered calendar.
Vasil
Telerik team
 answered on 23 Jul 2015
4 answers
800 views
Hi
I am using the RadWindowManager in a ASP.NET 4.0 and VS 2010. I placed a RadWindowMangaer on a content page. In the code behind of the button click I want to call this.radWindowManager1.RadAlert(...); For some reason after hitting the period after radWindowManger1 I do not see any of the pre build rad windows (radAlert, radconfirm etc). Maybe it is a version issue. I am using 2010.3.1215.40. Please help. All other controls in the suite work just fine.

<%

 

@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"

 

 

 

CodeBehind="Default.aspx.cs" Inherits="TelerikRadWindowSample._Default" %>

 

<%

 

@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

 

<

 

 

asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">

 

</

 

 

asp:Content>

 

<

 

 

asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">

 

 

 

<telerik:RadWindowManager ID="radWindowManager1" runat="server"></telerik:RadWindowManager>

 

 

 

<h2>

 

Welcome to ASP.NET!

 

 

</h2>

 

 

 

<asp:Button ID="Button1" runat="server" Text="Open Rad Window"

 

 

 

onclick="Button1_Click" />

 

 

 

</p>

 

</

 

 

asp:Content>

here is my code behind

 

protected

 

 

void Button1_Click(object sender, EventArgs e)

 

{

 

 

// I dont see RadAlert
this
.radWindowManager1.

 

}

 

 

Danail Vasilev
Telerik team
 answered on 23 Jul 2015
3 answers
51 views

Hi,

 I have customized some of the dialogs of RadEditor using the provided ASCX files. I can successfully test the customization when the files are physically stored on a disk and a proper physical path is provided to the ExternalDialogsPath. 

My question is - how can I now use the ExternalDialogsPath in combination with embedding the modified dialogs into my assembly? I don't want the modified dialogs to be part of my directory structure on the server.

Anton
Top achievements
Rank 1
 answered on 23 Jul 2015
6 answers
1.3K+ views

Hi All,

I know , we have property called "AllowedFileExtensions" specify the allowed extensions. but i have list of extensions which need to be blocked like .ADE,ADP,BAS,BAT,CHM,CMD,COM,CPL,CRT,EXE,HLP,HTA,INF,INS,ISP,JS so on.....list goes upto 38 extensions. How to block this list of extensions for RadAsyncupload control......

Plamen
Telerik team
 answered on 23 Jul 2015
5 answers
364 views
jQuery is now at version 1.11.1 (and also 2.1.1, but I am not interested in that yet). I am using version 2014.1.403 of the Telerik controls now, which uses jQuery 1.9.1. From looking at the demos, it looks like the latest 2014.2.724 also uses jQuery 1.9.1.

I am using jQuery 1.10.2 and having no trouble. I would like to move to 1.11.1. I am going to try it and test everything to see how it goes. I wonder if anyone has tried this yet.

I also wonder if Telerik is going to keep up with jQuery releases. There are a lot of bug fixes and improvements
Vessy
Telerik team
 answered on 22 Jul 2015
12 answers
702 views
hi,

i am using RadComboBox 2010 Q1 and  i got a problem that on my button click a event OnSelectedIndexChanged of RadComboBox is fired automatically. i want to fire only if i change the value in radcombobox itself only.
The issue is also raised to several links but still not able the configure the issue. Below is the enviroment for the generation

Step - 1  Add Control to page.
Step - 2 Set the Following combobox properties to source page 

 

 

              <telerik:RadComboBox ID="RadComboBox1" runat="server"   OnSelectedIndexChanged="RadComboBox1_SelectedIndexChanged">

 

 

 

 

 

</telerik:RadComboBox>

Step - 3 Page OnLoad Code

 

 

                

 

 

if (Page.IsPostBack)

 

{

 

return;

 

}

 

RadComboBox1.ShowToggleImage =

false;

 

RadComboBox1.Skin =

"Office2007";

 

RadComboBox1.EnableLoadOnDemand =

false;

 

RadComboBox1.AutoPostBack =

true;

 

RadComboBox1.MarkFirstMatch =

true;

 

RadComboBox1.AllowCustomText =

true;

 

RadComboBox1.Height =

Unit.Pixel(100);

 

RadComboBox1.Items.Add(

new RadComboBoxItem("1"));

 

RadComboBox1.Items.Add(

new RadComboBoxItem("2"));

 

RadComboBox1.Items.Add(

new RadComboBoxItem("3"));

 

RadComboBox1.Items.Add(

new RadComboBoxItem("4"));

 

 

        

Step - 4  Define Selecetd Index Changed
        

 

 

protected void RadComboBox1_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)

 

{

 

string s = "ppppp";

 

}

 

 

    now degug the page either page button click goes to Selected index changes event or first select the item and then hit the button onclick.

The Same issue is post to several links like 
    http://www.telerik.com/community/forums/aspnet-ajax/combobox/radcombobox-selectedindexchanged-fired-incorrectly.aspx

Thanks,
Sanjeev

            

Ivan Danchev
Telerik team
 answered on 22 Jul 2015
1 answer
92 views

Hi all,

 

I have a RadGrid with autogenerated columns. Everything works fine, except for sorting numbers. The grid tries to sort the numbers as a string, instead of a number. So what I tried to do to get this working, and also be able to get Min/Max/Average/etc, was to change the datatype in the .cs file to Decimal.

 

Here is what that looks like:

 

protected void radGrid1_ColumnCreated(object sender, GridColumnCreatedEventArgs e)
        {
            if (e.Column is GridBoundColumn)
            {
                if (e.Column.UniqueName == "Total")
                {
                    GridBoundColumn col = e.Column as GridBoundColumn;
                    col.DataType = typeof(decimal);
                    col.DataFormatString = "${0:###.##}";
                    col.ItemStyle.HorizontalAlign = HorizontalAlign.Center;
                }
            }
        }

 

Now the problem that I am encountering is that the Grid looses all its functionality. I cannot sort any column, I cannot move/hide/filter columns, and I cannot group anything either.

 

All I see is the Update control spinning for a split second, then it does nothing.

 

My question is, is this the proper way to assign a datatype to the column (col.DataType = typeof(decimal);) or should be done some other way?

 

Thanks

Viktor Tachev
Telerik team
 answered on 22 Jul 2015
1 answer
83 views

Hello,

I created a radasyncupload control like this:

<telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" HideFileInput="true" MultipleFileSelection="Automatic"
OnClientFileUploading="OnClientFileUploading" />

When files were uploaded, control's style broke as you can see in my attached image. I have been using IE 9 as my browser.

Do you have any idea of how to fix this? Many thanks for any suggestion.

Aneliya Petkova
Telerik team
 answered on 22 Jul 2015
20 answers
688 views
I'm using an HTMLChart inside a dock,  tooltips that appear above the chart end up under the bounds of the raddock and are visibly cut off.  

I'm trying to edit the css in chrome adding a z-index:100000 at the various points that I'd have thought that the chart would be but it still fails.

Any pointers?

Regards

Jon
Harshal
Top achievements
Rank 1
 answered on 22 Jul 2015
1 answer
134 views

Hello,

 

I am using a RadTabStrip and would like to know if there is a way to set the width while using alignment="Justify"?

 

I have 2 tabs and would like to split those over the whole TabStrip... with the right side tab having a set width and the left side tab justifying to fill the hols TabStrip.

 

Could you tell me how to accomplish this?

 

Thanks

 

Tim

Aneliya Petkova
Telerik team
 answered on 22 Jul 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?