Hi everybody,
I need solution very badly and very very quickly,
I used radcontrols in my dotnet application, those are working fine, But i placed same page in sharepoint webpart those are not working.
My senario is, i used RadGrid, RadButtons, RadWindows, RadMenuContext and other controls in my application, those are working fine. after that i had taken this page and placed in my sharepoint site and also taken dll of that page in "bin" folder of my site. Finally i had taken changes of web.config file form telerik site.
I had taken pageviewerWebpart and placed my page in that webpart, but HierarchicalGrid woriking fine but ContextMenu not comming. And radwinds not working. I got the error "Sys is Undefine".
The above code i used for ContextMenu.
Above code i used to open radwindow.
Those two are working fine in my dotnet application, but not sharepoint site.
Please give me the quick solution.
I need solution very badly and very very quickly,
I used radcontrols in my dotnet application, those are working fine, But i placed same page in sharepoint webpart those are not working.
My senario is, i used RadGrid, RadButtons, RadWindows, RadMenuContext and other controls in my application, those are working fine. after that i had taken this page and placed in my sharepoint site and also taken dll of that page in "bin" folder of my site. Finally i had taken changes of web.config file form telerik site.
I had taken pageviewerWebpart and placed my page in that webpart, but HierarchicalGrid woriking fine but ContextMenu not comming. And radwinds not working. I got the error "Sys is Undefine".
function RowContextMenu(sender, eventArgs) { //alert("RowContextMenu Method"); var menu; var ownerTable = eventArgs.get_tableView(); if (ownerTable.get_name() == "DELIVERYDETAILS") { menu = $find("<%= RadMenu1.ClientID %>"); } else if (ownerTable.get_name() == "TASKS") { menu = $find("<%= RadMenu2.ClientID %>"); } document.getElementById("radGridClickedRowIndex").value = eventArgs.get_itemIndexHierarchical(); document.getElementById("radGridClickedTableId").value = ownerTable._data.UniqueID; menu.show(eventArgs.get_domEvent()); }The above code i used for ContextMenu.
function OpenWindowAddNewTask() { Sys.Application.add_load(addNewTaskWindow); } function addNewTaskWindow() { var WSID = document.getElementById("hidWSID").value; var url = "AddNewTask.aspx?WS_ID=" + WSID + "&TaskID=0"; var oWnd = radopen(url, 'RadWindow1'); Sys.Application.remove_load(addNewTaskWindow); }Those two are working fine in my dotnet application, but not sharepoint site.
Please give me the quick solution.