Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
131 views
Hey Telerik guys !!

Hope everyone is fine there !

Guys  !

Iam again in a problem , an Iam quite sure you guys will help me.

Guys, Im facing an issue with RAD GRID when it works on to CLIENT SIDE EVENTS. Below is the problem which Im having :-

I have a 10 check box controls & an RAD GRID(GRAY SKIN) with 13 cloumns , out of which 10 columns of the RAD GRID are to be shown & are to be hidden according to the check & uncheck event of the CHECK BOX CONTROLS. ( 3 COLUMNS of the RAD GRID are always to be shown.)
I have implemented the RESIZING & DRAGING on to the RAD GRID
My problem is that : Whenever I check & uncheck the CHECK BOX control it correctly display the CHECKED CHECK BOX as an COLUMN of the GRID , but when we SWAP that particular COLUMN with the other COLUMN & then UNCHECK the CHECK BOX to hide that CHECKED COLUMN , it losses it s INDEX as it HIDE the SWAPPED COLUMN & which is creating an problem.

i.e. RAD GRID columns does not maintain their INDEXES on SWAPPPING/DRAGING.

 I dont want it to be happen. I have used the JAVASCRIPT to show/hide the columns of the RAD GRID on the checked & the unchecked event of the CHECK BOXES.

Its not working for me .

If you guys want me to send the screen shot , I will send it to you.

Please help .

Thanks

Ajay
Sebastian
Telerik team
 answered on 24 Jun 2009
1 answer
160 views
I am trying to rebind (refresh) a scheduler when a RadWindow gets closed, the same way I do a RadGrid but it isn't working for the scheduler.  What am I doing wrong?

<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> 
            <script type="text/javascript"> 
                function ShowApp(record) { 
                    window.radopen("AppWindow.aspx?record=" + record, "UserListDialog"); 
                    return false; 
                } 
 
                function closeAppWindow() { 
                    $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest(); 
                }  
                 
            </script> 
        </telerik:RadCodeBlock>  
 
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server"> 
    <Windows> 
                    <telerik:RadWindow Skin="Sunset"  ID="UserListDialog" runat="server" Title="Dealership Application" Height="850px" 
                        Width="850px" Left="10px" ReloadOnShow="true" Modal="true"  ShowContentDuringLoad="False" OnClientClose="closeAppWindow"/> 
                </Windows> 
    </telerik:RadWindowManager> 
                <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> 
                </telerik:RadAjaxManager> 

Code Behind:
Protected Sub RadAjaxManager1_AjaxRequest(ByVal sender As Object, ByVal e As AjaxRequestEventArgs) Handles RadAjaxManager1.AjaxRequest 
        scheduler_Events.Rebind() 
    End Sub 

Peter
Telerik team
 answered on 24 Jun 2009
1 answer
98 views
Hi folks !

Hope you all are doing great !!

Hey Telerik Guys ,

I need you guys to help me sort out my problem. I have a project to deliever by the end of this month & Iam really frustated with whats your RAD GRID is behaving.

Guys , my actual problem is described below :-

I have a RAD GRID with GRAY SKIN which is bind to the Object Data Source. I have enabled the following properties of the grid :-

1. MOVABLE(DRAGABLE) COLUMNS
2. RESIZING OF COLUMNS & ROWS

I have fixed the HEIGHT of the GRID to 98% & assigned with to the BOUND column manually.

Now , when I resize the COLUMN HEADERS of the RAD GRID , the whole alignment of the PAGE (PAGE STRUCTURE ) gets disturbed.

(i.e. If we have the DIV SECTION on to the page all the DIV SECTION gets dis-aligned from their position only if we try to RESIZE THE HEADER COLUMN of the GRID.)

Please help me out to solve the problem.

Looking forword to hear at earliest possible.
Thanks

Ajay
Sebastian
Telerik team
 answered on 24 Jun 2009
1 answer
204 views
Hi,

I created a new skin with the visual stil builder for the RadGrid. Everything works fine, except the styling of the filter items is not right.
When I click the filter icon, the items slide open ("equals, starts with, ..."), but there is no styling on it.

I see that in the generated css file, there is no styling for the "rmItem", "rmText", ...
Is it normal that this isn't generated? And if it is normal, how can I solve it then?

Thanks in Advance
Alex Gyoshev
Telerik team
 answered on 24 Jun 2009
1 answer
109 views
Hello,

This is third time, I am posting my problem on the forum and yet now replied.

I have a simple RadComboBox Filter template, but when I select an option from filter, it produces following error.

Sys.WebForms.PageRequestManagerServerErrorException: Selection out of range parameter name: value

I need urgent help please. - Thanks alot

<tlk:GridCalculatedColumn meta:resourcekey="BuildingItemTypeColumn"   
                    UniqueName="BuildingItemType"   
                    DataFields="BuildingItemTypeCode,BuildingItemTypeDescription"   
                    Expression="{0} + &quot; - &quot; + {1}" DataFormatString="<nobr>{0}</nobr>">                      
                            
                        <FilterTemplate> 
                            <tlk:RadComboBox ID="TypeList" Height="100px" AppendDataBoundItems="true"   
                                runat="server" OnClientSelectedIndexChanged="TypeIndexChanged"  SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("BuildingItemType").CurrentFilterValue %>' 
                                >                                  
                                <Items> 
                                    <tlk:RadComboBoxItem Text="All" /> 
                                </Items> 
                            </tlk:RadComboBox> 
                            <tlk:RadScriptBlock ID="RadScript2" runat="server">  
 
                                <script type="text/javascript">  
                                    function TypeIndexChanged(sender, args) {  
                                          
                                        var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");  
                                        tableView.filter("BuildingItemType", args.get_item().get_value(), "Contains");  
                                   }  
                                </script> 
 
                            </tlk:RadScriptBlock> 
                        </FilterTemplate>                      
                        <HeaderStyle Width="200" /> 
                        <ItemStyle Wrap="false" /> 
                    </tlk:GridCalculatedColumn> 
Sebastian
Telerik team
 answered on 24 Jun 2009
1 answer
136 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
48 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
181 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
102 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
155 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?