Telerik Forums
UI for ASP.NET AJAX Forum
11 answers
170 views
Hi All,

I am getting javascript error "object doesnt support this property or method" when I am trying to show RadGrid in SharePoint 2010 site.
 
Given below are the steps followed.
1. Created a web part which binds sample data to the RadGrid in CreateChildControls() overriden method.
2. Deployed the web part in SharePoint server.
3. Added the web part to the web part gallery.
 
Now when trying to add the web part in the page, it throws javascript error. Debugging the error found that this is thrown from Sys.Application.add_init()
{
$create(Telerik.Web.UI.RadGrid,........)
}
 
Can you please help me out in resolving this?

Note: Telerik.Web.UI version is 2008 and SharePoint 2010 Beta version.

Thanks in advance.
vinitha
Top achievements
Rank 1
 answered on 22 Jul 2010
3 answers
195 views
Hi,
    i have a scenario where i am require to invoke the context menu by a button within a radgrid. i have seen there are countless examples of achieving this using onRowContextMenu which is invoked by right clicking on the grid instead. Is there a way to wire up one of the GirdButtonColumn to display the context menu? and still able to know which tableView, and rowIndex trigger the selected Menu?


thanks,
Adrian.
Adrian Eng Ying Ming
Top achievements
Rank 1
 answered on 22 Jul 2010
1 answer
120 views
Hi

This relates to a promlem I have with the RadMenu control that I posted on the 13 July, but has not been answered
http://www.telerik.com/community/forums/aspnet-ajax/menu/multi-column-sitemap-datasource.aspx

It looks like the same thing is happening here. (but no security trimmimg)

How do I implement multi colums when using a data source?

Andy
Helen
Telerik team
 answered on 22 Jul 2010
2 answers
100 views
When I try to disable the a SplitButton in the toolbar, it is not working as I would expect.

My problem is this :

 when I click on an item of the SplitButton, I want the SplitButton to be disabled (Not just the item, the entire SplitButton). When I clcik the item that was already selected, it's working fine but with any other one the SplitButton is grayed but I can still acces it and click the other item(see file). When I try to re-enable it the first item is still disable. I can easily go around this by disabling all the items, but it's probably not how it's supposed to be.

Hope you fix this, or tell me I'm doing something wrong.

Js code :
function buttonClicked(sender, args) {
    var toolbar = $find("<%= RadToolBar1.ClientID %>");
    var items = toolbar.get_items();
    items.getItem(0).disable();
}
Yana
Telerik team
 answered on 22 Jul 2010
1 answer
59 views
I want  this type of functionality.
"http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridincombobox/defaultcs.aspx?product=combobox"

the only difference is that i want to show data in combo when someone write 3 digits in it.and data show in combo as normal as it  show and not in gridview.
Yana
Telerik team
 answered on 22 Jul 2010
2 answers
72 views
I was looking into using content templates and the demo does not seem to be working. I am unable to collapse or expand items in FireFox 3.6.6 or IE8.
telerik demo

I am having the same result when implementing the code locally with the latest Telerik release: Telerik.Web.UI_2010_2_713_Dev_hotfix

Chris
Nikolay Tsenkov
Telerik team
 answered on 22 Jul 2010
1 answer
138 views
Hi,

I have one grid which contain MasterTableView and detailtableview.
I set FrozenColumnsCoun property in client settings.
It is work for MasterTableView only not for detailtableview.

Plz provide the suggestion ASAP.

Regards,
Parthesh
Pavlina
Telerik team
 answered on 22 Jul 2010
7 answers
207 views
Hi,

I am using the RadScheduler in a project, which populates using Web Services. Most of my web service functions accept a "schedulerInfo" parameter, which is very useful for dynamically selecting items to display.

Effectively on my client, I use:

function schedulerPopulating(sender, eventArgs) {
    var s = eventArgs.get_schedulerInfo();
    s.EngineerID = $("input[id$=_EngineerID]").val();
}

Which is triggered by the OnClientAppointmentsPopulating="schedulerPopulating" attribute of the RadScheduler.

Clearly I use this to pass the ID of my engineer so that he only sees his jobs on the screen.

The problem is, that although GetResources gets called, I can't work out how to pass my VisibleStart/VisibleEnd and EngineerID to the GetResources web service function. "OnClientResourcesPopulating" would appear to be appropriate, and when I have changed the population mode to Client, this does work, and I can pass my own variables, although other stuff doesn't work (grouping by resource).

How can I get this callback to work AND group by resources using a timeline view AND web services?

Alternatively, how can I get the Visible date range and my custom parameters to pass in to the getResources command? Can I hook the call in any other way?

Thanks in advance for your help.


Peter
Telerik team
 answered on 22 Jul 2010
1 answer
139 views
Hi,
I have created panel using below syntax <asp:Panel id="panel4" style="z-index:4;top:270px;left:270px;width:320px;height:200px;position:absolute;"  Enabled="True" CssClass="Panel" TabIndex="4" Visible="True" runat="server" ToolTip="" BackColor="" BorderStyle="NotSet" BorderWidth="0px">  <div style="clear:both"></div></asp:Panel> and added rounded corner extened control using <cc1:RoundedCornersExtender ID="RoundedCornersHeaderpanel4" Corners="All" runat="server" TargetControlID="panel4" BorderColor="Black" Enabled="True" Radius="10"></cc1:RoundedCornersExtender>

Issue: At run time   there is  a gap between border and corners.iam using doctype of this" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >"
if i changed the doc type to below "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml" >" its working fine.

Is there any solution for this with out changing the doc type?
Advanced thanks for your help.



thanks,
Ravi.
Prangadj
Top achievements
Rank 1
 answered on 22 Jul 2010
1 answer
126 views
In my Web app, I use a RadTextBox to display a XML file.
This file could be modified, then saved by clicking on a button.

But, when I click somewhere else in a control that send an AJAX request, I receive this error :

Microsoft JScript runtime error: 'length' is null or not an object

I know that it is possible to disable page request valdiation, but I wonder If there is another way to do this (by code) ?

Thanks.
Maria Ilieva
Telerik team
 answered on 22 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
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?