Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
229 views
Hi,

1) Is there a way to provide excel like filter capability (Selecting one or more items) for RadGrid? I see this behavior is available to RAD Grid for WinForms.

2) Also, I understand that there is a way to export rad grid to excel. But I want to export data to excel as the excel has the logic to generate pivot tables once I feed the data. Is there a way to achieve this? My Goal is just provide the data in xml format to the excel and send the excel spreadsheet to the user. I will have the excel spreadsheet available as a part of the website.

3) Is there a way to split RAD Grid into multiple rows? Currently I am able to achieve this behavior by using Master Detail view. But would like to know if this can be achieved directly using the Master view.

I will truly appreciate a prompt response. I am evaluating the asp.net ajax controls and these capabilities are must for our application. If there is no solution currently, would like like to know when can we expect these to be added.

Thanks in advance,
Navneet
Princy
Top achievements
Rank 2
 answered on 01 Jul 2011
5 answers
763 views
Hello all,
I have spent a couple hours to find out how to hide the item label, but I am keeping fail. I think this is a simple property but I dun know which belongs to. So does anyone know?

thx
Evgenia
Telerik team
 answered on 01 Jul 2011
1 answer
80 views
protected void RadGrid1_PreRender(object sender, EventArgs e)
        {
            RadGrid RadGrid1 = (RadGrid)sender;
            if(RadGrid1.Items.Count==0)
            {
                RadGrid1.Visible = false;
            }
}

This is a inner RadGrid. In this, I would like to reach to outer RadGrid column and set that column visible=false. So  my question is how to I reach to parent grid column from inner grid ?

Please help,

Smiely
Princy
Top achievements
Rank 2
 answered on 01 Jul 2011
1 answer
118 views
Hi,

I want to show filter expression show by default on page load.

Title Contains 'IPhone'

How to show this automatically without click Add button?

Regards
Shinu
Top achievements
Rank 2
 answered on 01 Jul 2011
1 answer
109 views
Hi,

How to html code in pdf for radeditor.exporttopd() ?

Thank you.
Dobromir
Telerik team
 answered on 01 Jul 2011
1 answer
61 views

One of the GridTemplateColumn columns in my radgrid isn't populated by a database so its AllowFiltering property is set to false.  However, I want to put a loading gif where <FilterTemplate> puts its markup.

How do I do this?

<telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="true"  OnNeedDataSource="RadGrid1_NeedDataSource">
<Columns>
  <telerik:GridTemplateColumn UniqueName="MyCol1" AllowFiltering="false">
     <FilterTemplate>
           <!-- I want to put image here, but it doesn't display if AllowFilter=false -->
          <img src="images/loading.gif" />    
    </FilterTemplate>
     <ItemTemplate>
         <asp:Hyperlink ID="MyLink" runat="server" Text="MyLink"></asp:Hyperlink>
     </ItemTemplate>
  </telerik:GridTemplateColumn>
</Columns>
</telerik:RadGrid>

Any help is appreciated.
Shinu
Top achievements
Rank 2
 answered on 01 Jul 2011
1 answer
83 views
Hello,

Can someone tell  me how to provide a box to provide confirmation before deletion in grid view.

I have this thing in my grid view 

   <ItemTemplate>
<asp:ImageButton ID="ImageButton1" runat="server" AlternateText="Delete Customer"
OnClientClick="javascript:if(!confirm('This action will move the selected employee to his source store . Are you sure?')){return false;}"
CausesValidation="false"

OnClick = "RadGrid1_ItemDeleted1"

CommandName="Delete"
CommandArgument='<%# Eval("EmployeeNumber") %>'
ImageUrl="~/_Layouts/delete/images.jpg" />

</ItemTemplate>
Now in the click event how to I get the row for which the delete was clicked.

Thanks
Shinu
Top achievements
Rank 2
 answered on 01 Jul 2011
3 answers
134 views
Hi Friends,
This is my Grid

<

 

 

telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="true" PageSize="100" OnPageIndexChanged="RadGrid1_PageIndexChanged">

 

<MasterTableView CommandItemDisplay="TopAndBottom" PagerStyle-Position="TopAndBottom"

 

AutoGenerateColumns="true">

 

<ItemStyle Wrap="True" />

 

<HeaderStyle Wrap="False" Width="200px" />

 

<FilterItemStyle Wrap="False" />

 

<PagerStyle Mode="NextPrevAndNumeric" />

 

<CommandItemTemplate>

 

<telerik:RadMenu ID="RadOptionsMenu" runat="server" ClickToOpen="false"

 

EnableRoundedCorners="true" EnableShadows="true"

 

OnItemClick="RadOptionsMenu_Clicked"

 

Skin="Vista">

 

<CollapseAnimation Duration="200" Type="OutQuint" />

 

<Items>

 

<telerik:RadMenuItem AccessKey="x" CssClass="MenuText" Text="Export">

 

<Items>

 

<telerik:RadMenuItem runat="server" Text="Excel">

 

</telerik:RadMenuItem>

 

</Items>

 

</telerik:RadMenuItem>

 

</Items>

 

</telerik:RadMenu>

 

<table width="100%">

 

<tr>

 

<td style="height: 10px;">

 

&nbsp;

 

</td>

 

</tr>

 

</table>

 

</CommandItemTemplate>

 

</MasterTableView>

 

<ClientSettings>

 

</ClientSettings>

 

</telerik:RadGrid>


The  menu item "Excel" is not showing up after the grid page index is changed. Its working fine in Load. I am using

RadAjaxPanel also.


Please help me.
Thanks
Ratheesh

 

Ratheesh
Top achievements
Rank 1
 answered on 30 Jun 2011
13 answers
212 views
I am having a issue displaying data from a dataset to a Hierarchical RadGrid. I have created a small solution that will display the issue, but I have no way of posting it. the solution is a n-teir solution and a website that is built to use user controls to build and display the data. I am defining the hierarchical datagrid in a .cs class in my controls folder of the website.

Data: I have 3 rows of data in the Parent and each row has child records.
  • Row 1 displays properly
  • Row 2 displays properly
  • Row 3 does not display any data until you move to page 2 on the pager control. Incidentally the record ID's for the child records in row 3 begin at 12 and the page size is set for 10 records to be displayed per page.

I am wondering if there is a problem with my Grid definition class. The Sample DataSet in the DAL appears to be correctly set up but I feel I have overlooked something.

Let me know how I can upload the solution.

Edit:
I did some additional checking and it seems that the grid is loading the data based on the ID of the record rather than the row number.
On Row 2 the child table ID's are 5 - 11. I have 10 records being displayed per page. Records 5-10 display on the first page. If I change the Page size to 5 then 1 record displays, the record with the ID 5. I am assuming I have missed some setting on the grid definition else this is a really bad defect.
Tim
Top achievements
Rank 2
 answered on 30 Jun 2011
3 answers
225 views
Can you please tell me if it's possible to fire the ToolTip when the appointment is clicked in a RadScheduler rather than have it fire every time someone mouses over an appointment?

Thanks in advance,
David
Pradeep
Top achievements
Rank 1
 answered on 30 Jun 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?