Telerik Forums
UI for ASP.NET AJAX Forum
15 answers
250 views
Does anyone know how to export multiple RadGrid's on a page to one PDF?  I have tried wrapping the RadGrid's in one big RadGrid, like the solution for exporting to Excel, without success.

Thanks in advance!
Daniel
Telerik team
 answered on 26 Jan 2016
3 answers
135 views
Hello,

I need to customize the Telerik RadScheduler, for that I have some questions,
1. How to customize the time in 24 Hrs clock in the given screenshot?
     For Example, time  8:00 am to 8:30 am
                                   ......
                                   ......
                                  7:00 am to 7:30 am
2. How to add customize control like Radio button, Checkbox etc. in the appointment/scheduler  control?
3. How to retain the value for added customized controls after navigating away and coming to the same page?
4. Is there any to change the locations of controls in appointment? like placing "Recurring", "All Day" etc. at different location on the form.

Kindly provide the resolution as early as possible.

Thank you
Ivan Danchev
Telerik team
 answered on 26 Jan 2016
2 answers
172 views

Hi, 

 

I am using version 2014.3.1209.40 and I have the following combo box:

<telerik:RadComboBox ID="ddCostCenter" runat="server" CheckBoxes="true"  EmptyMessage="Select Cost Center" > </telerik:RadComboBox>

If I remove CheckBoxes="true" the empty message shows on initial load, otherwise it doesn't.

How should I set it up, so EmptyMessage shows on initial load when I have the checkboxes?

Thanks!

 

Ivan Danchev
Telerik team
 answered on 26 Jan 2016
3 answers
152 views

Hi,

 

I'm having problems with the RibbonBarDropDown. I'm having two RibbonBarDropDowns and as soon as in one is a specifc item selected, the other gets enabled.

I'm using RadAjaxManger and the "OnClientDropDownSelectedIndexChanged" event to do the ajax request.

In my code behind i'm doing the following:

List<string>boxValues = ViewModel.GetBoxValues();
 
SecondBox.Items.Clear();
SecondBox.Items.AddRange(boxValues.Select(x => new RibbonBarListItem() {Text = x}));
if(boxValues.Count > 0)
{
    SecondBox.Enabled = true;
    SecondBox.SelectedIndex = 0;
}
else
{
    SecondBox.Enabled = false;
}

 

Everything is working fine except setting the selectedIndex. The selectedIndex is only set to 0 if the RibbonBarDropDown was enabled before.

Any suggestions what i'm doing wrong?

Veselin Tsvetanov
Telerik team
 answered on 26 Jan 2016
1 answer
240 views

hi

I am searching members through a textbox and then click a button Go. 

Before adding Dropdownlist in the grid, i was able to search for member and it display the result on the grid if found.

After adding a dropdownlist in the GridTemplateColumn, the grid disappear and display only dropdownlist.

 Have I done something wrong? Thanks a lot

 

<%@ Page Title="" Language="C#" MasterPageFile="~/crm/layout.master" AutoEventWireup="true" CodeFile="registration.aspx.cs" Inherits="registration" %>

<%@ Register src="../usercontrol/title.ascx" tagname="course" tagprefix="uc1" %>

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Left" Runat="Server">
    <uc1:Title ID="Title1" runat="server" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Middle" Runat="Server">
<div class="container">
         <h4>REGISTRATION</h4>
        <hr />
    <div>
       <div  class="col-xs-4">
            <div class="input-group">
                  <span class="input-group-btn" >
                      <asp:TextBox ID="txtSearch" runat="server" CssClass="form-control" placeholder="Search for..." />
                      <asp:Button ID="btnserach" cssclass="btn btn-default" runat="server" Text="Go" OnClick="btnserach_Click" />&nbsp;
                  </span>
            </div>
        </div> 
    </div> 
