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

I was able to reproduce the problem in your online demo: http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx

 

Steps to reproduce:

  1. Clear the content in the editor.
  2. In the font name dropdown, select "Tahoma".
  3. In the font size dropdown, select "20px". Note that the front name switched back to "Segoe UI" and font size is not retained.

I am running IE10.

Thanks.

 

Joana
Telerik team
 answered on 31 May 2013
0 answers
167 views
I put a RadWindow to popup on a button click on a web page
the control contains a RadNumericTextbox, a user control consisting of 10 buttons 0-9 and 2 buttons Cancel and Update

the keypad is supposed to grab the number entered and concatenate it to the number in the textbox
only problem is, I can't seem to be able to figure out how to enter decimal digits i.e. cents
' this method handles lump sum entry of one character using the pen
' it also is called using a mouse
Private Sub KeyEntry1_SubmitClicked() Handles KeyEntry1.SubmitClicked
    ' if the button tapped was the del button clear the qty textbox
    If KeyEntry1.pTag.ToString() = "del" Then
        rntbLumpSum.Value = Nothing
        rntbLumpSum.Text = ""
        ' otherwise append the character in the Tag property to the
        ' qty textbox
    ElseIf KeyEntry1.pTag.ToString() = "." Then
    Else
        rntbLumpSum.Text += KeyEntry1.pTag.ToString()
    End If
End Sub
Imports Telerik.Web.UI
 
Partial Class KeyEntry
    Inherits System.Web.UI.UserControl
    Public Delegate Sub SubmitClickedHandler()
    Private btnText As String
    Private key_press As String
    Public Event SubmitClicked As SubmitClickedHandler
 
    Public Property keyPad() As String
        Get
            Return btnText
        End Get
 
        Set(ByVal value As String)
            btnText = value
        End Set
    End Property
 
    Public ReadOnly Property pTag() As String
        Get
            Return key_press
        End Get
    End Property
 
    Protected Sub button_Click(sender As Object, e As EventArgs) Handles Bdel.Click, B0.Click, B1.Click, B2.Click, B3.Click, B4.Click, B5.Click, B6.Click, B7.Click, B8.Click, B9.Click, Bdot.Click
        btnText = DirectCast(sender, RadButton).Text
        key_press = DirectCast(sender, RadButton).Text
        RaiseEvent SubmitClicked()
    End Sub
End Class
the RadWindow
<div>
    <telerik:RadWindow ID="rwLumpSum" Modal="true" Top="0" Left="0" VisibleOnPageLoad="false" runat="server" >
        <ContentTemplate>
        <asp:UpdatePanel ID="cpLumpSum" UpdateMode="Conditional" runat="server">
        <ContentTemplate>
            <table>
            <tr>
            <td>Lump Sum</td>
            <td>
                <telerik:RadNumericTextBox ID="rntbLumpSum" MinValue="0" MaxValue="999.99" runat="server">
                    <NumberFormat DecimalDigits="2" />
                </telerik:RadNumericTextBox>
            </td>
            </tr>
            <tr>
            <td colspan="2">
                <keypad:KeyEntry ID="KeyEntry1" runat="server" />
            </td>
            </tr>
            <tr>
            <td>
                <telerik:RadButton id="rbCancel" Text="Cancel" OnClientClicked="rbCancelClicked" AutoPostBack="false" UseSubmitBehavior="false" CausesValidation="false" runat="server" />
            </td>
            <td>
                <telerik:RadButton id="rbUpdate" Text="Update" OnClientClicked="rbUpdateClicked" runat="server" />
            </td>
            </tr>
            </table>
        </ContentTemplate>
        <Triggers>
            <asp:PostBackTrigger ControlID="rbUpdate" />
        </Triggers>
        </asp:UpdatePanel>
        </ContentTemplate>
    </telerik:RadWindow>
</div>
Elliott
Top achievements
Rank 2
 asked on 31 May 2013
0 answers
121 views
hi, i need to know if it's possible to add to the radscheduler resources by code, then create appoitments and view them in the radscheduler

I know i can set the resources type and group by rooms but i would like to create all with the code.
i want create a sort of list with names of resources, then create some appoitments, set for each one who is the resource, so i can see the appoitments in the radscheduler without use a query o sqldatasource from the aspx-code.

it's that possible?




TT
Top achievements
Rank 1
 asked on 31 May 2013
4 answers
114 views
Hi,

We are currently experiencing some problems when trying to add a hyperlink to the RadEditor using the Hyperlink Manager.
This happens with IE 7.
We are currently using version 2013.1.319.40 of the ASP.NET AJAX controls.

