Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
176 views
Hello,

I have implemented RadScheduler in our application, and had noticed a very strange behavior while inserting/editing the series of an appointment.  I checked the 'Recurring Appointment' checkbox, then selected a recurrence type, like 'Weekly', chose the day of  the week, and then selected 'End after' certain number of occurrences.  Everything shows OK until I hover over the textbox next to the 'End by this date' radio-button, or by any of the date or time fields, when the recurrence information disappears.

This is the tag of my RadScheduler control:

<telerik:radscheduler id="RadScheduler1" runat="server" skin="Outlook" OverflowBehavior="Expand"
OnClientAppointmentContextMenu="appointmentContextMenu" OnFormCreated="RadScheduler1_FormCreated"
 OnClientAppointmentDeleting="Client_AppointmentBeforeDelete"
 OnClientAppointmentInserting="Client_AppointmentBeforeInsert" 
 OnClientAppointmentEditing="Client_AppointmentBeforeUpdate"
 OnClientAppointmentMoveEnd="Client_AppointmentAfterDrop"
 OnClientAppointmentResizing="appointmentResizing"
 OnClientAppointmentResizeEnd="Client_AppointmentAfterResizing"
 OnClientFormCreated="Client_AfterFormRender"
DataKeyField="ID" DataEndField = "End"
DataRecurrenceField = "RecurrenceRule" DataRecurrenceParentKeyField = "RecurrenceParentID"
DataStartField = "Start" DataSubjectField = "Subject" StartInsertingInAdvancedForm="true"
StartEditingInAdvancedForm="true" >
<AppointmentTemplate><asp:Panel id="cellBackground" runat="server" Font-Bold="false" Font-Size="Smaller" ><asp:Image ID="recurrenceIcon" runat="server" /><%# Eval("Subject") %><asp:Image ID="harmonyIcon" runat="server" /></asp:Panel>
</AppointmentTemplate><TimelineView UserSelectable="false" />
</telerik:radscheduler>

Any help would be appreciated.

Thanks,

Antonio

Atanas Korchev
Telerik team
 answered on 01 Jul 2008
1 answer
133 views

