Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
777 views
Hi,

I am setting the datasource in the client side using JQuery to get the data from server. I want to use custom sorting.

 

function Grid_Command(sender, args) {

 

args.set_cancel(

 

true);/

 

 

args.get_commandName(), args.get_commandArgument());
//Do Sorting with JQuery
}

1. How do I know the sorting mode in client side (asc, desc or no sort..)?

2. Also I want to display custom sort image next to the coumn header. How do I do that?

Thanks

Anand
Top achievements
Rank 1
 answered on 15 Mar 2013
2 answers
83 views
Hi,

I have enabled headercontextmenu on my radgrid. On selecting columns, I can see all the columns with checkbox. The scrollbar works when I hower on top and bottom of the containter, but I can't see the scrollbar. Is there a property that I need to set to view the scrollbar.
I tried grid.EnableAutoScroll = true; but that didn't help.

Thanks for your time!
Raj
Raj
Top achievements
Rank 1
 answered on 15 Mar 2013
9 answers
470 views
Hi

Simple one this (I hope) but can't figure it out.

I want to resize the uploaded image and overwrite the uploaded file (in the target folder) with the resized one.

Is there any code available on how to do this?

Andy
Fabio Cirillo
Top achievements
Rank 1
 answered on 15 Mar 2013
3 answers
147 views
In English OS the pm/am displayed so smaller,but in Chinese OS the localized strings displayed too bigger to see the whole strings.How to fix that issue on occured on the chinese localilzed system?

 

Boyan Dimitrov
Telerik team
 answered on 15 Mar 2013
3 answers
179 views
I have a case where RadButton Changes checked value.  I run though the behind code.  the RadButton is checked. Then it appears as unchecked. I am using ajax.  I cant seem find out when it is changing the value.  any ideas.  Also in IE the page renders much slower and I will see the checked values for a second then it changes to unchecked.

Also, Is there a way to debug the ajax to see if the issue is coming form that?
Danail Vasilev
Telerik team
 answered on 15 Mar 2013
1 answer
149 views
How do you set the DisabledStyle for a ComboBox in Code Behind?

I tried this but it didn't work:
[ToolboxData("<{0}:RadComboBoxEx runat='server'></{0}:RadComboBoxEx>")]
public class RadComboBoxEx : RadComboBox
{
    public RadComboBoxEx()
        : base()
    {
        //this.DisabledStyle.BackColor = System.Drawing.Color.White;
        //this.DisabledStyle.ForeColor = System.Drawing.Color.LightGray;
        this.Init += new EventHandler(RadComboBoxEx_Init);
    }
 
    void RadComboBoxEx_Init(object sender, EventArgs e)
    {
        SetDisabledStyle(this.Controls);
    }
 
    private void SetDisabledStyle(ControlCollection controlCollection)
    {
        foreach(Control control in controlCollection)
        {
            if ( control is RadInputControl )
            {
                RadInputControl input = (RadInputControl)control;
 
                input.DisabledStyle.BackColor = System.Drawing.Color.White;
                input.DisabledStyle.ForeColor = System.Drawing.Color.LightGray;
            }
            else
            {
                SetDisabledStyle(control.Controls);
            }
        }
    }
Nencho
Telerik team
 answered on 15 Mar 2013
1 answer
483 views
Hi,
I using VS2012. I am using a telerik radgrid and binding the grid to customer information in a dataset(single dataset). A single customer can have many records in the dataset. Hence in my grid i want to have my first column as a expand-collapse button '(+)' column. If a single customer is getting repeated in the dataset (which i get to know from the 'customer name' column and thier unique 'customer ID' column in the dataset), i want to  display the (+) expand button, on click of expand i want to display the other records for this same customer, and on clicking collapse(-) button i want to show only one record for that customer. If the customer name is unique in the dataset then i dont want to display the expand-collapse button in the first column. Is there any way to do this ? Kindly help. Thanks in Advance.
Marin
Telerik team
 answered on 15 Mar 2013
1 answer
55 views
Hi,
How can I Show Hide properties in Set Image Properties Dialog?

Thanks,
Amr Saafan
Rumen
Telerik team
 answered on 15 Mar 2013
4 answers
162 views
I have a RadCombox bound to sql datasource with some dropdown items. There is one column called "Other". I want when users select the other, it enable a corresponding RadTextbox so they can input an item and on save button click the item get save to the other column in the database. Any example?
Ebenezer
Top achievements
Rank 1
 answered on 15 Mar 2013
5 answers
124 views
how to open popup box in orgchart drill option ? from database ?
Plamen
Telerik team
 answered on 15 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?