Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
142 views
I have a menu on a master page that opens a radwindow (window1)  this window contains a radgrid.  In the radgrid I have some code that opens a second window (window2) to allow editing of the grid contents.  This works ok, but Im having a problem referencing window2 if my .aspx page is in a subdirectory and not the site root.  Heres whats happening

I activate window2 when my main page is

/Website/default.aspx    the page is in the root (using this bit of code var oBrowserWnd = GetRadWindow().BrowserWindow;)

I call this code

var oBrowserWnd = GetRadWindow().BrowserWindow;
       
 oBrowserWnd.radopen("ArtistAdmin/BandMemberEditForm.aspx?ID=" + id, "BandMemberDialog");
             
  return false;

the edit form is found and opens ok

If the .aspx page happens to be in a subdirectory, eg

/Website/ArtistAdmin/ArtistAdminPage.aspx

the window cant be found because BrowserWindow is
/website/artistadmin/artistadmin.aspx

so radopen tries this


/website/artistadmin/artistadmin/artistadmin.aspx

How can I force radopen to use the root directory of my site ?

Marin Bratanov
Telerik team
 answered on 27 Jul 2011
2 answers
84 views
Hello,

I have used a RadSplitter with two RadPanes inside it. One RadPane have a RadTreeView and second one have RadGrid.

On the initial load of the Page both the panes are shrunk down and cramed into the left side of the Page, after completion of the page load they are expanded. 

This problem occurs in the Internet Explorer, while in Firefox and Chrome it works fine.


I have attached images. 
1) Problem Image : This is the Problem.
2) Actual Image    : This is the actual Image which shows the real output. 

Please provide me any solution to this problem.

Thanks in advance.
Rakesh Gupta
Top achievements
Rank 2
 answered on 27 Jul 2011
1 answer
118 views
When I bring up a radwindow, like below, it uses the currently set theme.
function ShowImport(sender, args) {
    var radWindow = $find("<%=ImportWindow.ClientID%>");
    radWindow.show();
}

However, when I bring up a radconfirm, it doesn't use the theme and instead uses the default theme.
function DeleteTemplate(sender, args) {
    radconfirm("Do you really want to delete the selected template?", onDeleteTemplate, 300, 100, sender, "Are you sure?");
}

Any idea what gives?

Thanks,
Jamie
Svetlina Anati
Telerik team
 answered on 27 Jul 2011
1 answer
69 views
When i set the height and width of the radeditor in millimeters the height of the content area in the radeditor is wrong.
What is does is set the height of the Top editor div in px instead of millimeters the min-height is correctly in millimeters.
This problem only occurs in IE8 (the only IE i tested) i also tested it in Firefox4 and there it worked correctly.
Dobromir
Telerik team
 answered on 27 Jul 2011
1 answer
45 views
Hi,

I found an issue with the document manager.

The first time when you upload documents (or delete an existing document), by selecting the document, the manager will update the link text with the selected document's title correctly. However, subsequently when you upload another document. The manager does not update the link text anymore.

I tried to replicate the issue on the online demo, it's also the same problem. Any solution with that?

Hope to hear from you soon. Thanks.
Dobromir
Telerik team
 answered on 27 Jul 2011
3 answers
103 views
Hi,

