Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
70 views
Hi,

i am using RadmaskedTextbox,I want a feature that allows the control to return (i.e.) "003" when the user enter "3".

Could you please help me to sort out this.
Shinu
Top achievements
Rank 2
 answered on 13 Oct 2010
1 answer
62 views
Hi,

In my scheduler I have one resource, but in the Views (DayView, WeekView, etc.) doesn't appear in the header of the control.  But when I editing an appointment, the Resources appears like a ComboBox.  Why I can't view my Resource in the DayView??

This is my code (is very simple):

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack) cargarSalones();
    }

    void cargarSalones()
    {
        DataSet ds = new DataSet();
        DataTable dtSalones = new DataTable("salones");
        DataTable dtDetalle = new DataTable("detalle");

        dtSalones.Columns.Add(new DataColumn("salon", typeof(System.Int32)));
        dtSalones.Columns.Add(new DataColumn("nombre", typeof(System.String)));

        dtDetalle.Columns.Add(new DataColumn("salon", typeof(System.Int32)));
        dtDetalle.Columns.Add(new DataColumn("asunto", typeof(System.String)));
        dtDetalle.Columns.Add(new DataColumn("inicio", typeof(System.DateTime)));
        dtDetalle.Columns.Add(new DataColumn("fin", typeof(System.DateTime)));

        DataRow row = dtSalones.NewRow();
        row["salon"] = 1;
        row["nombre"] = "Salon 101";
        dtSalones.Rows.Add(row);

        DataRow row2 = dtSalones.NewRow();
        row2["salon"] = 2;
        row2["nombre"] = "Salon 202";
        dtSalones.Rows.Add(row2);

        DataRow row3 = dtDetalle.NewRow();
        row3["salon"] = 1;
        row3["asunto"] = "Curso A101 - Carrera LAE";
        row3["inicio"] = "08:00";
        row3["fin"] = "08:59";
        dtDetalle.Rows.Add(row3);

        DataRow row4 = dtDetalle.NewRow();
        row4["salon"] = 2;
        row4["asunto"] = "Curso B02 - Carrera II";
        row4["inicio"] = "10:00";
        row4["fin"] = "10:59";
        dtDetalle.Rows.Add(row4);

        ds.Tables.Add(dtSalones);
        ds.Tables.Add(dtDetalle);

        ResourceType salon = new ResourceType();
        salon.KeyField = "salon";
        salon.Name = "salon";
        salon.ForeignKeyField = "salon";
        salon.TextField = "nombre";
        salon.DataSource = ds.Tables["salones"];
        RadScheduler1.ResourceTypes.Add(salon);
        
        RadScheduler1.DataSource = ds;
        RadScheduler1.DataMember = "detalle";
        RadScheduler1.DataKeyField = "salon";
        RadScheduler1.DataSubjectField = "asunto";
        RadScheduler1.DataStartField = "inicio";
        RadScheduler1.DataEndField = "fin";
        RadScheduler1.DataDescriptionField = "asunto";
    }

Thanks in advance.
Veronica
Telerik team
 answered on 13 Oct 2010
1 answer
128 views
I have a RadNumericTextBox with both the EmptyStyle-CssClass and ReadOnlyStyle-CssClass defined. The Empty style appears to be taking precedence over the ReadOnly style. Can someone verify this?
Dimo
Telerik team
 answered on 13 Oct 2010
9 answers
201 views
Hi support,

I searched the internet and this forum to determine how to prevent the user from double inserting/editing at different hierarchical levels.  That is, I have code now which will prevent the user from double inserting or editing at a particular level of the grid.  However, I would like to prevent it at all levels.  That is, if the user has an insert or edit form at one level and then clicks on an insert or edit form at another level then I want to close the insert or edit form at the first level and show only the insert or edit form at the level the user clicked on last.  The purpose being that only one data entry form is ever shown at any one time.  Is this possible?  How do I do it?

I'm actually surprised that this isn't a commonly asked for setting.  It makes sense to me that in a hierarchical grid,  in order to stem some of the chaos, that the developer would only want one data entry form open at a time.

Thanks,
Josh
zel
Top achievements
Rank 1
 answered on 13 Oct 2010
1 answer
111 views
When setting Animation="Fade" and Modal="true" on my RadWindows, I notice that the window fades in to view and THEN the "modal" gray page background is displayed. As a result, the fading animation is somewhat spoiled by the sudden appearance of the gray background at the end of the animation.

I was wondering if it would be possible to either fade the modal background in and out, or at least display the background before fading in the window.

Thanks!

Jake
Georgi Tunev
Telerik team
 answered on 13 Oct 2010
2 answers
46 views
Hi,

I have a requirement where I need to refresh entire tree on particular action (deleting node/ adding node). The refresh should happen in such a way that all expanded node should remain in expanded state with latest childs. (i.e. node might get added/deleted to already expanded nodes in backend & they should appear in the treeview)
.
Thanks.
Nikolay Tsenkov
Telerik team
 answered on 13 Oct 2010
11 answers
127 views
Hello,

I've experiencied a lots os glitchs in RadEditor for MOSS. The most of the them is about the alignment and position of paragraphs and tables. Many behaviors replaces my text with extra lines and put alignment that i have not set.

Simple test is create 3 lines with break (enter key), next we wil make a paragraph in middle, using ctrl+enter. When we switch do html view or make a check in, the editor put an extra line after the paragraph. Sometimes we edit and remove the text and it fixes, sometimes he put again the extra ou double lines, and i can't win this battle!

Another situation: many texts have bullets, when a user change a lot, sometimes the editor start to put extra lines with empty bullets at the end of the text. This is hard to explain how to achive this behavior, but i've see with my own eyes... look at this (http://conteudos.medinet-seguros.pt/produtosemvigor_/multiriscos/Seguro%20Casa/Pages/CapitaisSeguros.aspx)

Could help me?

RadEditor Version 5.3
Stanimir
Telerik team
 answered on 13 Oct 2010
1 answer
63 views
I have been working with a client's existing code, and trying to implement a new set of pages.

They have YUI and MVC 1.0.

I am using the scheduler. 

I added a page with their master page which includes a lot of YUI components and other Javascript pieces.

Without even databinding it, I get a javascript error (or if I do databind it) where it states that "

Microsoft JScript runtime error: 'type' is null or not an object

 

"
and the breaking line of code is Sys.UI.DomEvent=function(e){var a=e,b=this.type=a.type.toLowerCase();

Any clues?

Paul

Veronica
Telerik team
 answered on 13 Oct 2010
1 answer
138 views
Hi Telerik Team,

I'm new to AJAX, javascript and especially the RadScheduler and need to know how to achieve the following functionality (or at least to be pointed in the right direction):

1. User clicks a button on the page.
2. The rad scheduler's advanced new appointment form appears in a modal popup, with the subject, description and custom fields pre-populated with data captured from elsewhere in the form.

Many thanks in advance.
Veronica
Telerik team
 answered on 13 Oct 2010
3 answers
180 views
We have a SharePoint project using wspbuilder for deployment. The assembly is deployed to gac. When adding the Telerik.Web.UI reference with Copy Local property set to true, the deployment fails (LastoperationResult:DeploymentfailedFileCopy.
Is this a scenario that is not supported? Do we need to copy the assembly manually to gac?
Øyvind Skaar
Top achievements
Rank 1
 answered on 13 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?