Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
167 views
Hi, I have a currency value column in a radgrid, and exporting to excel using this function for formatting the currency cells

        protected void RadGrid_OnExportCellFormatting(object sender, ExportCellFormattingEventArgs e)
        {
            if (e.FormattedColumn.DataType == typeof (long))
            {
                e.Cell.Style["mso-number-format"] = "Currency";
            }
       }

This is based on advice in another post in this forum. Works very well, but it doesn't format the footer item which is an aggregated sum value. How do I format the footer to be currency as well?

Thanks for reading
Joey
Top achievements
Rank 1
 answered on 08 Oct 2013
1 answer
297 views

Hi,

How to open a radwindow on row double click in a radgrid.

Thanks,
Ryan.
Shinu
Top achievements
Rank 2
 answered on 08 Oct 2013
1 answer
100 views
Check out the screen shot.  I am getting a weird behavior on my radgrids when the web application is viewed through Citrix via a thin client.

The screen shot is on a grid that has client scrolling, but the same affect is happening on grids that do not have the client scrolling.

The users browser in Citrix is IE9.  IE9 on my pc works fine. Seems fine through Citrix on my PC, but maybe an issue on the thin client.  Any help would be great.


Konstantin Dikov
Telerik team
 answered on 08 Oct 2013
2 answers
123 views
Hi,

I've encountered a problem recently when a text is copied from MSWORD to telerik editor. This behaviour is only observed in Mozilla.

I've created a table in msword and copied the table to the telerik rad editor. So, when table is copied i've observed that an additional tag in style called "border-image:none" is being displayed. This is only displaying in Mozilla, where as in Chrome the tag is not visible when pasted the same content. The content from this editor is being validated against a dtd. So, the process fails because of the border-image tag

Finally i got up to the demos of telerik site to make sure if this thing is working or not. I've copied the same table from word to the demos page in telerik site i've observed that the tag is being visible for Mozilla firefox even in the telerik site.

Create a table as is in the sample.png image that i've atattched in this post. Now open mozilla browser and chrome browser copy the following url:

http://demos.telerik.com/aspnet-ajax/editor/examples/cleaningwordformatting/defaultcs.aspx

Now paste the created table in to the editors of both the browsers. Also i've atattched the screenshots for both the browsers.

Can anyone please suggest any approach for doing this.

Thanks
Karthik
Top achievements
Rank 1
 answered on 08 Oct 2013
1 answer
99 views
Hello,

Using the RadAsync Upload and it's failing for some IE10s. (Red Dot after Upload).
Forms Authentication.
Location specific authorization for Telerik.Web.UI.WebResource.axd.
Windows8 Client
IE10 browser only fails. -- Some client systems with IE10 succeed.

Any help would be appreciated
Hristo Valyavicharski
Telerik team
 answered on 08 Oct 2013
1 answer
213 views

Hi,

How to strike out a value of a column based on some conditions. Anyone can show me a sample?

Thanks,
Dawson.
Shinu
Top achievements
Rank 2
 answered on 08 Oct 2013
2 answers
217 views
I currently load a RadTreeView via an XML file inside a RadPanelBar and as I get the data to load just fine many of the scrollbars to not show.  How can I get these to show if needed. 

