Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
123 views
Hi,

I am using radgrid with filtering switched on. With filtering the performance of a radgrid on IE is very poor, especially on slower computers. I checked that without filtering switched on, the page is loading much quicker and the page source code is half that big. I can add that I already made some optimizations like RadScriptManager or custom paging and it's still too slow. Is it possible to reduce the amount of javascript added with filtering on?

Alicja
Pavlina
Telerik team
 answered on 26 Mar 2012
1 answer
694 views
 Hi,
I have some binary images stored as 64-bit strings in my database. I'm using SQL to convert this value to a Byte[] (array) and I'm using a radbinaryimage control within a listview that is databound to my openaccesslinq data source. (and this is pointed to the data field containing the byte[].) It appears to be working except,  Instead of my image showing it's showing a broken image icon as shown in the screenshot attached. I have no idea how to troubleshoot this, but I did notice something strange. When I right click on this image and click "open in new tab" chrome begins a download of a file called "Telerik.Web.UI.WebResource.axd" If i view this file in a text editor, it's actually the 64-bit string that is the original value in my database. This doesn't make sense though, because i'm converting it to a byte[] within the view I'm using, the radbinaryimage control should never see the 64-bit string. So i'm wondering, does radbinary image convert from a byte[] to a 64-bit string to display the image? If so, is there a way to simply use the 64-bit string that I already have in the database?


 Either way, does anyone have any advice on how to troubleshoot this?




Tsvetina
Telerik team
 answered on 26 Mar 2012
1 answer
51 views
What is the standard method for hooking up CommandName in a RadToolBarButton so that it bubbles to one of the predefined commands for a RadGrid control (eg. "DeleteSelected").  The toolbar can't be placed within the RadGrid's CommandTemplate as the toolbar is shared across a tabbed UI (using RadTabStrip and RadMultiPage).
Peter
Telerik team
 answered on 26 Mar 2012
3 answers
185 views
how can I set absolute url in telrik RedEditor classic version  in ImagesPaths,UploadImagesPaths,DeleteImagesPaths

Currently

ImagesPaths

 

="/Uploads/categories/images/"

 

 

UploadImagesPaths="/Uploads/categories/images/" DeleteImagesPaths="/Uploads/categories/images/
but I want

 

ImagesPaths="http://www.test.com/Uploads/categories/images/"

 

 

 

 

 

UploadImagesPaths="http://www.test.com/Uploads/categories/images/" DeleteImagesPaths="http://www.test.com/Uploads/categories/images/

Because relative path is not found in my Suatition.

Best Regrds
Sanjay Singh

 

 

 

Rumen
Telerik team
 answered on 26 Mar 2012
1 answer
204 views
Hi Support
I'm using RadWindow  and create one web user control in the name of controlconfigure.ascx page . In this page I have one button and Radwindow. When button click PopUp window is show. In the Radwindow I have  some textboxes and two button e.g. submitt and close . Upto now it is fine .

This control is going use in default.aspx page .

Now when user have enter some information to the textboxes and click submitt button in Popup window . All the value should display to a label (for simplicity) in Default.aspx page . How can I get value ? Here is the code  in Default.aspx:

 <asp:Label runat="server" Text="Value"></asp:Label>
<td>
      <ctrlconfig:Configuration ID="Configuration" runat="server" />
</td>

In this page How can I get Value from PopUp Window?



DEBAL
Top achievements
Rank 1
 answered on 26 Mar 2012
2 answers
262 views
Hello,

I have added grouping to my grid and everything works great until I have multiple pages.  When i have multiple pages I see something like this: "My Original Group Header" and then this extra stuff: (Showing 10 of 186 items. Group continues on the next page.)

How do I remove the extra stuff?

I have attached a screen shot of what I'm getting and what I want.

Also, can I right align this group header test also? 

Thanks!
Dan Harvey
Top achievements
Rank 2
 answered on 26 Mar 2012
2 answers
343 views
Hello,