How do I
  • Populate my Telerik Invitation grid containing a Name column and a "participating" checkbox column
  • make ALL checkboxes editable (I don't want to force the user to press edit on each row)
  • when user clicks a checkbox - post the check/uncheck

I managed to populate the grid with a stroly typed dataset in RadGrid_NeedDataSource. Name = Name column, Participating =  true or false (VB.Net "system.boolean").


// first day with Telerik

Princy
Top achievements
Rank 2
 answered on 01 Jul 2008
5 answers
123 views
I have a Timer (ASP.NET AJAX) that is set to trigger every few seconds. If at the time combo box is dropped down (opened) it automatically closes up. Am I doing something wrong?
Veselin Vasilev
Telerik team
 answered on 01 Jul 2008
3 answers
335 views
How can I display Calendar above the text box? My Date Picker is at the bottom of the page and when I click on it I want to display calendar above the textbox instead of below it - to avoid scrolling.

What property can I use for that?
Thanks,
Piyush
Steve
Telerik team
 answered on 01 Jul 2008
8 answers
670 views
Hi,

I am getting the following javascript error when I move the mouse pointer over disabled RadNumericTextBox ( RadInput-Version: 2.1.2.0)

Sys.ArgumentException: Value must be a DOM element.
Parameter name: element

Can anyone please update me with proper solution

Thanks

Ali

Note: Error occurs when control is in disable mode

Ref: http://forums.asp.net/p/1151199/1918939.aspx
Sebastian
Telerik team
 answered on 01 Jul 2008
1 answer
89 views
Hello. I just upgrade my project from sp1 to sp2 (2008.1.619.20)
I'm using the combobox inside a detail view. 
The binded selected value doesn't appear under ie6 but is correct under firefox 2.
It was working fine before the upgrade.
The only change made is the reference to the new telerik ddl.

 Thanks, MBus

<

asp:TemplateField HeaderText="<%$ Resources:langue, NomTypeVehicule %>" HeaderStyle-CssClass="ChampObligatoire">

<EditItemTemplate>
<telerik:RadComboBox ID="lstTypeVehicule" runat="server" SelectedValue='<%# bind("id_typ_veh") %>' Width="450" DataSourceID="odsTypeVehicule" AllowCustomText="false" AppendDataBoundItems="true" DataTextField="nom_typ_veh" DataValueField="id_typ_veh" Skin="Outlook" MarkFirstMatch="true">

<Items><telerik:RadComboBoxItem Text="<%$ Resources:langue, Choisir %>" runat="server" /></Items></telerik:RadComboBox>


Rosi
Telerik team
 answered on 01 Jul 2008
2 answers
183 views
I have a grid that implements the need data source event, which is experiencing problems where this event does nto always fire. Through 2 methods I am calling rebind on the grid, the first is when the index changes on a combo box and the second is when a button is clicked that adds data to the grid. When the index changes on the combobox, everything works as expected and the event is raised. When grid.Rebind() is called in the button click event the event is not raised. I do see it being called before the button click event handler is fired, but not after rebind is called inside of button click. I tried to put togather a sample site, but could not reproduce the behavior. I am not using ajax yet, so it isn't related to that. ViewState is enabled and I am running the Q1 2008 version of the controls. Below is the aspx I am using, but like I said I wasn't able to reproduce the problem in a sample app and the one this is from is tied to a database.

Any thoughts/suggestions would be greatly appreciated.

Thanks

Bill

                <rad:RadGrid ID="rgThresholds" runat="server" AutoGenerateColumns="False" GridLines="None" 
                    OnNeedDataSource="rgThresholds_NeedDataSource" AutoGenerateDeleteColumn="True" 
                    AutoGenerateEditColumn="True" OnItemDataBound="rgThresholds_ItemDataBound"   
                    oneditcommand="rgThresholds_EditCommand">  
                    <MasterTableView DataKeyNames="ThresholdID">  
                        <RowIndicatorColumn Visible="False">  
                            <HeaderStyle Width="20px"></HeaderStyle> 
                        </RowIndicatorColumn> 
                        <ExpandCollapseColumn Visible="False" Resizable="False">  
                            <HeaderStyle Width="20px"></HeaderStyle> 
                        </ExpandCollapseColumn> 
                        <Columns> 
                            <rad:GridBoundColumn DataField="MinimumValue" HeaderText="Min Value" UniqueName="MinimumValue">  
                            </rad:GridBoundColumn> 
                            <rad:GridBoundColumn DataField="MaximumValue" HeaderText="Max Value" UniqueName="MaximumValue">  
                            </rad:GridBoundColumn> 
                            <rad:GridBoundColumn DataField="MaximumRemainderUnits" HeaderText="Max Remainder Units" 
                                UniqueName="MaximumRemainderUnits">  
                            </rad:GridBoundColumn> 
                            <rad:GridButtonColumn CommandName="Delete" Text="Delete"   
                                UniqueName="AutoGeneratedDeleteColumn">  
                                <HeaderStyle Width="45px" /> 
                            </rad:GridButtonColumn> 
                            <rad:GridEditCommandColumn UniqueName="AutoGeneratedEditColumn">  
                                <HeaderStyle Width="30px" /> 
                            </rad:GridEditCommandColumn> 
                        </Columns> 
                    </MasterTableView> 
                </rad:RadGrid> 
 


Vlad
Telerik team
 answered on 01 Jul 2008
2 answers
248 views
Hello,

Can someone please direct me to sample code where I can find examples of adding Dynamic Tabs, and for each of the Tab I want to a PageView and then Add a RadGrid to the PageView.

I have a Link List on the Page which onclick will create the Tab and content for the tab for each item in the List.

So far I am able to create the Tabs, I call the CreateTabContent Method below when an Item on the List is clicked.
    private void CreateTabContent(string Id) 
    { 
        bool tabExists = false; 
 
        for (int i = 0; i < RadTabStrip1.Tabs.Count; i++) 
        { 
            if (RadTabStrip1.Tabs[i].Text == "Plan Id " + id) 
            { 
                tabExists = true; 
                RadTabStrip1.SelectedIndex = i; 
                break; 
            } 
        } 
 
        if (tabExists) 
            return; 
 
        RadTab tab = new RadTab(); 
        RadTabStrip1.Tabs.Add(tab); 
        tab.Text = "Tab " + id; 
        AddPageView(id); 
    } 
     
    private void AddPageView(string pageViewID) 
    { 
        RadPageView pageView = new RadPageView(); 
        pageView.ID = "pv" +  pageViewID; 
        pageView.Controls.Add(CreateNewGrid(pageViewID)); 
        RadMultiPage1.PageViews.Add(pageView); 
    } 
     
    private RadGrid CreateNewGrid(string id) 
    { 
        RadGrid RadGrid1 = new RadGrid(); 
        RadGrid1.ID = "RadGrid1"; 
 
        SqlDataSource SqlDataSource1 = new SqlDataSource(); 
        SqlDataSource1.ConnectionString = ConfigurationManager.ConnectionStrings["MyConn"].ToString(); 
        SqlDataSource1.SelectCommandType = SqlDataSourceCommandType.StoredProcedure; 
        SqlDataSource1.SelectCommand = "MyData"; 
        DataSourceSelectArguments args = new DataSourceSelectArguments(); 
        SqlDataSource1.SelectParameters.Add("Id", id); 
        DataView view = (DataView)SqlDataSource1.Select(DataSourceSelectArguments.Empty); 
 
        DataTable table = view.ToTable(); 
 
        RadGrid1.DataSourceID = SqlDataSource1.ID; 
        RadGrid1.MasterTableView.DataKeyNames = new string[] { "ID" }; 
 
        RadGrid1.Width = Unit.Percentage(98); 
        RadGrid1.PageSize = 5; 
        RadGrid1.AllowPaging = false; 
        RadGrid1.PagerStyle.Mode = GridPagerMode.NextPrevAndNumeric; 
        RadGrid1.AutoGenerateColumns = true; 
        RadGrid1.ShowStatusBar = true; 
        RadGrid1.Skin = "Web20"; 
        RadGrid1.ShowStatusBar = true; 
 
        //Add Customers table 
        RadGrid1.MasterTableView.PageSize = 15; 
        RadGrid1.MasterTableView.Width = Unit.Percentage(100); 
 
        return RadGrid1; 
    } 


Thanks
Atanas Korchev
Telerik team
 answered on 01 Jul 2008
1 answer
108 views
OK, I'm sure there is a really simple answer to this but I couldn't find anything in the docs. I want to display the row id in my grid as the first column. How do I do this?

Thanks.
Shinu
Top achievements
Rank 2
 answered on 01 Jul 2008
1 answer
87 views
Where could I find a sample or explaination of handling a button click from a RADTEXTBOX.

Thanks
Konstantin Petkov
Telerik team
 answered on 01 Jul 2008
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?