Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
141 views
Hi,

I set up a simple example of the issue I'm seeing, using one of the free demos online.  The mark-up for the splitter looks like this.

<telerik:RadSplitter id="RadSplitter1" runat="server" height="200" width="500">
                <telerik:RadPane id="RadPane1" runat="server">Left Pane -
                    set to <b>free</b> size </telerik:RadPane>
                <telerik:RadSplitBar id="RadSplitbar1" runat="server"></telerik:RadSplitBar>
                <telerik:RadPane id="RadPane2" runat="server">Middle Pane - set to <b>free</b> size </telerik:RadPane>
                <telerik:RadSplitBar id="RadSplitbar2" runat="server"></telerik:RadSplitBar>
                <telerik:RadPane id="Radpane3" runat="server">End Pane - set to <b>free</b> size
                </telerik:RadPane>
            </telerik:RadSplitter>

While in run-time the splitter control and all panes display correctly, but in DesignMode the panes are displayed on top of each other, instead of side by side.

Is there any way to correct the look of the panes in DesignMode?

Thanks in advance,
Tom

Dobromir
Telerik team
 answered on 14 Jun 2012
3 answers
263 views
Hi,
I have one rad grid with export to pdf functionality. I have put one html table in item command template which contains, image, report name, generated datetime etc. I add this table which looks like report header. But when I click on export to pdf link in command item template, it does not export command item template data. If I remove table and write text direct into command item template than it works fine and I can see text from command item template to pdf. But I can't format header data without table so I can't remove table from command item template. Export to excel and word works fine.

Can any one help me in this? Columns in below grid are generating at run time.

<telerik:RadGrid ID="radGridReportData" runat="server" BorderStyle="None" GridLines="None"
        AutoGenerateColumns="false" ShowFooter="true" Width="1000px" AllowPaging="false"
        AllowSorting="true" AllowFilteringByColumn="true" AllowAutomaticUpdates="false"
        ShowGroupPanel="false" OnNeedDataSource="radGridReportData_NeedDataSource" OnItemCommand="radGridReportData_ItemCommand"
        OnItemCreated="radGridReportData_ItemCreated" OnItemDataBound="radGridReportData_ItemDataBound">
        <ExportSettings IgnorePaging="true" OpenInNewWindow="true">
            <Pdf PageHeight="210mm" PageWidth="297mm" PageBottomMargin="20mm" PageTopMargin="20mm"
                PageLeftMargin="20mm" PageRightMargin="20mm" />
        </ExportSettings>
        <ClientSettings AllowGroupExpandCollapse="True" ReorderColumnsOnClient="False" AllowDragToGroup="false"
            AllowColumnsReorder="False" EnableRowHoverStyle="True">
            <Selecting AllowRowSelect="false" />
            <ClientEvents OnGridCreated="OnGridCreated" />
        </ClientSettings>
        <GroupingSettings ShowUnGroupButton="true" CaseSensitive="false" />
        <MasterTableView Width="100%" CommandItemDisplay="Top" GroupLoadMode="Client" ShowGroupFooter="true">
            <CommandItemTemplate>
                <div>
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td colspan="2" valign="top" align="center" style="color: White; font-weight: bold;
                                font-size: 16px;">
                                <%# radComboReport.Text %>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" valign="top" style="color: White;">
                                <table border="0" cellpadding="0" cellspacing="0" width="1000px">
                                    <tr>
                                        <td valign="top" style="color: White; width: 800px;">
                                            <b>Source: </b>
                                            <%# radComboSource.Text %>
                                        </td>
                                        <td valign="top" style="color: White;">
                                            <b>Run By:</b>
                                            <%# GetUserName() %>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td valign="top" style="color: White; width: 800px;">
                                            <b>Recon: </b>
                                            <%# radRecons.Text %>
                                        </td>
                                        <td valign="top" style="color: White;">
                                            <b>Run Date:</b>
                                            <%# System.DateTime.Now.ToShortDateString() %>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top" style="color: White;">
                                <asp:CheckBox ID="chkShowHideFilters" runat="server" CssClass="tdText" Checked="false"
                                    onclick="showHideFilterItem(this.checked);" />
                                <b>Show Filter</b>
                            </td>
                            <td align="right" valign="top" style="color: White;">
                                <b>Export</b
                                <asp:LinkButton ID="btnExportToExcel" runat="server" CommandName="ExportToExcel">
                                                    <img src="Images/Icons/excel.png" alt="Export to Excel" style="border: 0px; vertical-align: middle;" />
                                                       
                                </asp:LinkButton>
                                  
                                <asp:LinkButton ID="btnExportToWord" runat="server" CommandName="ExportToWord">
                                                    <img src="Images/Icons/word.png" alt="Export to Word" style="border: 0px; vertical-align: middle;" />
                                                       
                                </asp:LinkButton>
                                  
                                <asp:LinkButton ID="btnExportToPDF" runat="server" CommandName="ExportToPdf">
                                                    <img src="Images/Icons/pdf.png" alt="Export to PDF" style="border: 0px; vertical-align: middle;" />
                                                       
                                </asp:LinkButton>
                            </td>
                        </tr>
                    </table>
                </div>
            </CommandItemTemplate>
            <HeaderStyle Font-Bold="true" />
            <Columns />
        </MasterTableView>
    </telerik:RadGrid>