When binding a combobox I am setting every other item's BackColor to "Gainsboro".  However, when I click the combobox and hover the items in the combobox the items backcolor I changed aren't highlighing blue anymore

for(var i=0; i < 10;i++)
 {
     // bind result to control
     var comboBoxItem = new RadComboBoxItem(i.ToString(), i.ToString());
     // add alternating row color
     if (i % 2 == 0)
         comboBoxItem.BackColor = Color.Gainsboro;
     comboBox.Items.Add(comboBoxItem);
 }

Attached is a picture of what Im seeing:

I would like all items to Highlight blue.

Thanks,

Dan Harvey
Top achievements
Rank 2
 answered on 26 Mar 2012
4 answers
97 views
Hi,

I use a ToolTipManager for a RadChart. The problem is that, I have a grid also on the same page and there is unwanted tooltip added on the grid because of the ToolTipManager. I set the ToolTipZoneID to my ChartID and It affect my Grid for I don't know why.

Here is my code:

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Labos.aspx.vb" Inherits="GESPHARxLite_2.Labos" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Charting" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<script src="Scripts/jquery-1.7.min.js" type="text/javascript"></script>
 
<script src="Scripts/Resizer.js" type="text/javascript"></script>
 
<head runat="server">
    <title></title>
    <link href="css/GESPHARxLite.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        html, body, form
        {
            margin: 0;
            height: 100%;
            overflow: hidden;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js">
            </asp:ScriptReference>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js">
            </asp:ScriptReference>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js">
            </asp:ScriptReference>
        </Scripts>
    </telerik:RadScriptManager>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="gridLabos">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="chartLabos" LoadingPanelID="RadAjaxLoadingPanel1"
                        UpdatePanelHeight="100%" />
                    <telerik:AjaxUpdatedControl ControlID="gridLabos" LoadingPanelID="RadAjaxLoadingPanel1"
                        UpdatePanelHeight="100%" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="chartLabos" />
                    <telerik:AjaxUpdatedControl ControlID="isInitialLoad" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">
    </telerik:RadAjaxLoadingPanel>
    <div id="hiddenFields">
        <input id="isInitialLoad" type="hidden" runat="server" value="1" />
    </div>
    <div id="gridDiv">
        <telerik:RadGrid ID="gridLabos" runat="server" Height="200px">
            <FilterMenu EnableImageSprites="False">
            </FilterMenu>
            <ClientSettings>
                <Selecting CellSelectionMode="None"></Selecting>
            </ClientSettings>
            <MasterTableView>
                <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
                <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
                    <HeaderStyle Width="20px"></HeaderStyle>
                </RowIndicatorColumn>
                <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
                    <HeaderStyle Width="20px"></HeaderStyle>
                </ExpandCollapseColumn>
                <Columns>
                    <telerik:GridBoundColumn DataField="labo_noauto" FilterControlAltText="Filter colHeure column"
                        HeaderText="NoAuto" ShowFilterIcon="False" UniqueName="colNoAuto" Visible="false"
                        ReadOnly="true" FilterControlWidth="100%">
                    </telerik:GridBoundColumn>
                    <telerik:GridImageColumn FilterControlAltText="Filter colStatutImg column" AllowFiltering="false"
                        HeaderText="" ImageHeight="" ImageWidth="" UniqueName="colStatutImg" HeaderStyle-Width="30">
                        <HeaderStyle Width="30px" ></HeaderStyle>
                    </telerik:GridImageColumn>
                    <telerik:GridDateTimeColumn DataField="Date" FilterControlAltText="Filter colDate column"
                        HeaderText="Date" UniqueName="colDate" ShowFilterIcon="False" CurrentFilterFunction="StartsWith"
                        FilterDelay="700" FilterControlWidth="100%">
                    </telerik:GridDateTimeColumn>
                    <telerik:GridBoundColumn DataField="labo_heure" FilterControlAltText="Filter colHeure column"
                        HeaderText="Heure" ShowFilterIcon="False" UniqueName="colHeure" FilterControlWidth="100%">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="labt_numero" FilterControlAltText="Filter colTypeTest column"
                        HeaderText="Type de test" ShowFilterIcon="False" UniqueName="colTypeTest" CurrentFilterFunction="StartsWith"
                        FilterDelay="700" FilterControlWidth="100%">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="labt_description" FilterControlAltText="Filter colDescription column"
                        HeaderText="Description" ShowFilterIcon="False" UniqueName="colDescription" CurrentFilterFunction="StartsWith"
                        FilterDelay="700" FilterControlWidth="100%">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="labo_valeur" FilterControlAltText="Filter colValeur column"
                        HeaderText="Valeur" ShowFilterIcon="False" UniqueName="colValeur" CurrentFilterFunction="StartsWith"
                        FilterDelay="700" FilterControlWidth="100%">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="unim_code" FilterControlAltText="Filter colMesure column"
                        HeaderText="Unité mesure" ShowFilterIcon="False" UniqueName="colMesure" CurrentFilterFunction="StartsWith"
                        FilterDelay="700" FilterControlWidth="100%">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="labo_normal_min" FilterControlAltText="Filter colMin column"
                        HeaderText="Minimum" ShowFilterIcon="False" UniqueName="colMin" CurrentFilterFunction="StartsWith"
                        FilterDelay="700" FilterControlWidth="100%">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="labo_normal_max" FilterControlAltText="Filter colMax column"
                        HeaderText="Maximum" ShowFilterIcon="False" UniqueName="colMax" CurrentFilterFunction="StartsWith"
                        FilterDelay="700" FilterControlWidth="100%">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="labo_statut" FilterControlAltText="Filter colStatut column"
                        HeaderText="Statut" ShowFilterIcon="False" UniqueName="colStatut" CurrentFilterFunction="StartsWith"
                        FilterDelay="700" FilterControlWidth="100%">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="labo_usager" FilterControlAltText="Filter colUsager column"
                        HeaderText="Usager" ShowFilterIcon="False" UniqueName="colUsager" CurrentFilterFunction="StartsWith"
                        FilterDelay="700" FilterControlWidth="100%">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="labo_commentaire" FilterControlAltText="Filter colCommentaire column"
                        HeaderText="Commentaire" ShowFilterIcon="False" UniqueName="colCommentaire" CurrentFilterFunction="StartsWith"
                        FilterDelay="700" FilterControlWidth="100%">
                    </telerik:GridBoundColumn>
                </Columns>
                <SortExpressions>
                    <telerik:GridSortExpression FieldName="Date" SortOrder="Descending" />
                </SortExpressions>
                <EditFormSettings>
                    <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                    </EditColumn>
                </EditFormSettings>
                <FilterItemStyle Width="100%" />
            </MasterTableView>
            <ClientSettings EnablePostBackOnRowClick="true">
            </ClientSettings>
        </telerik:RadGrid>
    </div>
    <div id="chartDiv">
        <telerik:RadChart ID="chartLabos" runat="server" Skin="Mac" DefaultType="Line" Style="width: 100%;"
            IntelligentLabelsEnabled="True">
            <ChartTitle>
                <Appearance Position-AlignedPosition="Top">
                    <FillStyle MainColor="">
                    </FillStyle>
                </Appearance>
                <TextBlock Text="Évolution des résultats">
                    <Appearance TextProperties-Font="Tahoma, 13pt">
                    </Appearance>
                </TextBlock>
            </ChartTitle>
            <Appearance TextQuality="AntiAlias">
                <FillStyle FillType="Image">
                    <FillSettings ImageDrawMode="Flip" BackgroundImage="{chart}" ImageFlip="FlipX">
                    </FillSettings>
                </FillStyle>
                <Border Color="138, 138, 138"></Border>
            </Appearance>
            <PlotArea>
                <EmptySeriesMessage Visible="True">
                    <TextBlock Text="Sélectionnez un test pour voir l'évolution des résultats">
                    </TextBlock>
                </EmptySeriesMessage>
                <XAxis LayoutMode="Inside" AutoScale="false" LabelStep="5" IsZeroBased="false">
                    <Appearance ValueFormat="ShortDate">
                        <MajorGridLines PenStyle="Solid" Color="209, 222, 227"></MajorGridLines>
                        <LabelAppearance RotationAngle="45" Position-AlignedPosition="Top">
                        </LabelAppearance>
                        <TextAppearance TextProperties-Color="51, 51, 51">
                        </TextAppearance>
                    </Appearance>
                    <AxisLabel>
                        <TextBlock>
                            <Appearance TextProperties-Color="51, 51, 51">
                            </Appearance>
                        </TextBlock>
                    </AxisLabel>
                </XAxis>
                <YAxis AxisMode="Extended">
                    <Appearance Color="134, 134, 134" MinorTick-Color="134, 134, 134" MinorTick-Width="0"
                        MajorTick-Color="134, 134, 134">
                        <MajorGridLines Color="209, 222, 227"></MajorGridLines>
                        <MinorGridLines Color="233, 239, 241"></MinorGridLines>
                        <TextAppearance TextProperties-Color="51, 51, 51">
                        </TextAppearance>
                    </Appearance>
                    <AxisLabel>
                        <TextBlock>
                            <Appearance TextProperties-Color="51, 51, 51">
                            </Appearance>
                        </TextBlock>
                    </AxisLabel>
                </YAxis>
                <Appearance Dimensions-Margins="60, 60, 90, 60">
                    <FillStyle MainColor="White" FillType="Solid">
                    </FillStyle>
                    <Border Color="134, 134, 134"></Border>
                </Appearance>
            </PlotArea>
            <Legend Visible="false">
                <Appearance Position-AlignedPosition="TopRight" Dimensions-Margins="0%, 3%, 1px, 1px">
                    <ItemMarkerAppearance Figure="Square">
                        <Border Color="134, 134, 134"></Border>
                    </ItemMarkerAppearance>
                    <FillStyle MainColor="">
                    </FillStyle>
                    <Border Color="Transparent"></Border>
                </Appearance>
            </Legend>
        </telerik:RadChart>
        <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" Skin="Telerik"
            Width="200px" Animation="Slide" Position="TopCenter" EnableShadow="true" ToolTipZoneID="chartLabos"
            AutoTooltipify="true">
        </telerik:RadToolTipManager>
    </div>
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
 
        <script type="text/javascript">
        <!--
            function Resize()
            {
                var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
                var arg1 = $(document).width();
                var arg2 = $(document).height() - $("#gridLabos").height() - 2;
                ajaxManager.ajaxRequest(arg1 + "," + arg2);
            }
        -->
        </script>
 
    </telerik:RadCodeBlock>
    </form>
</body>
</html>

Thanks.
Jocelyn
Top achievements
Rank 1
 answered on 26 Mar 2012
1 answer
183 views
My version is 915, I'm not looking for help just wanted to let someone know.

What I'm doing is saving the users selection when a particular view is clicked, like day, week, month, etc.  The next time they are on the site I'm grabbing their previously selected view and using it, so for example, if the user prefers the month view, I want the program to remember that.


So, what I found is:

When setting the selected view with SchedulerViewType.TimelineView, Timeline View = 4.

When saving the selected view using SchedulerNavigationCommand.SwitchToTimelineView, Timeline View = 3.

My program crashes when on the next visit I try to set the SchedulerViewType.TimelineView to 3, because that's not a valid choice.

Just an FYI.
Peter
Telerik team
 answered on 26 Mar 2012
1 answer
124 views
I recently upgraded from a 2011 release to Q1 2012 and my RadWindows no longer scroll on IOS5.  In the previous version, the iframe just expanded outside the bounds of the window, allowing scrolling to be achieved by scrolling the page.  Is there a fix for this, and if it is an implementation choice, is there a workaround, even if this means just falling back to expanding outside the bounds of the window?
Marin Bratanov
Telerik team
 answered on 26 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?