I'm using the current last release of Telerik.Web.UI (version 2011.1.519.40) and incorporated the FileExplorer into our extranet.
Some of our users are using the combination of IE9 compatibility mode with IE9 standards.
In this mode, the file select boxes after the first in the upload window don't work. I can reproduce this with the current demo's (http://localhost:48463/radcontrols_aspnetajax/fileexplorer/examples/default/defaultcs.aspx)

--> On Telerik.com : http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/default/defaultcs.aspx

After opening this page, I set the mode from the developer window (F12) to  the combination of IE9 compatibility mode with IE9 standards.

Then press upload en press the second "Select". It doesn't do anything. 
What can I do to make it work?

Thanks in advance
Dobromir
Telerik team
 answered on 27 Jul 2011
1 answer
149 views
We have a RadGrid in the page to allow user add/delete record. After a recorded is inserted, is there a way to set focus on the "Add New record" button in grid so user can add another record directly instead of moving mouse to click it? Or the only option is to add Short-Cut key to reduce the mouse operation? 

Thanks.
Iana Tsolova
Telerik team
 answered on 27 Jul 2011
2 answers
197 views
When  I clicked on the arrowhead for  Expand/Collapse Grouping Items and then to expand the ‘Full committee’ group of meetings. This action automatically expanded out all the application rows below each meeting row, but the grid showed a plus sign at the side of the expanded applications – this should be a minus sign if the applications are already expanded out:


How can I fix this?

I attached file.

My aspx is looking like this

                  <telerik:RadGrid HeaderStyle-Width="200" FilterItemStyle-VerticalAlign="Top" ID="rgFuturemeetings"   OnItemCommand="dgResults_ItemCommand"
                        runat="server" GridLines="None" AllowSorting="True" AllowPaging="True" AllowFilteringByColumn="False"
                        Skin="Office2007" ShowGroupPanel="True" ShowStatusBar="True" PageSize="15">
                        <GroupingSettings CaseSensitive="false" />
                        <HeaderContextMenu EnableTheming="True">
                            <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
                        </HeaderContextMenu>
                        <PagerStyle AlwaysVisible="True" />
                        <MasterTableView AutoGenerateColumns="False" GroupLoadMode="Client" DataKeyNames="FldMeetingId" HierarchyLoadMode="Client"
                        ExpandCollapseColumn-ButtonType = "ImageButton"
                        ExpandCollapseColumn-ExpandImageUrl="~/images/SinglePlus.GIF" ExpandCollapseColumn-CollapseImageUrl = "~/images/SingleMinus.GIF"
                        >
                          <GroupByExpressions>
                                <telerik:GridGroupByExpression>
                                    <SelectFields>
                                        <telerik:GridGroupByField FieldName="FldMeetingType" HeaderText="MeetingType" />
                                    </SelectFields>
                                    <GroupByFields>
                                        <telerik:GridGroupByField FieldName="FldMeetingType" SortOrder="Ascending" />
                                    </GroupByFields>
                                </telerik:GridGroupByExpression>
                            </GroupByExpressions>
                    
                  <DetailTables>
                    <telerik:GridTableView   AutoGenerateColumns = "False"   Name="Orders" Width="100%" CssClass="RadGrid2"     >
                        <Columns>
                            <telerik:GridBoundColumn DataField="fldOwnerOrgID" UniqueName="fldOwnerOrgID" HeaderText="fldOwnerOrgID" Resizable = "false" Visible="false" >  
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="30%" Wrap="true" />
                                <ItemStyle  HorizontalAlign="Left" VerticalAlign="Middle" Width="30%" Wrap="true" />
                            </telerik:GridBoundColumn>
                            <telerik:GridTemplateColumn  UniqueName="EditColumn">
                                <ItemTemplate>
                                    <asp:LinkButton ID="lnkView" runat="server" CommandName="View">View</asp:LinkButton>
                                </ItemTemplate>
                                 <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" Wrap="true" />
                                <ItemStyle  HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" Wrap="true" />
                            </telerik:GridTemplateColumn>                        
<%--                            <telerik:GridButtonColumn  CommandName="View"  DataTextField="FidViewColumn" DataTextFormatString="View" UniqueName="btnView" Resizable = "false">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" Wrap="true" />
                                <ItemStyle  HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" Wrap="true" />
                            </telerik:GridButtonColumn>--%>
                               <telerik:GridBoundColumn DataField="FldApplicationRECREF" UniqueName="FldApplicationRECREF" HeaderText="REC Reference" Resizable = "false">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="20%" Wrap="true" />
                                <ItemStyle  HorizontalAlign="Center" VerticalAlign="Middle" Width="20%" Wrap="true" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="FldShorttitle" UniqueName="colShortTitle" HeaderText="Short Title" Resizable = "false">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="30%" Wrap="true" />
                                <ItemStyle  HorizontalAlign="Left" VerticalAlign="Middle" Width="30%" Wrap="true" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="FldDateOnSystem" UniqueName="colDateRegistration" HeaderText="Date Registered on RED" Resizable = "false" DataFormatString="{0:dd/MM/yyyy}">
                                   <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="20%" Wrap="true" />
                                <ItemStyle  HorizontalAlign="Center" VerticalAlign="Middle" Width="20%" Wrap="true" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="RefuseFirstMeetingString" UniqueName="RefuseFirstMeetingString" HeaderText="Refused first available meeting?">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="24%" Wrap="true" />
                                <ItemStyle  HorizontalAlign="Center" VerticalAlign="Middle" Width="24%" Wrap="true" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="FldApplicationID" UniqueName="FldApplicationID" Visible="false" > </telerik:GridBoundColumn>
                         </Columns>
                    </telerik:GridTableView>
                  </DetailTables>
                            <Columns>
                                <telerik:GridBoundColumn DataField="FldMeetingId" HeaderText="" UniqueName="FldMeetingId"
                                    Visible="false" AllowFiltering="false">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="FldMeetingType" HeaderText="Meeting Type" UniqueName="FldMeetingType"
                                    SortExpression="FldMeetingType">
                                     <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="10%" Wrap="true" />
                                     <ItemStyle  HorizontalAlign="Center" VerticalAlign="Middle" Width="10%" Wrap="true" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn UniqueName="FldMeetingstartDate" SortExpression="FldMeetingstartDate"
                                    DataField="FldMeetingstartDate" HeaderText="Date of meeting" DataFormatString="{0:dd/MM/yyyy}">        
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="12%" Wrap="true" />
                                     <ItemStyle  HorizontalAlign="Center" VerticalAlign="Middle" Width="12%" Wrap="true" />                            
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="FldMeetingCutoffDate" DataFormatString="{0:dd/MM/yyyy}"
                                    SortExpression="FldMeetingCutoffDate" HeaderText="Submission Closing Date" UniqueName="FldMeetingCutoffDate">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="12%" Wrap="true" />
                                     <ItemStyle  HorizontalAlign="Center" VerticalAlign="Middle" Width="12%" Wrap="true" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="OrgName" UniqueName="OrgName"
                                    SortExpression="OrgName" HeaderText="Name of REC">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="26%" Wrap="true" />
                                     <ItemStyle  HorizontalAlign="Left" VerticalAlign="Middle" Width="26%" Wrap="true" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="fldAppSlots" UniqueName="fldAppSlots"
                                    SortExpression="fldAppSlots" HeaderText="Number of CAS slots reserved">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="14%" Wrap="true" />
                                     <ItemStyle  HorizontalAlign="Center" VerticalAlign="Middle" Width="14%" Wrap="true" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="AppBookedInLocaly" UniqueName="AppBookedInLocaly"
                                    SortExpression="AppBookedInLocaly" HeaderText="Number of applications booked in locally">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="14%" Wrap="true" />
                                     <ItemStyle  HorizontalAlign="Center" VerticalAlign="Middle" Width="14%" Wrap="true" />
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="Cnt" UniqueName="Cnt"
                                    SortExpression="Cnt" HeaderText="Total number of applications allocated to meeting">
                                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="15%" Wrap="true" />
                                     <ItemStyle  HorizontalAlign="Center" VerticalAlign="Middle" Width="15%" Wrap="true" />
                                </telerik:GridBoundColumn>                                
                            </Columns>        
                </MasterTableView>
                <ClientSettings AllowExpandCollapse="true">
                  
                </ClientSettings>
            </telerik:RadGrid>

Em4o
Top achievements
Rank 2
 answered on 27 Jul 2011
1 answer
183 views
I've got a radeditor within a radwindow. I've got some custom external dialog buttons on my editor that open a new radwindow within the bounds of the radwindow the editor is in (e.g. editor.showExternalDialog).

Is it possible to have the dialogues open so that they are not stuck within the bounds of the radwindow the editor is in? (i.e. tell the radeditor to use 'GetRadWindow().get_windowManager();' as it's window manager)?
Dobromir
Telerik team
 answered on 27 Jul 2011
3 answers
118 views
Hi Team,
                        This is Mayura. I'm using Telerik Controls in my project, and i'm using RAD Chart controls. now i need a help in create Secondary X Axis like Secondary Y Axis. So Send me some sample coding regarding this ASAP.



Thanks
Mayura.
Yavor
Telerik team
 answered on 27 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?