Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
115 views
For the most part the Scheduler looks good with the Metro Touch skin.

However, there are a few issues such as the width of date pickers. Also, the checkboxes are not consistent with the Metro Touch style.

I have attached a sample screen shot. Is there a full CSS class document on the RadScheduler dialogs so that I can go in and make adjustments?

Thanks
Michael H
Top achievements
Rank 2
 answered on 16 Oct 2013
0 answers
176 views
I have a Radlistbox that I add items to manually, then I have a tooltip that contains the same items in a combobox. 

Once I add the item to the Radlist box and popup the tooltip it does not contain the newly added items.  How can I get the combobox in the tooltip to refresh?  I tried a databind on the combobox in the tooltip init and load and it only fires on the page load not when the actually tooltip is initiated.  I even tried a databind of the combo boxes after adding the item in the radlistbox and nothing.  the radlistbox is updating and rebinding correctly but the comboboxes are not?  I am guessing its because they are in a tooltip.  All of these controls are inside an radajaxpanel.  vb.net. 

Thanks for any suggestions.

ETA: Nevermind figured out I can do a databind in ItemsRequested.
Stefan
Top achievements
Rank 2
 asked on 16 Oct 2013
2 answers
186 views
Hi Team Telerik,

Is there an event to which I can subscribe that creates the new row on the client side in batch editing mode so that I can add custom logic? I need to execute a JavaScript function when the user clicks the add record button in batch editing mode. Is this possible?

Thanks in advance,
Jonathan
Jonathan
Top achievements
Rank 1
 answered on 16 Oct 2013
6 answers
321 views
Hi,

I'm trying to use asp:radiobuttons in a radgridview, but I'm experiencing some problems. On each row two radiobuttons for male/female. When not in Editmode they have to be disabled, when in editmode they have to be enabled.
I use the code-behind function OnItemDataBound to "translate" to databasevalue M or F to check the right radiobutton. So far so good.
in my .aspx file:

<telerik

:GridTemplateColumn HeaderText="Male" UniqueName="Gender"> <ItemTemplate>
 <asp:RadioButton ID="RadioButtonMaleItem" runat="server" GroupName="" Enabled="false"/>
</ItemTemplate>
<EditItemTemplate>
<asp:RadioButton ID="RadioButtonMaleEditItem" runat="server" GroupName="MF" />
</
EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="Female" UniqueName="Female">
<
ItemTemplate>
<asp:RadioButton ID="RadioButtonFemaleItem" runat="server" GroupName="MF" Enabled="false" />
</ItemTemplate>
<EditItemTemplate>
<asp:RadioButton ID="RadioButtonFemaleItem" runat="server" GroupName="MF" />
</EditItemTemplate>
</telerik:GridTemplateColumn>

When I switch to EditMode the radiobuttons on the editrow are both unchecked how come? And how can I read the new checked value and update the database (similar to OnItemDataBound, but then the other way around)

regards martin


Ida
Top achievements
Rank 1
 answered on 16 Oct 2013
1 answer
70 views

Hello,
I installed the trial version and started to fit your all kinds of controls but the controls are without formatting and I do not know where to download or installed on my computer where the style / skin of each control.

Is there a way to open a project in VS and in all Hsteilim DLL will already be built in the project?

Vessy
Telerik team
 answered on 16 Oct 2013
1 answer
259 views

I have a combo with load on demand and I refresh via javascript. What I want is the combo to populate items and then go and selected item that matches a value id. So for example:

  OlinCA.loadStates = function (country, selectedState) {
    var rcbContactState = $find("<%= rcbContactState.ClientID %>");
    rcbContactState.set_text("Loading...");
    rcbContactState.clearSelection();
    rcbContactState.requestItems((country + '~' + selectedState), false);
    rcbContactState.findItemByValue(selectedState).select();
}


As you see I am passing a value to populate the combo by a selected country and then select a matching state. Well every time I call that findItemByValue I get an error because that line fires before the list is populated. I need somehow to have the load request finish first. I tried to select a value via the server side code, but nothing gets selected. What is the way I can do the selection like I need to?