</div>
<div style="margin-left:5px;margin-top:15px;margin-right:5px">
<div>
    
        <telerik:RadGrid ID="RadGrid1" runat="server" CellSpacing="0" Skin="Metro"  GridLines="None" OnNeedDataSource="RadGrid1_NeedDataSource">
            <MasterTableView AutoGenerateColumns="False" DataKeyNames="MemberID" >
                <Columns>
                       <telerik:GridBoundColumn DataField="MemberID" FilterControlAltText="Filter MemberID column" HeaderText="Member ID" SortExpression="MemberID" UniqueName="MemberID">
                        <ColumnValidationSettings>
                            <ModelErrorMessage Text="" />
                        </ColumnValidationSettings>
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Gender" Display="false" FilterControlAltText="Filter Gender column" HeaderText="Gender" SortExpression="Gender" UniqueName="Gender">
                        <ColumnValidationSettings>
                            <ModelErrorMessage Text="" />
                        </ColumnValidationSettings>
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="FullName" FilterControlAltText="Filter FullName column" HeaderText="Name" SortExpression="Salutation" UniqueName="FullName">
                        <ColumnValidationSettings>
                            <ModelErrorMessage Text="" />
                        </ColumnValidationSettings>
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Email" FilterControlAltText="Filter Email column" HeaderText="Email" SortExpression="Email" UniqueName="Email">
                        <ColumnValidationSettings>
                            <ModelErrorMessage Text="" />
                        </ColumnValidationSettings>
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="DOB" DataType="System.DateTime" DataFormatString="{0:yyyy/MM/dd}"  FilterControlAltText="Filter DOB column" HeaderText="DOB" SortExpression="DOB" UniqueName="DOB">
                        <ColumnValidationSettings>
                            <ModelErrorMessage Text="" />
                        </ColumnValidationSettings>
                    </telerik:GridBoundColumn>
                    <telerik:GridTemplateColumn UniqueName="Uname" HeaderText="Title">
                        <ItemTemplate>
                            <telerik:RadDropDownList RenderMode="Lightweight" runat="server" ID="CategoryIDDropDown" DataValueField="TitleID"
                                DataTextField="Title" DataSourceID="SqlDataSource1">
                            </telerik:RadDropDownList>
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
                    <telerik:GridButtonColumn CommandName="attendance" ConfirmText="Are you sure?" 
                        FilterControlAltText="Filter column column" HeaderText="Confirm Attendance" Text="Confirm Attendance" 
                        UniqueName="attendancecolumn" ItemStyle-ForeColor="#333333">
                        <ItemStyle ForeColor="#333333"></ItemStyle>
                    </telerik:GridButtonColumn>                
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>

</div>
    <div>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" SelectCommand="Title_SelectDropdown" SelectCommandType="StoredProcedure">
        </asp:SqlDataSource>
     </div>
</div>
</asp:Content>



using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class registration : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {

            Session["mark"] = " ";
            RadGrid1.Rebind();
        }
    }
    protected void btnserach_Click(object sender, EventArgs e)
    {
        Session["mark"] = txtSearch.Text;
        RadGrid1.Rebind();
    }
    protected void RadGrid1_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
    {
        RadGrid1.DataSource = Memberlib.Member_SelectMark(Session["mark"].ToString());
    }
}

Kostadin
Telerik team
 answered on 26 Jan 2016
2 answers
124 views

Hi

 I have a RadGrid setup with AllowMultiRowSelection="true", AllowRowSelect="true", EnablePostbackOnRowClick="true" and an OnSelectedIndexChanged event.  This works great when I select any individual row but I need that even to fire when you use the select all option that appears in the header.  Is there any way to achieve this effect?

 Thank you

Eyup
Telerik team
 answered on 26 Jan 2016
2 answers
179 views

HI all,

I have a problem with my KendoGrid which is placed on a Bootstrap Modalbox, the modalbox closes when clicked outside the box.

When clicking on the 'Group Filter' close button on the grid, it unfortunately also is closing the modalbox. None for the other click events on the grid does that.

 

 I do I stop the "close button event" from closing/hidding the underlying modalbox? (See pics for visualization)

/Thanks,

Nicolai
Top achievements
Rank 1
 answered on 26 Jan 2016
3 answers
850 views

Hi all ,

 

I have a requirement where I want the data in a currency column to be separated by commas. I have tried with different formats where i get commas but with '$' sign.I want commas with '$'. Any help is appreciated.

Eyup
Telerik team
 answered on 26 Jan 2016
1 answer
155 views

I found out that Insert, Edit and Delete in a RadGrid works only when you use Advanced Data Binding. Sadly I don´t find any example of this in the sample/tutorials. Maybe someone can link me an example???

 

In the examples for "Data Editing" in Grid there is only an example with CRUD Operations and nothing with the Advanced Data Binding.

http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/automatic-crud-operations/defaultcs.aspx

 

Thanks

J.

 

other links I found this mentioned informations.

http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/data-binding/understanding-data-binding/server-side-binding/advanced-data-binding-(using-needdatasource-event) 

http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/data-binding/understanding-data-binding/server-side-binding/advanced-data-binding-(using-needdatasource-event)

Eyup
Telerik team
 answered on 26 Jan 2016
6 answers
345 views
I have implemted my own button client side to save the grids data when in batch edit mode.
After the ajax call what is the best way to remove the red marks (class="rgBatchChanged")  and reset the batcheditManager ?

I don't wish to reload the grid data but retain the current page / filter selection.

Thanks,
David S


Angel Petrov
Telerik team
 answered on 26 Jan 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?