Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
94 views
In a previous forum thread ( http://www.telerik.com/community/forums/aspnet-ajax/grid/is-this-conventional-practice-with-a-radgrid.aspx ) 'Marin' suggested that I could move the RadComboBoxes to the ItemDataBound event.

First of all, keep in mind that the RadComboBoxes have conventional Bind statements on their SelectedValue property and that they are in a RadGrid FormTemplate.

When I tried to move their population calls to ItemDataBound (within a 'if (e.Item is GridEditFormItem && e.Item.IsInEditMode)' block) it crashed.

So I suppose my question has two parts.

First: Is there a demo that does this?

Second: How do I prevent a RadComboBox from crashing on a bad incoming value, i.e. one that isn't in it's list? 
(This is more of a deja vu thing.  I'll swear I've done this before but I can't find the code...)
Boris
Top achievements
Rank 1
 answered on 13 Nov 2012
2 answers
191 views
Is it possible to get data items in code behind if grid visible is False?
For Each dataItem As GridDataItem In rgd_Tasks.Items
Allan
Top achievements
Rank 2
 answered on 13 Nov 2012
3 answers
144 views
I need to display grid with pending changes to a set of records. The way I envisioned it, each master row would be a record itself. When you expand the row, the pending changes would be presented in a detail row. However, since each row will have different pending changes, the layout of this detail row would be different. I wanted to hide/display columns of each individual detail grid depending on pending changes to their master row record. So, if there's no pending change to a property, the corresponding column on this row will be hidden.  I've attached the picture illustrating my attempt.
I can't find a way to hide columns of the detail view for an individual row and I don't know if it's even possible. Does layout for each detail view have to be the same? Is detail view even a right way to accomplish this? Should I use nested view instead? 
I'd appreciate help pointing me to the right approach with some tips on what event handlers I should use to accomplish this.
Thanks,
Alex
Daniel
Telerik team
 answered on 13 Nov 2012
1 answer
136 views
Hi,

I am using Telerik Rad Controls for ASP.net Q3 2012 and I am using RadChart with the Stacked bar,Stacked Area series.When i am bind the one the Bar with negative value then all the Bar in the series coming to the Negative Area in the chart.For example in my chart is having Passed Planned,Failed and descoped all of them in stacked format. If i am binding with Planned with Negative value then all other Passed,Failed,Decoped also coming to negative part in the chart.
I have attached the screenshot also for your reference. Please suggest me to resolve the issue.

Regards,
Kannan S
Petar Kirov
Telerik team
 answered on 13 Nov 2012
6 answers
144 views
I am using a RequiredFieldValidator and a ValidationSummary within a usercontrol within RadGrid EditForm.

The validation works fine, but I have set the RequiredFieldValidator to show an * beside the control being validated (Text="*") and the ErrorMessage to something more discriptive: ErrorMessage="Name is required."

The problem however is that when the cotrol errors out, ErrorMessage shows in both the ValidationSummary and next to the erroring control where the * is expected per the property  (Text="*"). I need the * to show because it is better for my layout and consistent with validation outside the radgrid elsewhere on the page. The longer more verbose Message="Name is required."
messes up the layout.

Has anyone had this problem before. I have never seen the RequiredFieldOperator behave like this before so I can only see the RadGrid as being the problem.

Someone please help.
JJ
Top achievements
Rank 1
 answered on 13 Nov 2012
1 answer
169 views
For a bar chart, as the rotation angle for the x axis item label increases, the label continues to be centered on the series item. When the x axis becomes crowded, it is impossible to determine what label is associated with a series item. Other vendors products have the ability to align the upper end of the x axis item label with the series item that it is associated with. Is there a way to accomplish this either the RadChart or RadHtmlChart?
Petar Kirov
Telerik team
 answered on 13 Nov 2012
1 answer
95 views
I have followed the example on the site for implementing the RadFilter with a grid.  The control displays, but I get the following error:

 Line: 6
Error: Sys.WebForms.PageRequestManagerServerErrorException: Parameter cannot be null or empty.
Parameter name: fieldName 

This occurs whenever I click the add expression button.

Any help would be appreciated.

Thanks...Brian
Martin
Telerik team
 answered on 13 Nov 2012
1 answer
79 views
Just had something odd happen. 

I have a fairly conventional RadGrid with a FormTemplate popup editor. This has been working normally.

On the FormTemplate is a RadComboBox and I've been trying to attach a function call to the OnClientLoad event with the eventual intent of doing some intialization to the popup.

This function is defined as follows:

function cbLoad(sender) {
    var curVal = sender.get_value();

    if (curVal == 3) {
       var editForm = $find("<%=RadGrid1.ClientID%>").get_masterTableView().get_editItems()[0].get_editFormItem();                                
     }
  }


It appears that the $find call is what's disabling the popup.  If I comment that out, the popup displays normally.

Martin
Telerik team
 answered on 13 Nov 2012
1 answer
272 views
I have grid which works fine on firefox, IE8,9 but in chrome some grid column header overlaps to other columns header. all the columns have width in px, width for grid is set to 100% as I want horizontal scrollbars. also I have used itemStyle-wrap="false". plz check attached image. any suggestion to tackle this would be helpful.
Pavlina
Telerik team
 answered on 13 Nov 2012
1 answer
104 views
Hi everyone,

I have a problem to catch values in ScatterLineSeries with the Event .get_value()
I need to get the X value and de Y value.
Any ideas?

thanks in advance

Jaime
Software Engineer
Filupa
Top achievements
Rank 1
 answered on 13 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?