Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
104 views
How can I open a radwindow after an insert, delete or edit operation?  If need to show confirmation that the operation succeeded.  I would also like to show a dialog after an insert asking the user if they want to do another insert operation without going back to the grid and clicking the add button.


I've tried this

RadWindowManager1.Windows[0].VisibleOnPageLoad = true;

But it doesn't work.

Thanks



Erik Kipp
Top achievements
Rank 1
 answered on 07 Apr 2010
1 answer
128 views
I am using Rad Scheduler on my page. When i load the page, Scheduler is only showing 10% of width for few seconds. Then auto expend to 100%.
It is working fine on my local even on server. But some of the client machine is not working. It is only showing 10% of width.  I have put 100% width in Design view but still showing 10%..

Please let me know.

Thanks you for you help.


<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FXRateSummary.aspx.cs" Inherits="DCCPP.Currency.Views.FXRateSummary" 
    Title="Global Refund DCCPP - Currency - FX Rate Summary" MasterPageFile="~/Shared/DCCPPMaster.master" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<asp:Content ID="content" ContentPlaceHolderID="DCCPPMasterContent" runat="Server"
     
 
    <script  type="text/javascript"
         
        function OnClientTimeSlotClick(sender, eventArgs) { 
            //alert(eventArgs.get_time());eventArgs.get_time().toLocaleString()); 
            var dt = new Date(); 
            var dt2 = new Date(); 
            dt2 = eventArgs.get_time(); 
             
 
            if (dt2 > dt) { 
                alert("You can't not enter FXRate for future date."); 
                return false; 
            }  
            window.radopen("../Currency/FxRateEntry.aspx?Date=" + eventArgs.get_time().toLocaleString(), "dwFxRateEntry"); 
 
            return false; 
        } 
 
        function refreshGrid(arg) { 
            if (!arg) { 
                $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("Rebind"); 
            } 
            else { 
                $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("RebindAndNavigate"); 
            } 
        } 
        
             
                </script> 
    <telerik:RadSplitter ID="RadSplitter2" runat="server" Width="100%" VisibleDuringInit="true" Skin="Office2007"
        <telerik:RadSplitBar ID="RadSplitBar1" runat="server" /> 
        <telerik:RadPane ID="RadPane1" runat="server" Scrolling="None" BorderColor="#6C91C0"
            <telerik:RadSplitter ID="RadSplitter1" runat="server" Orientation="Horizontal" Width="100%" 
                BorderColor="#6C91C0"
                 
                <telerik:RadSplitBar ID="Radsplitbar3" runat="server"></telerik:RadSplitBar> 
                <telerik:RadPane ID="Radpane3" runat="server"
                    <div style="padding: 5px"
                         
                        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest"
                            <AjaxSettings> 
                                <telerik:AjaxSetting AjaxControlID="RadAjaxManager1"
                                    <UpdatedControls> 
                                        <telerik:AjaxUpdatedControl ControlID="Panel1" 
                                           LoadingPanelID="RadAjaxLoadingPanel1" /> 
                                    </UpdatedControls> 
                                </telerik:AjaxSetting>       
                                <telerik:AjaxSetting AjaxControlID="rdScheduler"
                                    <UpdatedControls> 
                                       <telerik:AjaxUpdatedControl ControlID="Panel1" 
                                           LoadingPanelID="RadAjaxLoadingPanel1" /> 
                                   </UpdatedControls> 
                                </telerik:AjaxSetting>    
                            </AjaxSettings> 
                        </telerik:RadAjaxManager> 
                         <asp:Panel ID="Panel1" runat="server"
                        <telerik:RadScheduler runat="server" ID="rdScheduler" Width="100%" Height="95%" ShowViewTabs="false" 
                         DataKeyField="ID" DataSubjectField="Subject" 
                         DataStartField="Start" DataEndField="End" DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentID"  
                         SelectedView="MonthView" OnClientTimeSlotClick="OnClientTimeSlotClick"  
                         AllowDelete="False" AllowEdit="False" AllowInsert="False"  
                             EnableAdvancedForm="False" EnableResourceEditing="False"  
                         StartEditingInAdvancedForm="False"   
                         onappointmentdatabound="rdScheduler_AppointmentDataBound" Skin="Office2007"  
                                 OverflowBehavior="Scroll" onformcreating="rdScheduler_FormCreating"  
                                 ontimeslotcreated="rdScheduler_TimeSlotCreated" > 
                            <ResourceTypes> 
                                <telerik:ResourceType KeyField="ProcessLogID" ForeignKeyField="ProcessLogID" Name="ProcessType" TextField="ProcessType" /> 
                            </ResourceTypes> 
                        </telerik:RadScheduler> 
                        </asp:Panel> 
                         
                    </div> 
                </telerik:RadPane> 
            </telerik:RadSplitter> 
        </telerik:RadPane> 
    </telerik:RadSplitter> 
                     
    <telerik:RadWindowManager id="SingletonContent" runat="server" Skin="Office2007" DestroyOnClose="false" VisibleStatusbar="false"
        <windows> 
            <telerik:RadWindow id="dwFxRateEntry"  
                Skin="Office2007"  
                ReloadOnShow = "true"  
                Left="5px" 
                Modal = "true" 
                Runat="server"  
                Width="700px"                        
                Height="500px"  
                Title="FX Rate Listing"
            </telerik:RadWindow> 
        </windows>   
    </telerik:RadWindowManager> 
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px" Width="75px"
    <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' style="border:0;" /> 
    </telerik:RadAjaxLoadingPanel> 
