Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
112 views
Hello guys.

I'm having a problem when using self hierarchy. I'm using this example:
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/selfreferencing/defaultcs.aspx

I'm doing exactly the same way as it is in this example, but when I do a rebind on the grid, I get the following error:
"No applicable indexer exists in type 'FilesResult'

FilesResult is my datatype of entity framework that is retrieved from the db.

I tryed to use some like this:
 if (Assembly.GetAssembly(typeof(ScriptManager)).FullName.IndexOf("3.5") != -1 || Assembly.GetAssembly(typeof(ScriptManager)).FullName.IndexOf("4.0") != -1)
        {
            RadGrid1.MasterTableView.FilterExpression = "it.arq_int_codigo_pai = Convert.DBNull";
        }
        else
        {
            RadGrid1.MasterTableView.FilterExpression = "arq_int_codigo_pai IS NULL";
        }
but I received the error: 

Operator '=' incompatible with operand types 'Int32?' and 'Object'

 
What can I use when using entity framework?

What's wrong?

Regards.
Shawn
Top achievements
Rank 1
 answered on 05 May 2011
5 answers
181 views
Is it possible (and if so how) to only show the total of the bar as the label above it, on a stacked bar chart.
If I turn on item labels, it puts a label for each stack segment, where as I want just the total of all segments to display above the bar.

Travis
Top achievements
Rank 1
 answered on 05 May 2011
10 answers
944 views
Hi!  I have an issue where RadComboBoxes are not displaying properly on an asp.net page.  The combo box looks more like a text box and has the word 'select' in plain text to the right of it.  When you click on what is supposed to be the combo box, the expected data does appear but there is no background to the combo box and the list of items from the combo box appear directly over text in the background.

This issue only recently started happening as the combo boxes did previously appear fine.  It's also only happening on one page, combo boxes on other pages display as expected.  I did test in the four major browsers (FF, IE, Chrome, and Safari), and only in IE do the combo boxes display properly on the page having issues.

I tested using the asp.net DropDownList control instead of the RadComboBox, and the DropDownList control displays properly as a combo box and does not appear to have the same issues as the RadComboBox.

As a side note, we did just recently upgrade to the latest version of the RAD/Ajax controls

I was wondering if someone could suggest what/where to start troubleshooting.  I tried attaching screenshots (2 gif files, sizes 700 KB and 621 KB) but keep getting the message "Please upload valid files: .gif,.jpg,.jpeg,.png smaller than 2MB."  I even tried attaching only one file and still received the error.

Thank you!
Neha
Top achievements
Rank 1
 answered on 05 May 2011
26 answers
346 views
Hello all,
I have some IE issues question:

We use Rad Editor in MOSS 2007 as a Web Part.
I changed the color of the "a" (links) in the CSS file EditorContentArea.css (under wpresources ... custom).
When I add a link in IE 8, the color changes just fine (in edit mode and at render time).
but, in IE 7, in edit mode, the link color is one color, and in render time, it's the right color (from the EditorContentArea.css).

Does anyone know anything about it? :)

Thanks in advance.

Tal Winter
Henrik
Top achievements
Rank 1
 answered on 05 May 2011
0 answers
93 views
i'm using radtabstrip using 6 tab.
one of my tab i'm using radgrid with commanditemdisplay=top.
if the radgrid have saved anything after i going to save the grid.
tab have common save.

but my question's.
if the radgrid saved anything.
how i'm getting the value whether that radgrid bind anything.'
value=1
not bind anything value =0 how i check
reeply as soon as possible
Thanks,
Mohamed.
mohamed
Top achievements
Rank 1
 asked on 05 May 2011
1 answer
112 views
Hello,

we have the following problem:

We use RadComboBox controls with LoadOnDemand and ShowMoreResults.

In some circumstances we need to reset the comboboxes to items added at server side. This seems not so easy as the load on demand and show more results features add the items via AJAX calls and client side api. So the items collection on the server and the client are out of sync.

My question: Ist there a sample ore an easy way to bring server and client side in sync after loading some items via AJAX and adding it on client side?

Thank you in advance

Regards

Rolf Cerff
Cat Cheshire
Top achievements
Rank 1
 answered on 05 May 2011
1 answer
105 views

how to set the Postback property only for child nodes(node that do not have child nodes), and parent nodes should not trigger server event in RadTreeView? Please help me to achieve this...

Thanks in Advance
Robert Alphonse Dennyson
Kate
Telerik team
 answered on 05 May 2011
1 answer
96 views
Hello, I'm running version 3Q 2009 of the ASP.NET AJAX controls. I wanted to implement the Rotator with index buttons as in this tutorial

http://demos.telerik.com/aspnet-ajax/rotator/examples/pagerintegration/defaultcs.aspx

however, I'm getting a javascript error Object does not support method or property when the JS function tries to excute the line
oRotator.set_currentItemIndex(index);

I did a "Quick Watch" using the visual studio debugger and noticed that that this function is missing from the available functions. Is this feature not available in 3Q 2009 version? if not is there a workaround to display buttons to represent each slide and then have those buttons clicked to display the corresponding slide in the rotator?

function showItemByIndex(index)
{
    // get reference to the rotator object
    var oRotator = $find("<%= RadRotator1.ClientID %>");
 
    // Set currently shown item by its index
    oRotator.set_currentItemIndex(index);
}

Thanks
Cliff
Niko
Telerik team
 answered on 05 May 2011
27 answers
359 views
hi!
        In radupload control, when press add button , just fileinput box only appear... when click each time add button in radupload,  I want two textbox also....can anyone help me?..thanks
Peter Filipov
Telerik team
 answered on 05 May 2011
4 answers
75 views
Hi guys,

I just noticed that ShowOnFocus doesn't work properly in my solution anymore.
This seems to have happened after I update to Q1 2011.

When the editor gets focus, it displays an empty toolbar.

As soon as I remove the ShowOnFocus attribute the toolbar works as expected.

So far I've tested this in Chrome and FF, looks the same in both browsers.

<edit>
I checked the demos and I see nothing has broken there, so it must be something else.
I still have no idea what it might be though.
</edit>

Regards,
-DJ-
-DJ-
Top achievements
Rank 1
 answered on 05 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?