Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
137 views

Hi All,

 Here i have paste my coding.
 for Example ClaimNo value= 'PCL/15 and new project PREPARED on 15/07/2014 '

 I want Split and concatenate for claimno ('PCL/15 and new project EDITED on 15/07/2014')

 and one more question how to color change text in PREPARED / EDITED condition where a.status='ADD / MOD'

protected void RadGrid1_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
  var Bind = (from a in db.MY_Alerts
   select new { ClaimNo = a.ClaimNo, a.ProjRefNo }).ToList();
  RadGrid17.DataSource = Bind;
}

Thanks
Ansari.
Princy
Top achievements
Rank 2
 answered on 21 Jul 2014
1 answer
86 views
I use the ImageEditor to draw a signature on a webpage. This page is viewed on a iPad. When the user zooms in on the page to make the control bigger, drawing on the canvas does not work anymore.

Is there a solution for this.

best regards,
Lanzo van Slooten
Vessy
Telerik team
 answered on 21 Jul 2014
2 answers
175 views
When using the stock layout the legend does not show. I is there ant way to get it to show?

Thanks
Ken
Top achievements
Rank 1
 answered on 21 Jul 2014
1 answer
161 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
142 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
385 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
111 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
313 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
260 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
135 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?