Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
97 views
I am doing the following, but it is locked to create tPeekTemplate.

I have the following:

  RadImageAndTextTile tile3 = new RadImageAndTextTile();
        tile3.ImageUrl="Foto_hoja_vida2.jpg";
        tile3.Title.Text="Que man tan play";
        tile3.Name = "JOOJOJO";
        tile3.NavigateUrl = "FrmHomeOne.aspx";
        tile3.PeekTemplateSettings.AnimationDuration = 700;
        tile3.PeekTemplateSettings.ShowInterval = 6000;
        tile3.PeekTemplateSettings.CloseDelay = 4000;
        tile.PeekTemplateSettings.Animation.GetType();
        tile3.PeekTemplateSettings.Easing = "easeInQuint";
        tile3.PeekTemplateSettings.ShowPeekTemplateOnMouseOver = true;
        tile3.PeekTemplateSettings.HidePeekTemplateOnMouseOut = true;
        tile3.Text = "tonces parse que hacemos";
        Label a =new Label(); //add it is not as
        a.Text="ojo pues omee ajajajajajaja"; //add it is not as
        tile3.PeekTemplate.Equals(a);//add it is not as

 RadTileList2.Groups[0].Tiles.Add(tile3);


thanks for your help
Marin Bratanov
Telerik team
 answered on 24 Jul 2013
1 answer
184 views
Hi Telerik Team,

I am using Telerik Radchart. How to remove a repeated Y-axis value? Please see the attached file. Value return in Y-axis value 1. But it is repeated in chart. I don't want this type. In case I will check another condition means like (Value return of 1500) It will work fine like (returns 500, 1000, 1500). I want solution for when value returns 1 means that problem need to resolve.

Please find attached file.

Regards
Palaniappan. R
Petar Kirov
Telerik team
 answered on 24 Jul 2013
1 answer
192 views
Hi,

I have a radgrid and for add / edit I have external control of WebUserControl.ascx.
I open popup radwindow and show that control in that..

Now, when saving on that control I want to validate from database and show error on popup but when a postback occurs popup closed and entered data also lost. I want to keep popup open and show error.

How can I achieve that..???
any help would be appreciated...

Thanks in advance...
Konstantin Dikov
Telerik team
 answered on 24 Jul 2013
7 answers
148 views
Hello,

if you have two RadTextBoxes and both will be filled by drag and drop from a text file - for example. When you want to save, the first dropped value will not be saved. It seems that no event will be fired. If you click into the first textbox and then save, both values will be saved correctly.

Greetings,
Ronny
David Penny
Top achievements
Rank 2
 answered on 24 Jul 2013
6 answers
171 views
Hi telerik,
   
    I want only show date in filter date fieldeditors,I set the PreviewDataFormat="yyyy-MM-dd" it not work. and I want not show the time picker ico.

<telerik:RadFilter ID="RadFilter1" runat="server" OnApplyExpressions="RadFilter1_ApplyExpressions">
                <FieldEditors>
                    <telerik:RadFilterDateFieldEditor DisplayName="Join Date" DataType="System.DateTime"
                        FieldName="approach_date" />
                </FieldEditors>
            </telerik:RadFilter>
Eyup
Telerik team
 answered on 24 Jul 2013
1 answer
377 views
Hi, I have a page with several textboxes and comboboxes which all seem to work fine. The issue I have is with one textbox tb_Service and a combobox cmb_Service. What I have is tb_Service is a readonly textbox with a button (but_Modify). When the button is clicked a div is made visible revealing cmb_Services and two buttons to add or delete services. So when the user clicks modify, they select a service from the combobox and click add or delete buttons. These buttons have clientside java which will add or delete the service from tb_Services.
The code for the add is...
function butServiceAddClick() {
            var ServiceSelected = $('#cmbx_Service').val().toUpperCase();
            if (ServiceSelected == "PLEASE SELECT...") {
                //No Service selected so do nothing and exit
                return true;
            } else {
                var tb = $('#tb_Services');
                var oldvalue = tb.val().toUpperCase();
                var ServiceList = oldvalue + ";";
                if (/ServiceSelected + ";"/i.test(ServiceList)) {
                    //The selected Service is already in the list
                    //Do nothing and exit
                    return true;
                } else {
                    var newtext = "";
                    if (ServiceList == ";") {
                        newtext = ServiceSelected;
                    } else {
                        newtext = ServiceList + " " + ServiceSelected;
                    }
                    tb.val(newtext);
                    registerChange(tb, oldvalue, newtext);
                }
            }
        }

The code for deleting is similar and both codes work fine. In a test I added two sevices and ended up with tb_Services displaying SERVICE A; SERVICE B

I have another button which does a save. This is done in the code behind. When I look at what tb_Services.Text equates to at a breakpoint it is an empty string which is its value when the page was first populated. If I go to a record which already has a Service and add another the textbox displays correctly but once again when I click the save button and check the value of tb_Services is only has the original service and not the one I added. What am I doing wrong?
Vasil
Telerik team
 answered on 24 Jul 2013
1 answer
151 views
Hello,

I am trying to apply 3 different colors to the appointment based on the selected resources but it aint working. Any ideas why? Thank you.

