Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
126 views
I want to be able to open a new window (preferably a normal browser window rather than a RadWindow) for a print version of a RadGrid (ExportPDF is not suitable).

To do this I need to pass the FilterExpression of the RadGrid to the new window. I can do this in two ways -

1. Pass the FilterExpression in the URL of the new window
2. Set a session object to the FilterExpression and retrieve it in the new window

How can I set the session object client side (i.e. on a button click)?
Veli
Telerik team
 answered on 24 Jun 2009
1 answer
45 views
We use version 2008.1.415.20.  The editor has worked fine for about a year.  Several weeks ago, we started receiving numerous emails from our users that after they edit their content, their content was changed to include tons of $0$0$0$0 and other strange formatting.

Please help.  This has turned into a major issue and our users have just about had it.
Rumen
Telerik team
 answered on 24 Jun 2009
3 answers
171 views
Hi,

I have an ASP.Net Grid with rows in it. Depending on the type of row being right-clicked upon I want to show a different ContextMenu.
The contents of this ContextMenu should be computed server-side. My client-side code is below:

/* this.aspGrid.ClientSettings.ClientEvents.OnRowContextMenu is set to JavaScript like below: */ 
 
function(grid, row) { 
 var menu = $find('contextMenu'); 
 var evt = row.get_domEvent(); 
 if ((!evt.relatedTarget) || (!$telerik.isDescendantOrSelf(menu.get_element(), evt.relatedTarget))) { 
  window.setTimeout(  
    function() { 
      alert(123123); 
      grid.get_masterTableView().fireCommand('showContextmenu', row.get_itemIndexHierarchical());  
      menu.show( evt );  
     },  
     0); 
   } 
 } 

Server side the command showContextmenu creates a new RadMenuItemCollection and assigns this reference to the RadContextMenu. Then this RadContextMenu is updated. However when the menu.show() is called client-side the ContextMenu appears and then immediately disappears.

How can I accomplish dynamic loading of a RadContextMenu on a row in a Grid?


Yana
Telerik team
 answered on 24 Jun 2009
1 answer
93 views
Hi All,

I have a radgrid with scrolling enabled. In ie8, scrolling to the right does not fully reveal all columns in the grid. Both the edit and delete auto-generated columns are hidden. The delete column is partially showing but the edit is hidden. I have a fixed height on the grid and in this instance there is no vertical scrolling. I also have a fixed column header width. Taking off the fixed column width doesn't help.

Anyone? thanks!


Sebastian
Telerik team
 answered on 24 Jun 2009
1 answer
146 views
I like this new ListBox control. The combination of buttons and drag-and-drop functionality is nice.
I found one problem when dropping list items to the target ListBox. The drop position is relative to the items already contained in the target ListBox. This means that if the target box is empty I can not drop an item in it. Of course I can use the move button, but this is a little inconsistent with the preferred drop action.
I would suggest a default drop action that adds the dropped item as the new last item in de target box. This can be overruled by dropping relative to an existing item.
Atanas Korchev
Telerik team
 answered on 24 Jun 2009
2 answers
123 views
Hi
i want to select an item from a selected row but dont seem to understand any of the tutorials that are provided its an ASP.net RadGrid and i need to get the item from column 2 of the selected row
Kevin
Top achievements
Rank 1
 answered on 24 Jun 2009
2 answers
117 views
if i am calling a RadGrid1_SelectedIndexChanged is there a reason that if i am trying to populate a combo box that it wouldnt work?
i am calling a list and using that as a data source and data binding it to the combo box? i am also clearing the list at the start but the list is continuing to be populated when the call is finished.

 

Simon
Telerik team
 answered on 24 Jun 2009
1 answer
98 views
I haven't used the scheduler control before and before I invest time working with it, I wanted to know if I can use it to support this functionality. I want to create a view like the one in Outlook where you can see other people's free/time information. It's where you plan a meeting. So I want to create a web page where someone log in and enters their free and busy hours. Then I want to display an aggregate view of everyone's free/busy time on the same schedule so that from a bird's eye view, one can determine when to schedule an event. The view needs to display everyone time using some kind of visual element like a different color bar across hours and days where each color represents someone and there's a legend detailing what color is who.

Can the scheduler or a combination of controls support this? I know I can develop this from scratch if I want to but I was wondering if a Telerik control or a sample application already includes much of the needed functionality.

Thanks.
Peter
Telerik team
 answered on 24 Jun 2009
2 answers
117 views
I have added a PagerTemplate to my RadGrid.  In the template I have a Numeric Pager Control and a RadComboBox to hold the Page Size.  When I run the application and select a page number from the Numeric Pager Control, then strange characters appear in the RadComboBox.  The Telerik Rad grid Demo also does the same thing after select a couple of pages (http://demos.telerik.com/aspnet-ajax/grid/examples/programming/pagertemplate/defaultcs.aspx).  Is there a way to prevent the strange characters from showing in the combo box?  

 Sue
Susan
Top achievements
Rank 1
 answered on 24 Jun 2009
3 answers
141 views
I implemented Tree using Load on Demand concept using Web Services. It is working perfectly. But I would like to know the best way to expand the Tree Nodes automatically on click on a context menu. I have a context menu item called "Expand All" and when the User clicks on the item on a Node which has less number of children and sub children, it works fine. If he clicks on the top of the tree, I am getting an error "maximum limit reached".

Below is the code I am using:

private sub ExpandAll(Tnode as RadTreeNode)

If TNode.Nodes.Count = 0 Then _

 

 PopulateHierarchy(TNode)

 

 

RdTViewHierarchy.SelectedNode.ExpandChildNodes()

 

 

TNode.ExpandMode = TreeNodeExpandMode.ClientSide

 

 

TNode.Expanded = True

 

 

For Each TSubNode As RadTreeNode In TNode.Nodes

 

 

 ExpandSelectedNode(TSubNode)

 

 

Next

 

End Sub

 

 

Atanas Korchev
Telerik team
 answered on 24 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?