Telerik Forums
UI for ASP.NET AJAX Forum
12 answers
765 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
110 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
104 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
802 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
161 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
3 answers
749 views

The latest release introduces what appears to be a bug with RadButton. When ButtonType is set to LinkButton and target=_blank, the button will open two new tabs in browser instead of one. This behavior is easily reproduced with the following:

 <telerik:RadButton ID="radbtnVehicleList" runat="server" Text="Google" Skin="MetroTouch" Width="200px" NavigateUrl="http://google.com" ButtonType="LinkButton" AutoPostBack="false" Target="_blank" ></telerik:RadButton>

 

Is there a work around?

Charles

Danail Vasilev
Telerik team
 answered on 22 Jul 2015
3 answers
94 views

Hello,

Please try this to understand :

1. Go to the Telerik demo here :

http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/server-sideapi/initialpathandpaging/defaultcs.aspx

2. "All Images" folder is selected by default. Increase the slider to show the last page (the third).

3. Change folder and come back to previous "All Images"

=> You can see that last page is always shown but slider index is 1 (instead of 3)...

How to fix it please ?

Vessy
Telerik team
 answered on 22 Jul 2015
2 answers
152 views

Hi guys,

I am having a RadMenu as navigation bar for my pages, and I want it to push down contents below it down whenever it expand.

I tried to modify style css, but then it becomes clunky and not work as properly. Is there an option or a way to do it with RadMenu?

Anh
Top achievements
Rank 1
 answered on 22 Jul 2015
1 answer
105 views

Hi Team,

 

We are using the ReportViewer for process one of our Telerik Report ,But it seems to be taking more time to Display or generate PDF Report file.Attached  analysis details here to show the Time taken to prepare the Report PDF file vs the no of page.

 

Kindly find the attached Report Design file and suggest the why to reduce the report Processing time.Here no option to attach the Report design page

 

Kindly Let us know if you need more details

 

Tha

Sarath

  

Stef
Telerik team
 answered on 22 Jul 2015
2 answers
92 views

Hello,

I have a problem with a radpivotgrid binded to a OLAP Cube using ADOMD.

in my example, a rowField displays cities and when I want to filter values, the list of possible values in the filter window is limited from letter A to F, as you can see in the attached file.

many values are missing in the filter window.

 

is there a limit for the displayed values in the filter window? if yes, is it settable?

thanks.

Maria Ilieva
Telerik team
 answered on 22 Jul 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?