</asp:Content> 
 
Chip
Top achievements
Rank 1
 answered on 07 Apr 2010
1 answer
61 views
Hi There,

I set my upload, view paths in code as each client has their own image folder.  The issue I am having is, when they go into a folder they have no way to get back to the root folder.  The back button is greyed out and only allows me to go back if I am more then 2 folders deep.

Any ideas why this is happening?

I am using the new 2010 Q1 version.

Thanks
Rumen
Telerik team
 answered on 07 Apr 2010
3 answers
80 views
hello,
I have a problem using the radgrid to do grouping.
I have enabled client grouping
server side :
 DocumentGrid.ShowGroupPanel = true;
            DocumentGrid.GroupingEnabled = true;
            DocumentGrid.ClientSettings.AllowGroupExpandCollapse = true;
            DocumentGrid.ClientSettings.AllowDragToGroup = true;
            DocumentGrid.ClientSettings.AllowExpandCollapse = true;
            
            DocumentGrid.MasterTableView.GroupLoadMode = GridGroupLoadMode.Client;
            DocumentGrid.MasterTableView.GroupsDefaultExpanded = true;

On the client page, the grouping panel is shown with a default grouping. I can add/remove grouping to/from the panel. The control however does not do any grouping.
The control however creates a new column to put the > symbols for grouping each time a new grouping column is added to the grouping panel. The records remain unsorted.

When i try this using a simple asp test project i can get grouping to work ok, however the application i am working on hosts the client controls as a Dotnetnuke module.

The following client events are intercepted:-
"gridView.onRowDataBound" -- modifies some of the data field formats/icons/links
"gridView.onCommand" -- intercepts the Paging command and returns cancel event in order to use own paging scheme.

Is there anything else i need to do client side to get this working ?



Mira
Telerik team
 answered on 07 Apr 2010
1 answer
79 views
Hi Folks ,

I am getting two colors in the RadgridHeader.

i have applied the outlook skin.

Please let me know the reason.

Thanks
Satya
Pavlina
Telerik team
 answered on 07 Apr 2010
1 answer
131 views
Hi,

I have a grid with grouping and pagination (grouping collapsed by default)
and another page for user to click to come to this page.

when user click, I will pass the ID to the grid page.
The ID is the DataKeyValue of the Grid.

1. Based on the ID, how can I expand the specific row based on the ID passed to here?
2. And if the row is in another page, how can I switch the grid's page to that page after expand the row?

Thanks.
Yavor
Telerik team
 answered on 07 Apr 2010
1 answer
127 views
Hi Telerik,

    I have a left pane in my application.... i need to have only vertical scroll bar but whenever vertical appears horizontal scroll bar also appears which is not required.
how can i overcome this,and tjis happens in IE7 and FF only.


Thanks
Pushpa.
Bozhidar
Telerik team
 answered on 07 Apr 2010
4 answers
269 views
Hi

Is it possible to have a customised footer for

a) the entire grid

b) groupings within the grid

I have seen this post about how to create a customised footer than spans the width of the entire grid
http://www.telerik.com/community/forums/aspnet-ajax/grid/footer-questions.aspx
but this does seem a very difficult and cumbersome approach. I was hoping perhaps new features had been added to grid since then

I am using rad q3 2008

thanks
Pavlina
Telerik team
 answered on 07 Apr 2010
1 answer
105 views
I have a template checkbox column in a RadGrid.   I can't figure out how to access the ClientDataKeyNames column value for the rows in which the checkboxes are "checked" using javascript.  Any help would be greatly appreciated.


Pavlina
Telerik team
 answered on 07 Apr 2010
1 answer
88 views
When editing some text in the editor for use on a webpage, and using some type of list, the list shows up nicely in the editor window, but when shown on the webpage, the bullets or numbers is placed in padding of the control, not more to the right as it seems in the editor. (Se enclosed screenshot.)

Is there any configuartion I have to set to make it looks the same?

Regards
Erling
Rumen
Telerik team
 answered on 07 Apr 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?