Vatsal
Top achievements
Rank 2
 answered on 14 Jun 2012
12 answers
322 views
Hi,
     i am new in telerik control.
     i want to use image rotator using Carousel mode. Like:
    
     http://demos.telerik.com/aspnet-ajax/rotator/examples/carouselmode/defaultcs.aspx

      in this demo the images comes from a specific folder.
     
      i want to load the rotator's images from sql database. is their any help...for me ?
     
David
Top achievements
Rank 1
 answered on 14 Jun 2012
2 answers
77 views
Hi
I made one page in which i dynamically bind item templates to radgrid now if i use ClientSettings>>Scrolling tag for freeze number of columns than it will show both scroll bar that i doesnt want because there already two vertical scrollbars on popup page and main page in which rad grid will display. I tried some jquery or css for lock first column with overflow-x:auto; where i succeed getting only horizontal srollbar but failed to lock first column so is there any way for achieve this issue ?
Advance thanks!
Mayur
Top achievements
Rank 1
 answered on 14 Jun 2012
2 answers
61 views
Hi all :)

I'd like to add a buttonColumn only for few lines of my radgrid.
For example, it could be the lines where one of my database field has is value to "true"
I don't know how to make that.

Thx
Caro
Top achievements
Rank 1
 answered on 14 Jun 2012
