Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
169 views
Hi,

I have a problem using Telerik RadGrid.
When I apply a filter on a data column, I use the filter expression as a Linq expression.
So at the server side I parse it with Dynamic Linq in GridNeedDataSource handler.
The problem is that when I specify "Contains" as a filter, I receive the following as "Linq expression":

ColumnName1 = 1227 && (iif(ColumnName2 == null,\"\", ColumnName2).Contains(\"abc\"))

This expression does not get resolved by the OData request.

This issue start coming when I updated the dll to version 2014.2.618.35.
Earlier I was using version 2012.1.215.35 which was working fine for filtering. Filter expression generated by this old dll was as below:

ColumnName1 = 1227 && (ColumnName2.Contains(\"abc\"))


Thanks
Marin
Telerik team
 answered on 22 Jul 2014
1 answer
70 views
Hello,

Is it possible to set the group column count while using the WCF Service Binding? I tried various ways, but its not too obvious how to set the columns in this configuration. GroupColumnCount in the ascx control seems to be ignored.

Any advice is appreciated.

Thanks,
Andy
Plamen
Telerik team
 answered on 22 Jul 2014
1 answer
74 views
Hi All,

Following this demo, http://www.telerik.com/help/aspnet-ajax/pivotgrid-custom-data-calculations.html, I'm go one step further to create the calculated items programmatically in c# (instead of aspx). 

Here's the part of code under onLoad event that I've tried:

            PivotGridCalculatedItem newCalulation = new PivotGridCalculatedItem();
            newCalulation.GroupName = "Testing: XXYY";

            foreach (PivotGridField GridField in RadPivotGrid1.Fields)
            {
                if (GridField.FieldType.ToString() == "PivotGridColumnField" && GridField.UniqueName == "CreationYear")
                {
                    (GridFieldas PivotGridColumnField).CalculatedItems.Add(newCal);
                }
            }

But it's not working an giving me an 'Object reference not set to an instance of an object.' error. Please advise.

Best regards.


Konstantin Dikov
Telerik team
 answered on 22 Jul 2014
3 answers
183 views
Hi

I tried this but didn’t succeed

http://www.telerik.com/help/aspnet-ajax/grid-model-binding-and-strongly-typed-data-controls-support.html


Could you make a complete sample of this.


Thanks in
advance.

Kostadin
Telerik team
 answered on 22 Jul 2014
1 answer
278 views
On any horizontal chart I create that has values below zero, the x-axis labels are overlapping the negative value section of the chart.

As you can see from the first attachment (sample1.jpg), the x-axis labels are always justified to the left of y's zero line (not to the left  of the entire chart).

I tried abbreviating my labels but all that happens is the shorter label names still justify up to the y zero line (sample2.jpg).

This only happens on charts that contain negative y-series values. 

On charts with all positive values there is no graph below zero thus the labels appear correctly. (sample3.jpg).

I have tried a number of things to fix this (setting margin, setting the y-axis series min value to a fixed number, ,etc) but I cannot seem to get the labels to be justified to the left of the entire chart (not to the left of the y zero value).





Danail Vasilev
Telerik team
 answered on 22 Jul 2014
12 answers
973 views
2010.2.809.35   VS2008 / IE8

In the grid if I use this for GridBoundColumn it displays fine, but if my value is blank, I would like the cell to display balnk value instead of a single $ sign.    Help?

DataFormatString="${0:$###,###.##}"
Asutosh
Top achievements
Rank 1
 answered on 22 Jul 2014
1 answer
149 views
I have a RadGrid with a MasterTableView and the Insert/Cancel of such are either LinkButtons or PushButtons which are ugly. I want to make them look like the default RadButtons that I am using across the rest of the site. Right now my only solution is to use screenshots. Is there a better built-in way to do so?
Princy
Top achievements
Rank 2
 answered on 22 Jul 2014
6 answers
327 views
 hi

in ASP.NET AJAX (NOT SilverLight or ... Just For ASP.NET ajax):
How can I drag n drop multiple gridview rows to Treeview node?
How can I  drag n drop between  gridview and treeview?
Please Help me.
thanks

Shinu
Top achievements
Rank 2
 answered on 22 Jul 2014
1 answer
260 views
Is there a way to extend the Group Sizes option to the decimals?  Based on my testing, it doesn't appear to work with the decimals.  Deal with small numbers all the time and for readability it would be great to see something like this:

1.000 343 234 345

Just curious if there is a way to accomplish this.

Thanks,

Richard
Princy
Top achievements
Rank 2
 answered on 22 Jul 2014
11 answers
545 views
HAI  All,


how to write the code when i click on Update button it will show one RadAlert box saved sucessfully if i click on ok button it will redirect to some other page with some id
see this code once 
ASPX:
 
   <cc1:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true" AutoSize="true" CenterIfModal="true" Modal="true">
          </cc1:RadWindowManager>
 
C#:
 
RadWindowManager1.RadAlert("You have Updated the item successfully!", 250, 150, "", "", "");


if i click on "ok" button in radalert it will redirect to some other page like 
 Response.Redirect("ItemDetails.aspx?ItemID={0}", intItemId);
Shinu
Top achievements
Rank 2
 answered on 22 Jul 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?