Hello
I have a simple Grid With many Columns and I Add "Export to Excel" to it. I can Export Easily
but I want better Excel File.I mean I want add some Other Information to Excel File Which are not in Grid For Example 'Creation DateTime','The name of someone who Exported' and ... .and I want to format them .for example Bold or Italic .
I dont want use "caption" because it is simple.
Is another way to achive this Goal?

| <form id="form1" runat="server"> |
| <div> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
| </telerik:RadScriptManager> |
| <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
| </telerik:RadAjaxManager> |
| <br /> |
| <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:gulfcoastConnectionString %>" |
| SelectCommand="SELECT [QID], [Question] FROM [mttestquestions]"></asp:SqlDataSource> |
| <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:gulfcoastConnectionString %>" |
| SelectCommand="SELECT [Choice], [Selectvalue], [QID] FROM [mttestChoices] WHERE ([QID] = @QID)"> |
| <SelectParameters> |
| <asp:ControlParameter ControlID="RadGrid1" Name="QID" PropertyName="DataSource" /> |
| </SelectParameters> |
| </asp:SqlDataSource> |
| </div> |
| <br /> |
| <br /> |
| <br /> |
| <br /> |
| <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" |
| GridLines="None" Skin="Sunset"> |
| <MasterTableView DataSourceID="SqlDataSource1"> |
| <EditItemTemplate> |
| |
| </EditItemTemplate> |
| <RowIndicatorColumn> |
| <HeaderStyle Width="20px" /> |
| </RowIndicatorColumn> |
| <ExpandCollapseColumn> |
| <HeaderStyle Width="20px" /> |
| </ExpandCollapseColumn> |
| <Columns> |
| <telerik:GridBoundColumn DataField="QID" DataType="System.Int32" HeaderText="QID" |
| SortExpression="QID" UniqueName="QID"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="Question" HeaderText="Question" SortExpression="Question" |
| UniqueName="Question"> |
| </telerik:GridBoundColumn> |
| </Columns> |
| <ItemTemplate> |
| <asp:Label ID="LABELQID" runat="server" Text='<%# Eval("QID") %>' AssociatedControlID="RadioButtonList1"></asp:Label> |
| <asp:Label ID="Label2" runat="server" Text=". "></asp:Label> |
| <asp:Label ID="Label3" runat="server" Text='<%# Eval("Question") %>'></asp:Label><br /> |
| <asp:RadioButtonList ID="RadioButtonList1" runat="server" DataSourceID="SqlDataSource2" |
| DataTextField="Choice" DataValueField="Selectvalue"> |
| </asp:RadioButtonList> |
| </ItemTemplate> |
| </MasterTableView> |
| <FilterMenu EnableTheming="True" Skin="Sunset"> |
| <CollapseAnimation Duration="200" Type="OutQuint" /> |
| </FilterMenu> |
| </telerik:RadGrid> |
| </form> |
| </body> |
Hello,
I'm having some trouble with my filter template on a GridDatetimeColumn. It's happenig only when I try the Between or NotBetween function.
The thing is:
I can normally call the method filter() from the table view client object.
I have all parameters like this example:
1.// columnUnique = 'dateColumn'2.// value = '01/12/2015 31/12/2015'3.// cont = 11 (Between function from the Telerik.Web.UI.GridFilterFunction.Between)4. 5.tableView.filter(columnUnique, value, cond, true);When this method is called, it's not fired to the server.
If I change the function to something like EqualsTo (in this case, the 31/12/2015 part is omitted and only the first part is used), the same method works fine.
In the grid setup, I set all date columns to EnableRangeFiltering = true;
I also tried the grid without my filter template to check the built-in funtion. That way, the command was fired on the server and the value was just like the example. ('01/12/2015 31/12/2015')
I need to use the template because of some requirements and the date column's is the only one that's giving more trouble.
Thanks for the help

Hello,
Is there any possibility to work on dates instead numbers for charts?? For e.g I want to show Bar Range Chart from 1st of Jan to 3rd of Jan
I hope I'm clear enough I was unable to find any demo related to Dates for Range charts
Is there a way to create a Multiline title so that the font size and style is different for the second line?
I want my main title, first line, to be larger while the second line, subtitle, should be smaller and italic. I'm setting all my title attributes currently on the server side.
Thanks
Rodney

Hello Telerik team,
We are extensively used Rad Controls within our asp.net web based application.The Telerik Version we are currently using within our application is
:2014.2.724.45
Recently we noticed one major issue for all RadButtons
that are available throughout the application. The issue is, whenever we set width of Radbutton from markup
or code behind then it automatically applies "padding-left:4px" to internal input at the time of rendering. Due to this padding, the text of
Button is not appearing exactly at the center.
Whenever we give custom width
to the RadButton from Markup or code behind, the <span> tag comes with a specified width , 1st <input> comes with style "width:100%;padding-left:0;padding-right:0;padding-left:4px;height:28px" ;
As shown above, the main issue is caused by
"padding-left:4px". We want to set it 0px after which then the text would appear center align on
our end.
Below are the code snippet for our above issue:
.aspx page:
<myTelerik:RadButton Height="28px" ID="btnEdit" Width="90px" EnableEmbeddedSkins="false" Skin="Strong" runat="server" Text="Edit " ValidationGroup="Edit" OnClick="btnEdit_Click" />
Below code renders on Browser
<span
id="ctl00_ContentPlaceHolder1_btnEdit" class="RadButton" style="padding:0px
!important;display:inline-block;height:28px;width:75px;height:28px;"
tabindex="0">
<input
class="rbDecorated" type="button"
name="ctl00$ContentPlaceHolder1$btnEdit_input"
id="ctl00_ContentPlaceHolder1_btnEdit_input" value="Delete"
style="width:100%;padding-left:0;padding-right:0;padding-left:4px;height:28px;"
tabindex="-1">
<input
id="ctl00_ContentPlaceHolder1_btnEdit_ClientState"
name="ctl00_ContentPlaceHolder1_btnEdit_ClientState"
type="hidden" autocomplete="off">
</span>
Please provide
us workaround how we can remove the "padding-left:4px" for all those RadButtons which having custom width. We need the generic way to resolve this issue so that it requires minimum numbers of files need to be updated.
Please note that this issue is only encounters only when we
applies custom width to RadButton. For other RadButtons where custom width is not
applied, the text appears at center. We are trying to do the same, but we are not getting expected output.
Thanks,
Riz
<%@ Page Language="C#" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="Telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
protected void show(object sender, EventArgs e)
{
if (asyncUpload.UploadedFiles.Count != 0)
label.Text = asyncUpload.UploadedFiles[0].ContentType;
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form" runat="server">
<div>
<Telerik:RadScriptManager ID="radScriptManager" runat="server" />
<Telerik:RadAsyncUpload runat="server" ID="asyncUpload"
MaxFileInputsCount="1" />
<asp:Button ID="button" runat="server" Text="show content type" OnClick="show" />
<br />
<asp:Label ID="label" runat="server" Text="Label" />
</div>
</form>
</body>
</html>
thanks
