Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
127 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
172 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
142 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
97 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
1 answer
78 views
I am using the lates telerik DLL Q2 2011 for .Net 3.5 and am receiving the error below when testing a radgrid with paging enabled. This error is thrown when I manually change the page size from the default (20) to another page size. Are there any known issues with this function or is there a possible bug in my code?
 

Server Error in '/' Application.

Unable to cast object of type 'Telerik.Web.UI.RadGrid' to type 'Telerik.Web.UI.GridTableView'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidCastException: Unable to cast object of type 'Telerik.Web.UI.RadGrid' to type 'Telerik.Web.UI.GridTableView'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidCastException: Unable to cast object of type 'Telerik.Web.UI.RadGrid' to type 'Telerik.Web.UI.GridTableView'.]
   Telerik.Web.UI.RadGrid.RaisePostBackEvent(String eventArgument) +2874
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

Pavel
Telerik team
 answered on 27 Jul 2011
1 answer
61 views
Hello,

I have a line chart with 5 active regions on it. by default these activeregions are displayed with filled circles.

Now I wish to display these activeregion with some other icon to highlight and display its label value in tooltip.

I find similar facility in silverlight. link

How to achieve the same is asp.net ajax chart control ?

Evgenia
Telerik team
 answered on 27 Jul 2011
1 answer
38 views
Hi,

I have the below itemcommand event of radgrid for copying a record based on ID.

if (e.CommandName == "Copy")
            {
                SHTemplateUI copyTemplate = new SHTemplateUI();
                copyTemplate.CopyTemplateByIdUI(Convert.ToInt32(e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["StudentHistoryTemplateID"]));
                this.LoadTemplateList();
            }
This copies the record with the same name.

Now i want to make some changes.when i click on copy it should popup a radwindow and ask for the new file name.Once i enter the file name it should check whether the file name already exists.If not copy record with the new file name.

Can anybody help me please?

Thanks.
Princy
Top achievements
Rank 2
 answered on 27 Jul 2011
3 answers
215 views
Hi,

We are evaluating your controls for a SharePoint 2010 farm, but have following issues/questions:

If we install the Accelration Kit will the asp.net RadControls be available when developing web parts, creating master pages .. ?
I havent been able to find an installation guide, so I run the msi file on a application server but the installation frezzes like shown in the attached image.

Best R, thomas
Petar
Telerik team
 answered on 27 Jul 2011
1 answer
130 views
Hi,

is it possible for now downloads over telerik VSExtensions to set target dir and not to use
C:\Users\xxxx\AppData\Roaming\Telerik\Updates?

Erjan Gavalji
Telerik team
 answered on 27 Jul 2011
2 answers
95 views
Hi

   I am using rad tree to load more then 1000 nodes on demand, during this time instead of displaying node with ajax image , I want to display Loading panel which will cover entire page so user cannot click any where else during this time, I dont see any option in tree to use loadingPanel instead.
Can you please help me out on this ?

Best Regards
Rizwan Bashir
Rakesh Gupta
Top achievements
Rank 2
 answered on 27 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?