Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
67 views
Hello,
is there any way using telerik CDN in project, without using Telerik.Web.UI.dll or without Telerik.Web.UI.Skins
i cant make it work, can you provide sample code.
Abdullah
Top achievements
Rank 1
 asked on 01 Jan 2013
6 answers
262 views
Hi,
I try to find a way to update the RadComboBox on client-side with an existing JavaScript array.

To lower the number of server requests we introduced a JavaScript file where we created arrays of countries, states and cities. Those elements won't change so a server request is not necessary. Now we'd like to use the RadComboBox for selecting the country, state and city. However I haven't found an easy way to do this.

We have:
- ASPX file with 3 RadComboBoxes for country, state and city
- JavaScript file with array of countries, states and cities

When the user selects a country, a javascript method should choose the correct state array and fill the state combo box with the possible items. Same for the state and city.

Does anyone have an idea if and how we can do this?

Thanks,
Hilmar
Rakshit
Top achievements
Rank 1
 answered on 01 Jan 2013
1 answer
74 views
I am using the RadDock control on a client website page where the decorator is also used.  The Decorator has the capability to turn off the feature for certain control types.  Is there any way to turn off the Decorator for a RadDockZone/RadDock?

Thanks in advance!

Lynn
Lynn
Top achievements
Rank 2
 answered on 31 Dec 2012
1 answer
118 views
My user has asked to add the ability to hit ctrl+a to run the Add New Record link on the grid.  How can I provide this capability?

On a HRef html attribute, I would simply add a accesskey setting.  How can I do this in the RadGrid?

Thanks for your help.
Elliott
Top achievements
Rank 2
 answered on 31 Dec 2012
1 answer
865 views
"a Datatable named 'table' already belongs to this dataset" is the error I am getting in a message box on my page. Here is the scenario of what is going on. I am saving the users grouped columns in my database. Upon reentering the page I pull from the database and regroup the grid using the stored values. Example of stored value: Balance Type|balance_type - First item is the name I use to display and the second is the actual field name that we want to group on. This works beautifully. They can save this and renter the grid and the settings is there. BUT!!! When the user selects to change the grid page size is when it generates the above error. I cannot determine where this is happening or why.

I am using needdatasource to bind my data from the SQL server and settting the grids settings after I populate the grid. I only get the settings from the database on the first load of the page because I don't want to stomp on the users changes every time they do something that might cause a postback to the page, that would be annoying.

So any ideas on what this is or why it is happening would be greatly appreciated.
byoung
Top achievements
Rank 1
 answered on 31 Dec 2012
1 answer
44 views
Hi,

I've just been alerted by a user that the latest version of the RadTreeView is now rendering extra height on the page - using the Black skin.

If I set the row height to 20 px I seem to end up with an extra 1px border being added.  Interestingly when I do a mouse over the border for that row collapses and the row position moves up and to the left.

Please let me know what CSS hack I can apply to remove this behaviour.  I've played around with the CSS tools in Chrome but couldn't find the problem..

Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 31 Dec 2012
7 answers
123 views
Is it possible to change the view of the row when you drag it? By default you get to see a full floating row when you start to drag it. I would like to change this to an icon, basically the way Windows Explorer works when you drag a row from the details view.

I'm looking at the row drag started client side event to achieve this but not sure if that is correct or if indeed this is possible?
Prasanna
Top achievements
Rank 1
 answered on 31 Dec 2012
4 answers
314 views
Hi There,

I'm trying to add some extra GridTemplateColumns on my Page_Init using my own custom template class. When the page loads the first time, everything is fine and dandy. Yet after a postback from a filter or paging command, things go horribly wrong. More specifically, the extra columns that I i'm adding on Page_Init remain, but for every postback, an extra set of blank columns are added to the grid. My initial thought was to just wrap my Page_Init inside a if(!isPostBack) statement, but then no extra columns show at all after a postback. Please help!

Here's my Page_Init:

protected void Page_Init(object sender, EventArgs e) 
    { 
        ListBuilderTableAdapters.listsTableAdapter listAdapter = new ListBuilderTableAdapters.listsTableAdapter(); 
        ListBuilder.listsDataTable dt = listAdapter.GetActive(); 
 
        foreach (ListBuilder.listsRow dr in dt.Rows) 
        { 
            GridTemplateColumn gtc = new GridTemplateColumn(); 
            gtc.HeaderText = dr.list_name; 
            gtc.ItemTemplate = new MailingListTemplate(dr.list_name, dr.id); 
            mlRadGrid.MasterTableView.Columns.Add(gtc); 
        } 
    } 

... and my custom template looks like this.

public class MailingListTemplate : ITemplate 
    { 
        protected string Text; 
        protected int listID; 
 
        public MailingListTemplate(string Text, int listID) 
        { 
            this.listID = listID; 
            this.Text = Text; 
        } 
 
        public void InstantiateIn(Control container) 
        { 
            HiddenField hf = new HiddenField(); 
            hf.Value = listID.ToString(); 
 
            CheckBox cb = new CheckBox(); 
 
            container.Controls.Add(hf); 
            container.Controls.Add(cb); 
        } 
    } 

Also, my NeedDataSource uses the same datasource that I bind to on my Page_Load:

protected void mlRadGrid_NeedDataSource(object source, GridNeedDataSourceEventArgs e) 
    { 
            mlRadGrid.DataSource = recipientAdapter.GetUnique(); 
    } 

Shinu
Top achievements
Rank 2
 answered on 31 Dec 2012
1 answer
64 views
hi there,
     i have set sorting in grid. its working good. but i want to do away with these sorting background colors. can somebody help me out pls. thanks in advance

savyo
Shinu
Top achievements
Rank 2
 answered on 31 Dec 2012
1 answer
84 views
Hi,
  I have a problem setting the allowfiltering to true in radgrid. Filtering is appearing in all the columns. How do I disable filtering in the first 2 bound columns.

thanks
Allen
Shinu
Top achievements
Rank 2
 answered on 31 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?