Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
165 views
Hello,

I have a simple question. In this page http://demos.telerik.com/aspnet-ajax/scheduler/examples/pdfexport/defaultcs.aspx there is scheduler export to PDF. When file is exported, you can see that output quality is really low. It is jpg image in pdf, right? Is there any way how to choose output quality?

Based on source code, there is method in SchedulerExporter.cs

​        private void ConvertBitmapToJpeg(Bitmap bmp)
        {
            var ms = new MemoryStream();
            bmp.Save(ms, ImageFormat.Jpeg);
            _gifArray.Add(ms.ToArray());
        }

The is no encoder settings parameter (http://msdn.microsoft.com/en-us/library/system.drawing.bitmap.save(v=vs.110).aspx). Any way how to do it? OR are there any plans to implement this?

Regards
René
Plamen
Telerik team
 answered on 21 Jul 2014
1 answer
145 views
I am using the radasyncupload control with a custom handler.  The custom handler uploads the files directly to a database. 

I am trying to get the control to persist these uploaded files across postback.  In the documentation it simply states that I need to set PostbackTriggers to the id of the button involved with submitting the form.  When I do that, the files are NOT persisted (the list of files already uploaded do not stay there). 

Is there something that I'm missing with this?  Is this a bug with persisiting files while using the custom handler?
Boyan Dimitrov
Telerik team
 answered on 21 Jul 2014
4 answers
391 views
I Can't Get CheckBox Checked Items, the "MsgList.CheckedItems.Count" Allways Zero. But In my Project another Place Can get it.

<--This Can't Get.-->
<telerik:RadNotification runat="server" ID="MessageNotification" AutoCloseDelay="0" Position="BottomRight" OffsetX="-20" OffsetY="-20" LoadContentOn="TimeInterval"
            ContentScrolling="Default" Title="MessageBox" Width="350" EnableRoundedCorners="true" UpdateInterval="10000"
            TitleIcon="~/Common/Images/LogoIcon/logo16.ico" OnCallbackUpdate="MessageNotification_OnCallbackUpdate" OnClientUpdated="OnClientUpdated">
            <ContentTemplate>
                <asp:UpdatePanel runat="server" ID="UpdatePanel1" UpdateMode="Conditional">
                    <ContentTemplate>
                        <div style="float: left; margin: 5px">
                            <telerik:RadListBox runat="server" ID="MsgList" Width="340" Height="300" CheckBoxes="True" Culture="zh-CN" DataSourceID="SqlDataSource1">
                                <ItemTemplate>
                                    <asp:Label runat="server" ID="lbTime" Text='<%# Eval("OptionDateTime") %>'></asp:Label>
                                    <asp:Label runat="server" ID="lbDept" Text='<%# Eval("DepartmentName") %>'></asp:Label>
                                    <asp:Label runat="server" ID="lbUser" Font-Bold="True" Text='<%# Eval("RealName") %>'></asp:Label>
                                    <asp:Label runat="server" ID="lbMsg" ForeColor="Red" Text='<%# Eval("MessageText") %>'></asp:Label>
                                </ItemTemplate>
                            </telerik:RadListBox>
                            <div style="text-align: center;margin-top: 5px">
                                <telerik:RadButton runat="server" ID="btnSetReaded" Text="SetReaded" OnClick="btnSetReaded_Click"></telerik:RadButton>
                            </div>
                            <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:SMSConnectString %>"></asp:SqlDataSource>
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </ContentTemplate>
        </telerik:RadNotification>


​protected void btnSetReaded_Click(object sender, EventArgs e)
        {
             IList<RadListBoxItem> selItems = MsgList.CheckedItems;
            foreach (RadListBoxItem item in selItems)
            {
                ........
            }
        }


<--This Can Get -->
        <div class="col-mid2">
            <div style="font-size: 12px">Select Role:</div>
            <telerik:RadListBox runat="server" ID="lboxRoleID" Width="100%" Height="370" CheckBoxes="True" />
            <br/>
        </div>   
protected void btnSave_Click(object sender, EventArgs e)
        {
            int roleid = 0;
            IList<RadListBoxItem> collection = lboxRoleID.CheckedItems;
             foreach (RadListBoxItem item in collection)
            {
                ........
            }
        }
Shinu
Top achievements
Rank 2
 answered on 21 Jul 2014
1 answer
113 views
Since a few days I faced out huge performance issues on IE11 because of the last KB2962872 update.

Have a look at here https://connect.microsoft.com/IE/feedback/details/916652/ie-9-ie-11-freezes-in-some-situations-after-installation-of-kb2962872

With the KB2962872 update on Win7 the performance of Ajax Calls with RadAjaxManager on IE11 is unacceptable.
Performance was even better with IE6, I think!

Maybe someone else has this problem.

So it’s really hard to accept that we all are dependent from this Microsoft crap!
Konstantin Dikov
Telerik team
 answered on 21 Jul 2014
3 answers
318 views
Hi,

I am using telerik rad tool tip with default skin. I want to make the title of the tooltip bold. I tried to provide css for same, but it seems the default formatting is overriding my changes. Please help. I am using below code -

<telerik:RadToolTip ID= "feeInfo" runat = "server" TargetControlID = "imgFee" Position = "MiddleRight" Width = "225px"
Title = "About Total Fee" Text="Fees sourced from questionnaire" ShowEvent="OnClick">
</telerik:RadToolTip>

Below is the css -

.RadToolTip .rtTitlebar
{
font-weight: bold;
font-size: 15px;
}

Thanks,
Shefali
Asutosh
Top achievements
Rank 1
 answered on 21 Jul 2014
3 answers
269 views
I've RadTabStrip that opens RadWindow inside its content. But when the window opened, It only moves inside the tab.
I'd like to make the window moves all over the page. I need it to shown up on the middle of the whole page.

See Attachement.

Thanks
Marin Bratanov
Telerik team
 answered on 21 Jul 2014
1 answer
141 views
Hi.

Please could you assist.  My radwindow seems to load the entire page inside the popup (with menu, footer etc) instead of just the controls.  Screenshot and code below.

Any help will be appreciated.

Clientside code: shows popup on image click

var BaseURL = "<%= WindowBaseURL%>";
            function ShowSearchForm() {
                var toolBar = $find("<%=toolbarInstruments.ClientID%>");
                var tbButton = toolBar.findItemByText("exchange");
                var cbo = tbButton.findControl("cboExchange");
                if ('<%=IsMobile%>' == 'True') {
                    var navURL;
                    navURL = BaseURL + "&EX=" + cbo.get_value();
                    //location.href = navURL;
                    window.location.href =  navURL;
                }
                else {
                    //Open the RADWindow
                    var params = document.getElementById('<%=hfParams.ClientID%>').value;
                    var symbolmanager = $find("<%= rwmWatchlist.ClientID %>");
                    var toolBar = $find("<%=toolbarInstruments.ClientID%>");
                    var tbButton = toolBar.findItemByText("exchange");
                    var cbo = tbButton.findControl("cboExchange");
                    var navURL;
                    navurl = BaseURL + '&EX=' + cbo.get_value();
                    symbolmanager.open(navurl , "FindDialog");
                    symbolmanager.SetTitle("Search");
                    return false;
                }
            };

server code: Radwindow declaration
<telerik:RadWindowManager ID="rwmW" runat="server" EnableShadow="true">
        <windows>
            <telerik:RadWindow ID="FindDialog" Title="Instrument Lookup" runat="server" Modal="true"
                ReloadOnShow="True" Overlay="True" KeepInScreenBounds="True" Behaviors="Close,Move,Resize"
                OnClientClose="OnClientClose" ShowContentDuringLoad="false" EnableShadow="false"
                VisibleStatusbar="false" AutoSize="False" VisibleOnPageLoad="False" rendermode="lightweight" width="1042px" EnableEmbeddedSkins="true"/>
        </windows>
    </telerik:RadWindowManager>

Public
ReadOnly Property WindowBaseURL As String
        Get
            If IsMobile Then
                Return String.Format("{0}/mid/{1}?{2}", DotNetNuke.Common.Globals.NavigateURL("Search"), Me.ModuleId, "popUp=false")
            Else
                Return UrlUtils.PopUpUrl(EditUrl("Search"), Me, PortalSettings, False, True)
            End If
        End Get
    End Property

Marin Bratanov
Telerik team
 answered on 21 Jul 2014
1 answer
102 views
Hi,

Is there any way that on the click of button, I get only the modified cell values from the Grid instead of reading the entire grid and sending this huge data across the network to be stored in database.

Thanks
Nisha
Eyup
Telerik team
 answered on 21 Jul 2014
1 answer
174 views
Hi to all,

I would like to use the RadFileExplorer to connect to multiple FTP servers, the goal is to select in a RadDropDownList a previously configured FTP info from a database (FTP Server, Username, UserPassword) and then open the RadFileExplorer in a RadWindow with the selected RadDropDownList  values, and then pass to the server side or to a hidden the selected file path.

It is posible to change the RadFileExplorer values in the codebehind? Do i need to use always a "FtpSettings.config" file?

I have sean this example but as i understand it only use the .config file:
http://www.telerik.com/support/kb/aspnet-ajax/fileexplorer/details/connecting-the-radfileexplorer-to-a-ftp-filesystem

Thanks in advance.
Dobromir
Telerik team
 answered on 21 Jul 2014
3 answers
242 views
hello
i have a radgrid whit a loading panel. it's work.
i have a problem when i make the export excel. when i click the export excel i want that the loading appear but in this way the export not work.
this is my code:

   <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
   <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="btnPrevisionExport">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="GridPrevision" LoadingPanelID="RadAjaxLoadingPanel1"/>
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
    </telerik:RadAjaxManager>
    
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Skin="Default" runat="server" >
    </telerik:RadAjaxLoadingPanel>

if i don't put the this code

   <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
   <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="btnPrevisionExport">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="GridPrevision" LoadingPanelID="RadAjaxLoadingPanel1"/>
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
    </telerik:RadAjaxManager>

the export work but i haven't the loading on the grid.
Any ideas to make export and have the loading on the grid?
Thanks
   

Sureshkumar
Top achievements
Rank 1
 answered on 21 Jul 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?