Hristo Valyavicharski
Telerik team
 answered on 16 Oct 2013
1 answer
167 views
Hi, I am new to the rad controls. I am using RadScheduler to creat a view where it is possible to see 5 exchange Room calendars grouped. I already accomplished to creat the view with 5 calendars. I also accomplished to show one calendar but only when I am not using the groupby And resources (so only in the standard view). Can anyone help me to sync with 5 calendars instead of one And assing each calendar appointment to the right room. If it easier to understand I can post my code. Thanks!!
Boyan Dimitrov
Telerik team
 answered on 16 Oct 2013
4 answers
125 views
Trying to utilize the RadPanelBar but I need it controlled by a RadDropDownList.  I am unsure of how to do this via the code-behind because there is no "ID" associated with them.  Currently they are set to visible=false but would like to make them visible when a user changes the DropDownList. 

If option 1 then show these RadPanelBar options
If Option 2 then show these RadPanelBar options,
etc...
Kurt Kluth
Top achievements
Rank 1
 answered on 16 Oct 2013
4 answers
141 views
Hello,

 

I have a problem with the RadScheduler control. When I move an appointment, sometime, the new start time is false…

 

I test with args.get_newStartTime() (client side) and e.ModifiedAppointment.Start (server side) and the twice send me the same value.


<telerik:RadScriptBlock runat="server">
                <script type="text/javascript">
 
                    function onAppointmentMoveEnd(sender, args)
                    {
                        alert(args.get_newStartTime());
                    }
                     
                </script>
            </telerik:RadScriptBlock>
 
            <div>
                <telerik:RadScheduler OnClientAppointmentMoveEnd="onAppointmentMoveEnd" runat="server"
                    ID="schPlanning" DataKeyField="Libelle" DataSubjectField="SujetEvenement"
                    DataDescriptionField="Libelle" DataStartField="Debut" DataEndField="Fin" Height="1000px">
                </telerik:RadScheduler>
            </div>

public partial class Calendrier : Page
{
    private void schPlanning_AppointmentUpdate(object sender, AppointmentUpdateEventArgs e)
    {
        DateTime newStartTime = e.ModifiedAppointment.Start;
 
        // Alert(newStartTime)
    }
     
    protected override void OnInit(EventArgs e)
    {
        base.OnInit(e);
         
        schPlanning.AppointmentUpdate += new AppointmentUpdateEventHandler(schPlanning_AppointmentUpdate);
    }
 
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            List<Evenement> evenements = new List<Evenement>();
 
            evenements.Add(new Evenement("Sujet", "Libelle", DateTime.Now.Date.AddHours(15), DateTime.Now.Date.AddHours(17)));
 
            schPlanning.DataSource = evenements;
        }
    }
}
 
public class Evenement
{
    public string SujetEvenement { get; set; }
 
    public string Libelle { get; set; }
 
    public DateTime Debut { get; set; }
 
    public DateTime Fin { get; set; }
 
    public Evenement(string sujetEvenement, string libelle, DateTime debut, DateTime fin)
    {
        SujetEvenement = sujetEvenement;
        Libelle = libelle;
        Debut = debut;
        Fin = fin;
    }
}

I join a screenshot when I have the error.

 

Information:

- Telerik 2013.2.717.35

- Internet Explorer 9.0.8112.16421

 

Sorry for my approximate English, I’m French.

 

Jérémy

CabinetZulian
Top achievements
Rank 1
 answered on 16 Oct 2013
3 answers
276 views
Hi All,

I have an all code-behind solution and noticed an interesting quirk.  I have a grid with hierarchy.  Whenever I go to export it to Excel I receive a blank row under each row with content.  I found the following link that points out my HiearchyLoadMode as being the culprit, and sure enough, if I switch from Client to ServerOnDemand the blank rows go away. 

Unfortunately, I am using the Export to Excel functionality along with this link that pertains to hiding the expand/collapse icons when there are no records, and setting it to something other than Client hides all expand/collapse icons.

Does anyone one have any ideas how I can have both?

Thanks,
Mark
Mark
Top achievements
Rank 1
 answered on 16 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?