Attached is an image of the scrollbars not showing, now if the RadPanelItem that needs to have the scrollbars is active and there is a postback, they will appear.
<telerik:RadPanelBar ID="RadPanelBar1" Runat="server" ExpandMode="FullExpandedItem" Height="700px" Width="280px">
     <Items>
         <%--<!-- DEFAULT TABS FOR EITHER FMS OR POLICYHOLDER -->--%>
         <telerik:RadPanelItem Expanded="true" text="Favorites" Visible="true">
             <ContentTemplate>
                 <telerik:RadTreeView ID="_rtvwFavorites" runat="server" DataSourceID="XmlDataSource4" CheckBoxes="True" CheckChildNodes="True" TriStateCheckBoxes="False"  >
                         <DataBindings>
                             <telerik:RadTreeNodeBinding DataMember="Node" TextField="Text" ExpandedField="Expanded" Checked="True" ValueField="ID"></telerik:RadTreeNodeBinding>
                         </DataBindings>
                 </telerik:RadTreeView>
                 <asp:XmlDataSource ID="XmlDataSource4" runat="server" DataFile="~/Common/FavoritesTree.xml" XPath="/Favorites/Node"></asp:XmlDataSource>
             </ContentTemplate>
         </telerik:RadPanelItem>
         <telerik:RadPanelItem Text="Credit Union" Visible="true">
             <ContentTemplate>
                 <telerik:RadTreeView ID="_rtvwCreditUnion" runat="server" DataSourceID="XmlDataSource3" CheckBoxes="True" CheckChildNodes="True" TriStateCheckBoxes="False"  >
                         <DataBindings>
                             <telerik:RadTreeNodeBinding DataMember="Node" TextField="Text" ExpandedField="Expanded" ValueField="ID"></telerik:RadTreeNodeBinding>
                         </DataBindings>
                 </telerik:RadTreeView>
                 <asp:XmlDataSource ID="XmlDataSource3" runat="server" DataFile="~/Common/CuInfoTree.xml" XPath="/CUInfo/Node"></asp:XmlDataSource>
             </ContentTemplate>
         </telerik:RadPanelItem>
         <telerik:RadPanelItem Text="Financial" Visible="true">
             <ContentTemplate>
             <telerik:RadTreeView ID="_rtvwFinancialList" Runat="server"
                         DataSourceID="XmlDataSource1" CheckBoxes="True" CheckChildNodes="True" TriStateCheckBoxes="False"  >
                         <DataBindings>
                             <telerik:RadTreeNodeBinding DataMember="Node" TextField="Text" ExpandedField="Expanded" ValueField="ID"></telerik:RadTreeNodeBinding>
                         </DataBindings>
             </telerik:RadTreeView>
             <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/Common/FinancialTree.xml" XPath="/Financial/Node"></asp:XmlDataSource>
             </ContentTemplate>
         </telerik:RadPanelItem>
         <telerik:RadPanelItem Text="Ratio" Visible="True">
             <ContentTemplate>
             <telerik:RadTreeView ID="_rtvwRatioList" Runat="server"
                         DataSourceID="_RatioListData" CheckBoxes="True" CheckChildNodes="True" TriStateCheckBoxes="False"  Visible="True">
                         <DataBindings>
                             <telerik:RadTreeNodeBinding DataMember="Node" TextField="Text" ExpandedField="Expanded" ValueField="ID"></telerik:RadTreeNodeBinding>
                         </DataBindings>
             </telerik:RadTreeView>
             <asp:XmlDataSource ID="_RatioListData" runat="server" DataFile="~/Common/RatioTree.xml" XPath="/Ratio/Node"></asp:XmlDataSource>
             </ContentTemplate>
         </telerik:RadPanelItem>
         <%--<!-- END DEFAULT TABS -->
     </Items>
 </telerik:RadPanelBar>
Kurt Kluth
Top achievements
Rank 1
 answered on 08 Oct 2013
1 answer
93 views
 
     Hi,
          How can I access a no-record template from server side? Please share if anybody has an idea.

     thanks
     Allen
Shinu
Top achievements
Rank 2
 answered on 08 Oct 2013
2 answers
87 views
Hi,
i wanna when click on the item in radpanelbar to load grid according to this item but if i use paging or any thing in the grid require to click on this item again .
how can i solve this issue plz

Thanks!
Sahar
Top achievements
Rank 1
 answered on 08 Oct 2013
2 answers
148 views
Hi there
I am applying a filter in a radGrid on pre_Render, its works great, but when I add a date field, it doesn't bring any results.

Here is a example of what I am doing:
DateTime startDate = DateTime.Parse("2013-10-01");
uxBookOrderGrid.MasterTableView.FilterExpression = "(([StatusDescription] LIKE \'%Approved%\') AND ([TimeStamp] >= '" + startDate.ToString("g") + "'))";
uxBookOrderGrid.Rebind();
and the aspx
<telerik:GridDateTimeColumn  DataFormatString="{0:g}" DataType="System.DateTime" FilterControlWidth="90%" HeaderText="Date" DataField="TimeStamp" UniqueName="TimeStamp" />
It works great without the [TimeStamp] filter.

Any idea why this is not working?

Thank you.
Jako
Top achievements
Rank 1
 answered on 08 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?