<telerik:RadScheduler  ID="RadScheduler1"  />
   .......
        <ResourceTypes>
            <telerik:ResourceType DataSourceID="SqlDataSource2" ForeignKeyField="PeopleID" KeyField="ID"
                Name="User" TextField="People" />
        </ResourceTypes>
        <ResourceStyles>
            <telerik:ResourceStyleMapping Type="User" Text="Dodo" ApplyCssClass="rsCategoryBlue" />
            <telerik:ResourceStyleMapping Type="User" Text="Maya" ApplyCssClass="rsCategoryOrange" />
            <telerik:ResourceStyleMapping Type="User" Text="Tata" ApplyCssClass="rsCategoryGreen" />
        </ResourceStyles>


Thank you TELERIK in advance for your help. 





Zura Chikhladze
Top achievements
Rank 1
 answered on 24 Jul 2013
1 answer
102 views
I am using Drag and Drop to reorder tabs functionality in my project.
Its working fine as along as i drop tab on some other tab in the tab strip.

When i try to drop at end of the tab strip after last tab its not re-ordering. I want to implementation this in my project.
Any help will be appreciated. Please see the attached image.

Thanks
Dimitar Terziev
Telerik team
 answered on 24 Jul 2013
3 answers
382 views
hi all
I have 3 level Rad grid hierarchy.
I want each detail table has specific header backcolor.how can I do that?
Mohamed Yasin
Top achievements
Rank 1
 answered on 24 Jul 2013
1 answer
107 views
Hi Team and Dear all,

I have ready to creat web applications using Control Telerik.

When I not use Telerik Control in Page Login after published in IIS.
I call my web in URL ,: http://localhost:8080/
event button click is Fine and Work call code behind Process..

but, when I using Control Telerik,like RadScriptmanager and others...
when I click button Login,that not work...
When I call URL this "http://localhost:8080/" it's no work, but when I add specific page like " http://localhost:8080/default.aspx" ,it;'s work..

in IE,Firefox and GoogleChome it's not Work....

this, my code, my be i was wrong something or anything else...
please help me..
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="eRTE.Default" %>
<!DOCTYPE html>
 
<head runat="server">
    <title>eRTE</title>
    <link href="~/Content/Site.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
         
         
    <div>
    <asp:ScriptManager runat="server" ID="ScriptManager1"></asp:ScriptManager>
        <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
        </telerik:RadStyleSheetManager>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        </telerik:RadAjaxManager>
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Metro">
        </telerik:RadWindowManager>
     
    </div>
    <div style="height: 175px">
     
    </div>
 
        <div style="height: 150px">
            <table style="width: 100%">
                <tr>
                    <td align="center" colspan="3">
                        <img alt="logo" src="Images/logosystem.png" />
                    </td>
                </tr>
                <tr>
                    <td style="width: 40%"></td>
                    <td>
                        <table style="width: 100%">
                            <tr><td>
                                    <span style="font-size: 13px;color: #666;">USERNAME</span>
                                </td><td><span style="font-size: 13px;color: #666;">PASSWORD</span>
                                     </td></tr>
                            <tr><td>
                                         <telerik:RadTextBox runat="server" ID="tbusername" AutoCompleteType="Disabled"></telerik:RadTextBox>
                                </td><td>
                                         <telerik:RadTextBox runat="server" ID="tbpass" TextMode="Password" AutoCompleteType="Disabled"></telerik:RadTextBox>
                                     </td></tr>
                            <tr><td>
                                    <asp:Button Text="Login" ID="btnLogin" runat="server" CssClass="buttonsubmit" Width="75px" OnClick="btnLogin_Click"/>                                </td><td></td></tr>
                        </table>
                         
                    </td>
                    <td style="width: 35%"></td>
                </tr>
                <tr>
                    <td style="width: 40%"> </td>
                    <td>
                             <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbusername" CssClass="field-validation-error" ErrorMessage="The user name field is required." /><br />
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tbpass" CssClass="field-validation-error" ErrorMessage="The password field is required." />
     
                    </td>
                    <td style="width: 35%"> </td>
                </tr>
            </table>
 
        </div>
        <div style="height: 250px"></div>
        <div style="text-align: center; color: #333;font-size: 12px;" >
Copyright ©  <%: DateTime.Now.Year.ToString() %>· All rights reserved.
        </div>
    </form>
</body>
</html>

and this code behind

using System;
using System.Collections.Generic;
using System.Configuration;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
 
namespace eRTE
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Form.DefaultButton = btnLogin.ClientID;
            Form.DefaultFocus = tbusername.UniqueID;
            if (!IsPostBack && (Request.Cookies["__LOGINCOOKIE__"] == null || Request.Cookies["__LOGINCOOKIE__"].Value == ""))
            {
 
                Session.Abandon();
                Response.Cookies.Add(new HttpCookie("ASP.NET_SessionId", ""));
            }
 
 
 
        }
 
        private void AddRedirCookie(string userdata)
        {
        }
 
        protected void btnLogin_Click(object sender, EventArgs e)
        {
 
           //this my code process event login,
          // when I using control telerik, can't  proses to this event...why..???
        }
 
 
    }
}

trims a lot,

best reagrds,

chester
BabaYa
Top achievements
Rank 1
 answered on 24 Jul 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?