5 answers
481 views
I have a RadGrid in a FormView.  I bind to the FormView with an object datasource. The grid binds to a List that is a property of the object datasource object.   The first time loading the page (in Edit Mode) which retrieves a record everything works fine and the grid binds to the List.    When I hit Submit to save everything I get the error.  We are running 2010.1.415.35
                    <telerik:RadGrid   
                        ID="RegGrid"   
                        runat="server" 
                        Skin="Windows7"   
                        BorderStyle="None" 
                        GridLines="None"   
                        Width="650px"   
                        PageSize="20"   
                        AllowFilteringByColumn="true" 
                        AllowSorting="True"   
                        ShowFooter="True"   
                        AllowPaging="True"   
                        AutoGenerateColumns="False" 
                        EnableLinqExpressions="false"   
                        AllowAutomaticInserts="false"   
                        AllowAutomaticUpdates="false" 
                        AllowAutomaticDeletes="false"    
                        OnItemCreated="RegGrid_ItemCreated" 
                        OnItemCommand="RegGrid_ItemCommand" 
                        OnItemDataBound="RegGrid_ItemDataBound" 
                        OnDeleteCommand="RegGrid_DeleteCommand" 
                        OnInsertCommand="RegGrid_InsertCommand" 
                        OnUpdateCommand="RegGrid_UpdateCommand" 
                        OnNeedDataSource="RegGrid_NeedDataSource">  
                        <ClientSettings> 
                            <Selecting AllowRowSelect="false" /> 
                        </ClientSettings> 
                        <MasterTableView   
                            DataKeyNames="regRequest,item" 
                            EditMode="InPlace" 
                            AllowFilteringByColumn="True" 
                            ShowFooter="True"   
                            CommandItemDisplay="Top"   
                            InsertItemPageIndexAction="ShowItemOnCurrentPage" 
                            CommandItemSettings-AddNewRecordText="Add Package"   
                            ItemStyle-VerticalAlign="top" 
                            AlternatingItemStyle-VerticalAlign="top"   
                            HeaderStyle-HorizontalAlign="Center">  
                            <Columns> 
                                <telerik:GridTemplateColumn AllowFiltering="false">  
                                    <ItemTemplate> 
                                        <asp:LinkButton ID="LinkButton2" runat="server" CommandName="Edit">Edit</asp:LinkButton> 
                                        <asp:LinkButton ID="LinkButton1" runat="server" CommandName="Delete" OnClientClick="javascript:return confirm('Delete this Reg Item?')">Delete</asp:LinkButton> 
                                    </ItemTemplate> 
                                    <EditItemTemplate> 
                                        <asp:LinkButton ID="LinkButton3" runat="server" Text='<%# ((GridItem)Container).OwnerTableView.IsItemInserted? "Insert" : "Update" %>' 
                                            CommandName='<%# ((GridItem)Container).OwnerTableView.IsItemInserted? "PerformInsert" : "Update" %>'></asp:LinkButton> 
                                        <asp:LinkButton ID="LinkButton4" runat="server" CommandName="Cancel">Cancel</asp:LinkButton> 
                                    </EditItemTemplate> 
                                </telerik:GridTemplateColumn> 
                                <telerik:GridBoundColumn DataField="regRequest" Visible="false" /> 
                                <telerik:GridDropDownColumn UniqueName="ddcRegItems" DataField="item" ListTextField="name" ListValueField="item"   
                                     DataSourceID="sqlRegRequestItem" HeaderText="Reg Item" DropDownControlType="DropDownList" EmptyListItemText="- Select A Package -" EmptyListItemValue="0" /> 
                                <telerik:GridBoundColumn DataField="quantity" HeaderText="Qty" DataFormatString="{0:n}" /> 
                                <telerik:GridBoundColumn DataField="price" HeaderText="Price" DataFormatString="{0:C}" ReadOnly="true" /> 
                                <telerik:GridCalculatedColumn HeaderText="Total (USD)" UniqueName="ExtendedPrice"   
                                    DataType="System.Double" DataFields="quantity, price" Expression="{0}*{1}" FooterText="Total : " 
                                    Aggregate="Sum" DataFormatString="{0:C}" /> 
                            </Columns> 
                        </MasterTableView> 
                        <PagerStyle Mode="NextPrevAndNumeric" /> 
                    </telerik:RadGrid> 
    protected void RegGrid_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)  
    {  
          
        RIM.Event.Resources.Regcode.Request _request = (RIM.Event.Resources.Regcode.Request)(Session["Request"]);  
        if (_request != null)  
        {  
            // SELECT NON-DELETED ITEMS  
            List<RegItem> _regitems = _request.regItems.FindAll(p => p.deleted != true);  
              
            ((RadGrid)source).DataSource = _regitems;  
        }  
    } 
Meera
Top achievements
Rank 1
 answered on 14 Jun 2012
1 answer
74 views
As I move an appointement a server side event AppointmentUpdate fires.
AppointmentUpdate fires also when an update comes from advanceform.

How do I know if it is fired because of a drag and drop? 
thank you
Plamen
Telerik team
 answered on 14 Jun 2012
1 answer
76 views
Hi all,

I have set filtering in my radgrid using 'Allow Filtering By column'. I have made the filter button invisible and set autopostbackonfilter on each column want to give the user an idea about what to be given in the textbox, by giving a text like 'Enter name to filter'. How can I  accomplish this?

Thanks in advance.
Princy
Top achievements
Rank 2
 answered on 14 Jun 2012
7 answers
151 views
Navigation Pane in radscheduler gets skip. When i try to navigating to weekly base or monthly base , it is navigate to other part, after that it stops to navigate and again to navigate previous week, it skips that week and show the before one. It skips the in between week scheduled. Can u please help me to sort out this problem.
Balaji
Top achievements
Rank 1
 answered on 14 Jun 2012
1 answer
107 views
Hello!!

I need change "insert" tooltip on Inline Add by "save".
Where are this tooltip? I couldn't find it on global resources.


thanks!
Princy
Top achievements
Rank 2
 answered on 14 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?