Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
372 views
we need to change skin dynamically for all controls in web application. i have not found appropriate solution for web application. Kindly provide a solution which would be helpful for me.
Thanks,
Rajender..
David
Top achievements
Rank 1
 answered on 02 Mar 2015
4 answers
90 views
Hi, we are in the process of upgrading some grids from Infragistics Ultrawebgrid  to Telerik Controls.  We are under some time constraints due to enforced IE11 upgrade.  The grid I am working with is very simple.  It is straight data entry of requsition details.  It can be one or many lines.  Is the RadGrid appropriate for this?  I have tried using it and am struggling a bit.  I don't want to bind to a data source as there won't be any data on inital load of the screen.  When the user is done inputting all of the data, I then want to insert detail lines into database.  How do I create a simple input grid?

Thanks and sorry for such a rookie question!
C
Top achievements
Rank 1
 answered on 02 Mar 2015
2 answers
86 views
In my tree, the leaves are the data carriers, but I want a click on a particular node to (visually) select itself and all its descending nodes. I am then using the list of selected nodes in an Ajax request.

But I haven't been able to figure out how to accomplish this.

I started out by selecting all the node's children:

var toSelect = !node.get_selected();

if (toSelect)
                node.select();
            else
                node.unselect();

 children.forEach(function(child) {
                if (toSelect )
                    child.select();                    
                else
                    child.unselect();
            });

This does indeed select all the nodes. The problem though, is that it does not show (they don't turn blue). So I was looking for a way to do this through the Telerik client side API, but failed. So I turned to Jquery:

var tree = $find("rtCustomerGroups");
var nodes = tree.get_nodes();

nodes.forEach(function(node) {
if (node.get_selected())
node.addClass("rtSelected");
else
node.removeClass("rtSelected");

The problem with this approach is that, while it works visually, the browser does not seem to like it - as it's complaining (sometimes) with a typeError saying addClass/removeClass aren't functions.

This also breaks the javascript as the next line, calling the Ajax function, never gets run.

This really bugs me, as the selection really works the way I want, including multi selection with ctrl click.

Ivan Danchev
Telerik team
 answered on 02 Mar 2015
2 answers
360 views
We are removing all Infragistic controls from our website and converting them over to Telerik.

I am looking for any tools or information on how to convert UltraWebGrid over to Telerik RadGrid.

Thanks
C
Top achievements
Rank 1
 answered on 02 Mar 2015
5 answers
229 views
I have seen and tried this code that is floating around using this code bit:

<telerik:RadDatePicker ID="RadDatePicker1" runat="server">    
<Calendar runat="server" ShowDayCellToolTips="false">        
<ClientEvents OnLoad="calendarLoad" />    
</Calendar>
</telerik:RadDatePicker>

function calendarLoad(sender, args) {    
$(sender.get_element()).find("[title]").each(function (i, el)
 {        
el.title = "";    });

}

however when i use this code, it DOES remove the title text, but the tooltip still shows up blank. we have deployed the RadTooltipManager in our Master Page. is there some way to mute these blank tooltips from the calendar? is there no setting like ShowDayCellToolTips="false" for the day cells that apply to the navigation and Day of the Week titles?
this is very frustrating. any help would be GREATLY appreciated

thanks in Advance


Web Developer
Top achievements
Rank 1
 answered on 02 Mar 2015
0 answers
75 views
I need to consume a service to CRUD operation and bind the data to RadGrid. I need to understand which of the below two methods will give me good performance or both of them would yield same results.

1. Consume service using client side and bind to the RadGrid - something like demonstrated in this url - http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/insert-update-delete-client/defaultcs.aspx

2. Consume service using code behind (.Net Code) and ajaxfying the events using RadAjaxManager

For both of the above method, the effect would pretty much look the same but i guess there should be some performance difference?





A
Top achievements
Rank 1
 asked on 02 Mar 2015
1 answer
178 views
Is there a way to assign a tooltip or otherwise uniquely identify the spin up / spin down buttons on a RadNumericTextBox?  (Nothing jumps out in the documentation as to how to accomplish this; searches have been fruitless thus far.)

When running JAWS against our application in assistive technology mode, the buttons show up in the JAWS Links List as "Spin Up" and "Spin Down" so that there's no indication of with which control they're associated (see attached).

Daniel
Telerik team
 answered on 02 Mar 2015
1 answer
157 views
Hello,

I have a radGrid that populates with groups. The group header displays the group header title and aggregate sum as expected but the group header text is not aligned under the column name. All the header text is aligned in the left side of the groupheader. My code for calculates the sum is this:

protected void RadGrid1_PreRender(object sender, EventArgs e)
        {
            RadGrid1.HeaderStyle.Font.Size = 10;
            RadGrid1.GroupHeaderItemStyle.Font.Size = 10;  
 
            GridGroupByExpression gridGroupByExpression1 = new GridGroupByExpression();
            GridGroupByField gridGroupByField1 = new GridGroupByField();
             
            gridGroupByField1.FieldName = "GroupName";
            gridGroupByField1.HeaderValueSeparator = " ";
 
            gridGroupByExpression1.SelectFields.Add(gridGroupByField1);
            gridGroupByExpression1.GroupByFields.Add(gridGroupByField1);
 
            GridGroupByField gridGroupByField3 = new GridGroupByField();
             
            foreach (totals tot in totalsList)
            {
                gridGroupByField3 = new GridGroupByField();
                gridGroupByField3.FieldName = tot.name;
                gridGroupByField3.HeaderText = " ";
                gridGroupByField3.HeaderValueSeparator = " ";
                gridGroupByField3.FormatString = " (Total: {0})";
                gridGroupByField3.Aggregate = GridAggregateFunction.Sum;
                gridGroupByExpression1.SelectFields.Add(gridGroupByField3);
            }
 
            RadGrid1.MasterTableView.GroupByExpressions.Add(gridGroupByExpression1);
        }

I need to align the sum under the column name inside the groupheader text.

Thank you
Daniel
Telerik team
 answered on 02 Mar 2015
1 answer
113 views
When you select a file it then uploads the file and shows the remove button next to it. If you press the remove button the file disappears but when you do a postback and the fileupload event fires , it has the file that was deleted  in the collection and moves it to the target folder. This is in the 2015.1.225.45 version. It did not do this in earlier versions.
Plamen
Telerik team
 answered on 02 Mar 2015
1 answer
248 views
I have radgrid and in the GridTemplateColumn iteam template  I have comboBox. On button click event, I want to get the selected value of the comboBox inside radgrid. I have used following jquery code but it not giving me right output

  $("#RadGrid1 tr").each(function () {
                            var testBit = $(this).find("select[class*=ddtestCombox]").val();
                            }
                        });

how do I accomplished this task using jquery?

Thanks
Hristo Valyavicharski
Telerik team
 answered on 02 Mar 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?