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

I am working on Hierarchical RadGrid. My Grid has four level of Hierarchy. Since the columns to be rendered in Grid is not constant, all the Grid Columns are created dynamically and datasource is attched dynamically. I want to Set HierarchyLoadMode to ServerOnDemand for all levels. But on doing so it is allowing me to view only first level of Detail. On expanding the First level Master Grid collapses and hence I am not able to traverse the full hierarchy.

Also, It should allow to keep multiple columns expanded at a time for data comparison.

Regards



Pavlina
Telerik team
 answered on 19 Mar 2010
3 answers
144 views
What is the best way to get Javascript Intelliense working on the controls within an client-side event when an item is passed into the event instead of the entire RadControl?  For example, in the RadMenu's OnClientItemClicking event, the second parameter passed in has a "get_item" functioin that grabs the RadMenuItem that was clicked. Is there a way to get Intellisense working on that item?  An example would in the following snippet from the docs, where I would love to get Intellisense on the "item" variable.

Thanks,
Chris

<script type="text/javascript">  
function onClicking(sender, eventArgs)  
{  
  var item = eventArgs.get_item();  
  var navigateUrl = item.get_navigateUrl();  
  if (navigateUrl && navigateUrl != "#")  
  {  
    var proceed = confirm("Navigate to "+ navigateUrl + " ?");  
    if (!proceed)  
    {  
      eventArgs.set_cancel(true);  
    }  
    else 
    {  
      eventArgs.set_cancel(false);  
    }  
  }  
}  
</script>  
 
Dimitar Milushev
Telerik team
 answered on 19 Mar 2010
4 answers
132 views
I am using the sample Drag-n-Drop integration code and have added a resource table called "Rooms". Everything works ok until I try to drag an item from the RadGrid while the scheduler is grouped by the resources. I am am using SQLDataSources. I would assume that I need to retreive the resource id from the appointment area. Is there an example showing this functionality or could you point me in the right direction??

Thanks,

Tom 
Peter
Telerik team
 answered on 19 Mar 2010
3 answers
236 views
Hi,

I am in need of some help with filtering on my radgrid.

I have a textbox outside of the grid that alters the grid.mastertableview.filterexpression and a filter on one of the columns in the grid that also alters the filterexpression. This setup is used to combine the two "filters" into one filter.

To create the columnfilter I use the following example: http://www.telerik.com/help/aspnet-ajax/grdfilteringwithdropdownlist.html

In the Itemcommand = "Filter" I set the the mastertableview.filterexpression but when debugging the page I see that setting the filterexpession there does no difference as it seems to change again before rendering the grid.

The search-textbox works correctly by altering the filterexpression and rebinding the grid when event OnTextChanged is triggered.

The columnfilter is altering the filteringexpression on its own somewhere without telling me. ;) Does anyone have any idea where this happens? I dont see any need of attaching code as I have followed the example above almost exactly.

Thanks.
Robert Bergbrant
Top achievements
Rank 1
 answered on 19 Mar 2010
1 answer
72 views

Hi, I have the below code in Javascript & its open popup window using radopen

 

<

 

 

 

script language="Javascript">

 

 

 

 

 

var

 

radOpenWindow = window.radopen("popupwindow.aspx", "<%=preview_popup.ClientID%>");

 

radOpenWindow.add_close(OnClientClose);

radOpenWindow.show();

 

<

 

 

 

script language="Javascript">

the above code works on IE. But when i try on Firefox its load the page and close the window automatically. i.e) close while loading the page.

can you please advice solution for this issue. I want to execute some code when i close rad open window.

Thanks,
Senthil Kumar 

 

 

 

 

 

Georgi Tunev
Telerik team
 answered on 19 Mar 2010
1 answer
96 views
HI all,

    i am new to telerik controls. i am trying out sorting and filtering in radgrid. my datasource is a list of objects. databinding on pageload is working fine. for paging also similar to asp grid i wrote a server side function to rebind and it is alos working fine. but problem is with sorting and filtering. when i click on the header text the grid disappears and only a strip appears. i understand that this is the case when the grid is not binded.

i tried custom sorting method also but no progress. basic sorting functionality is enough in my case.

    i checked all the properties also. allowsorting is set to true. what else i have to do. please guide me.

Regards,
Saravanan
Pavlina
Telerik team
 answered on 19 Mar 2010
2 answers
461 views
Hi,

I have a RadListBox with the Checkboxes property set to "False" and the SelectionMode property set to "Multiple". I want to Click on an Item in the List box and have it selected and then click another Item and have it selected and so on.. So,all the Items I click on are  selected and highligted WITHOUT holding the Ctrl key. I want to also do a for each in my code for all the selected items.  

How can I use a RadListBox, select multiple Items, highlight the multiple selected Items, l with out check boxes or holding the Ctrl key?
Is this possible with this control? or is it assumed the user knows to press the Ctrl key for multiple highligted selections?

Thank You in advance

Ken G.
Ken Gunderman
Top achievements
Rank 1
 answered on 19 Mar 2010
4 answers
784 views
Hi Telerik,

We are using Telerik RAD File Explorer it works perfectly in IE but while using Firefox 3 it gives error message as

C:\Temp\75i1kq49.pdf.part could not be saved, because the source file could not be read.

Try again later, or contact the server administrator.

and it does not allows us to download content what we have uploaded.

See Screen shot for more information.

Please help me on urgent basis.

Thanks,
Hiten



Lini
Telerik team
 answered on 19 Mar 2010
1 answer
64 views
Hi, I have a problem with slider events not working on Opera browser.

1. PageLoad event is not being recognized by Opera. Here is my code.
function pageLoad(sender, args) {  
       var status = Sys.WebForms.PageRequestManager.getInstance().get_isInAsyncPostBack();  
       if (!status) {  
           HidePanels();  
       }  


2. None of the get/set methods are working in Opera.
Ex:
slider.get_isSelectionRangeEnabled()  
 
slider.set_selectionStart(newValue);  
 
slider.set_selectionEnd  
 
 


Any help is appreciated.

thanks
Petio Petkov
Telerik team
 answered on 19 Mar 2010
1 answer
130 views
Hi,

I'm now trying to display some xml content in FileExplorer using my own FileBrowserContentProvider. Actually, I'm developing ascx over FileExplorer to display different types of Xml in there. But I don't see how to specify Xml file name for the provider.

I tried to use ViewPath property of FileExplorer.Configuration like this: D:\PathToMyXmlFile\XmlFileName.xml/XPath. It works, I mean inside provider I can parse it and build tree properly, but the whole path is displayed in address field, that is pretty much inconsistent.

I would like to pass Xml filename and XPath to the provider, but since it's created internally, there's no way to pass any other information in there besides FileExplorer.Configuration, but the configuration lacks custom fields. I guess I can use DeletePaths property for that, since security is provided by the provider anyway, but it's quite inconvinient.

In addition... Probably I'm missing something, but... I set RadFileExplorer.EnableCreateNewFolder to true, my provider returns true in CanCreateDirectory, but I don't see the new folder button...
 
Cheerz,
  Bob
Dobromir
Telerik team
 answered on 19 Mar 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?