For example let's say I try to add a hyperlink to google and I want it to open in a new window:
I get the image ie7_tryingtoinserthyperlink

When I click on OK, here's the html that gets produced in the editor:
<SPAN id=__insertNodeBefore>a</SPAN><SPAN id=__insertNodeAfter>b</SPAN>
I get the image: ie7_afterinserthyperlink

Any help would be appreciated.

Thanks,
Cameron

Cameron
Top achievements
Rank 1
 answered on 31 May 2013
1 answer
214 views
hi guys
when i enter the captcha text in text box in the first time give me error and say the captcha is not valid
in the second time its good and captcha.isvalid is true
it means every time and in the first time return me false and in the second time return true
whats the problem?
please help
Slav
Telerik team
 answered on 31 May 2013
2 answers
333 views
I'm using telerik in a .Net 3.5 solution, but Telerik have started to act strange when I'm debugging. 


Telerik.Web.UI.RadEditor with ID='DocumentHTML' was unable to find an embedded skin with the name 'Sitefinity'. Please, make sure that the skin name is spelled correctly and that you have added a reference to the Telerik.Web.UI.Skins.dll assembly in your project. If you want to use a custom skin, set EnableEmbeddedSkins=false.


But I have a reference in my project. since it won't compile without it, and its in the GAC. 

This is the output from gacutil:

  Telerik.Web.Design, Version=2013.1.417.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4, processorArchitecture=MSIL
              SCHEME: <WINDOWS_INSTALLER>  ID: <MSI>  DESCRIPTION : <Windows Installer>  
  Telerik.Web.UI, Version=2013.1.403.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4, processorArchitecture=MSIL
  Telerik.Web.UI.Skins, Version=2012.3.1016.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4, processorArchitecture=MSIL

Hope you have an idea as whats happening. 
Magnus
Magnus
Top achievements
Rank 1
 answered on 31 May 2013
1 answer
154 views
Hi
How can I get the filter textbox from code behind and give background color to it.

thanks in advance
RT
Princy
Top achievements
Rank 2
 answered on 31 May 2013
2 answers
113 views
I have a GridDropDownColumn with some columns. I want when a user select a "Status Color"  an Image of the color selected shows up next to it. I am using the code below is not working.

 <telerik:GridDropDownColumn  DataField="RiskStatusColorID" DataSourceID="StatusColorDataSource"
                                                            DefaultInsertValue="" HeaderText="Status Color" SortExpression="StatusColorID"
                                                            ListTextField="RiskStatusColor" ListValueField="StatusColorID" UniqueName="StatusColorID" DropDownControlType= "RadComboBox"> 
                                                         </telerik:GridDropDownColumn>
                                                          <telerik:GridTemplateColumn UniqueName="Images"  HeaderText="Images" > 
                                                             <ItemTemplate>
                                                             <asp:Image ID="Image1" runat="server" /> 
                                                             </ItemTemplate> 
                                                          </telerik:GridTemplateColumn> 


CodeBehind
---------------------
protected void gvSummary_ItemCreated(object sender, GridItemEventArgs e)
    {

GridEditableItem imgitem = (GridEditableItem)e.Item;
            RadComboBox imglist = (RadComboBox)imgitem["StatusColorID"].Controls[0];
            imglist.AutoPostBack = true;
            imglist.SelectedIndexChanged += new RadComboBoxSelectedIndexChangedEventHandler(img_SelectedIndexChanged);
}
protected void img_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)
    {
        RadComboBox comboimg = (RadComboBox)o;
        GridEditableItem edit2 = (GridEditableItem)comboimg.NamingContainer;
        if (comboimg.SelectedValue == "Red")
        {
            Image img = (Image)edit2.FindControl("Images");
            img.ImageUrl = "../Images/dot_red.png";
        }
        
}
 


                                                                                         
Ebenezer
Top achievements
Rank 1
 answered on 31 May 2013
7 answers
227 views
Hi,

I'm tried to hide RibbonBarButton 'Paste' from first tab by using below script.

$find('RibbonBarId').findItemByText('RibbonBarButton')._element.style.display = 'none';

It will appear like ribbonbar_bug_1.png

first time, I switched to another tab and come to first tab and it looks like ribbonbar_bug_2.png. 

i have switched to another tab again few time and it breaks the ribbonBarGroup all buttons. (refer ribbonbar_bug_3.png);

Can any one help me in this?

Thank You.
Shinu
Top achievements
Rank 2
 answered on 31 May 2013
2 answers
367 views

In RadGrid filter what is the difference between 'null' and 'empty' and what is the use of these filters.

Vipin
Top achievements
Rank 1
 answered on 31 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?