Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
114 views
Hello,
I am having a rad scheduler (appointment) in that i am having one telerik dropdown in that i am having two values .
if i select any one value from present  telerik dropdown i need a new telerik dropdown in next line with out page loading (Means in one word Cascading present telerik drop down i need new telerik drop down) .
 i need this same concept at <telerik:radscheduler> when i click on list of appointments a pop up will be open.
In pop up i am using <telerik:radscheduler>
For more information i am enclosing  code and screen shot in that i need your concept with out page load.

<telerik:radscheduler id="MyRadSchedulerRD" runat="server" datakeyfield="ID" datastartfield="Start"
                                            advancedform-enablecustomattributeediting="true" datasubjectfield="Subject" daystarttime="08:00:00"
                                            dayendtime="21:00:00" timezoneoffset="00:00:00" datadescriptionfield="Description"
                                            dataendfield="End" width="800px" skin="Default" onappointmentcommand="RadScheduler1_AppointmentCommand"
                                            onformcreated="RadScheduler1_FormCreated" onappointmentupdate="RadScheduler_AppointmentUpdate"
                                            overflowbehavior="Expand" onclientappointmentediting="OnClientAppointmentEditing"
                                            startinsertinginadvancedform="true" datarecurrencefield="" onclienttimeslotclick="insertAppointment"
                                            onclientappointmentclick="editAppointment">
                                            <%--<AdvancedForm EnableResourceEditing="false" />--%>
                                             <AdvancedForm Modal="true"></AdvancedForm>                                             
                                             <WeekView HeaderDateFormat="dd/MM/yyyy"></WeekView>
                                            <AppointmentTemplate>
                                                <span><b>
                                                    <%# Eval("Subject") %>:&nbsp;</b></span><span style="font-style: italic;">
                                                        <%# Eval("Description") %></span>
                                                         <span style="font-style: italic;"></span>                                                                                                            
                                     
                                            </AppointmentTemplate>

                                          <%--   <ResourceTypes>
                                                                 <telerik:radcombobox id="ddAssigns" runat="server" width="200" height="200" emptymessage="Select User"
                                            datasourceid="ObjectDataSourceAssignedTo" datatextfield="OName" datavaluefield="AssignTo">
               </telerik:radcombobox>
                                             </ResourceTypes>--%>
                                             <ResourceTypes>
                                                <telerik:ResourceType KeyField="ViewATFlag" Name="Type*" TextField="ViewATFlagText" ForeignKeyField="ViewATFlag"
                                                    DataSourceID="ObjectDataSourceTypes" />
                                            </ResourceTypes>
                                              <ResourceTypes>
                                                <telerik:ResourceType KeyField="AssignTo" Name="Assigned To*" TextField="OName" ForeignKeyField="AssignTo"
                                                    DataSourceID="ObjectDataSourceAssignedTo" />
                                            </ResourceTypes>
                                            <ResourceTypes>
                                                <telerik:ResourceType KeyField="Apptype" Name="Property Type*" TextField="ResType" ForeignKeyField="Apptype"
                                                    DataSourceID="Propertytype" />
                                            </ResourceTypes>
                                            <ResourceTypes>
                                               <telerik:ResourceType KeyField="PropTo" Name="Sale*" TextField="OProp" ForeignKeyField="PropTo"
                                                    DataSourceID="ObjectDataSourcePropTo" />
                                            </ResourceTypes>
                                            <ResourceTypes>
                                               <telerik:ResourceType KeyField="PropTolet" Name="Letting*" TextField="OProplet" ForeignKeyField="PropTolet"
                                                    DataSourceID="ObjectDataSourcePropTolet" />
                                            </ResourceTypes>                                                              
                                                              
                                            <ResourceTypes>
                                                <telerik:ResourceType KeyField="ViewValFlag" Name="Flag" TextField="ResText" ForeignKeyField="ViewValFlag"
                                                    DataSourceID="ObjectDataSourceResource" />
                                            </ResourceTypes>          
                                            <ResourceTypes>
                                                <telerik:ResourceType KeyField="AppStatus" Name="Status*" TextField="ResText" ForeignKeyField="AppStatus"
                                                    DataSourceID="AppointmentTypesDataSource" />
                                            </ResourceTypes>
                                            <ResourceStyles>
                                                <telerik:ResourceStyleMapping Key="1" Text="Viewing" ApplyCssClass="rsCategoryBlue" />
                                                <telerik:ResourceStyleMapping Key="2" Text="Valuation" ApplyCssClass="rsCategoryRed" />
                                                <telerik:ResourceStyleMapping Key="3" Text="Follow Up" ApplyCssClass="rsCategoryGreen" />
                                            </ResourceStyles>                                                                                 
                                        </telerik:radscheduler>

 

and also once look over screen shot
Manne
Top achievements
Rank 1
 asked on 07 Oct 2015
7 answers
296 views
Hi,

when I'm using ClientSettings.ClientEvents.OnCommand, the exporting doesn't work anymore. My grid displays all 4 export buttons (pdf, excel, word, csv) which work fine when I don't use the OnCommand function.

Even if the function body is empty, the exporting doesn't work. But as soon as I remove the ClientSettings.ClientEvents.
OnCommand handler, everything works fine again. How can I use OnCommand and keep the exporting working?

Thanks!
Eyup
Telerik team
 answered on 07 Oct 2015
1 answer
101 views

I have a requirement to have a Grid of 20+ Configuration items with a check box to show if each item is enabled in our app. A user has to click a global "edit" button held in the masterpage to enable the grid for editing and then click a global "save" icon, also in the master page which would then write the data back to the database.  I've spent the last 8 hours searching for something similar only to be confounded with template column issues where i cant disable them on page load and gridcheckcolumns that i cant enable on clicking the "edit" button.

 

Please can somebody point be in the right direction

Thanks

Viktor Tachev
Telerik team
 answered on 07 Oct 2015
1 answer
302 views

I am binding data to a RadGrid via the radclientdatasource, itself via a web api giving a JSON response, the grid binds fine and I get all the columns I need.  The issue is with the date columns appearing as 2012-03-01T00:00:00 despite having the following configured

<telerik:GridDateTimeColumn FilterControlWidth="95px" DataField="PlannedDate"  UniqueName="PlannedDate" HeaderText="Planned Date" PickerType="DatePicker" EnableRangeFiltering="true" DataFormatString="{0:yyyy-MM-dd}" DataType="System.DateTime" FilterDateFormat="{0:yyyy-MM-dd}" MinDate="2012-01-01" SortedBackColor="#CCCCCC" HtmlEncode="false" EditDataFormatString="{0:yyyy-MM-dd}">                                               
</telerik:GridDateTimeColumn>​

Have also tried GridBoundColumn.  My JSON is coming through as "PlannedDate":"2012-03-01T00:00:00"

In addition to the display issue the column is not respecting less than / greater than date filters which makes me suspect it it just being treated as text.  Any thoughts please ?

Konstantin Dikov
Telerik team
 answered on 07 Oct 2015
8 answers
1.2K+ views
I have a radgrid using inplace editting inside of an ajaxpanel.

I need to have a requiredfieldvalidator to prevent a field entry in the radgrid.

Can this be done?  I've removed the ajaxpanel and had the same issue.
Mohd
Top achievements
Rank 1
 answered on 07 Oct 2015
1 answer
797 views

Hello,

 I need to add programmatically Custom Attributes in RadComboBox

 i get an error on click button to get a value for custom Attributes

 this.LBL_MOVIE.Text = this.PCB_MOVIE.SelectedItem.Attributes["movie_p"]; 

Cause this.PCB_MOVIE.SelectedIndex is equals to -1

protected void PCB_MOVIE_ItemDataBound(object sender, RadComboBoxItemEventArgs e)
       {
           e.Item.Attributes.Add("movie_p","rocky");
       }

Ivan Danchev
Telerik team
 answered on 07 Oct 2015
3 answers
148 views

On the admin form how does one set the date format? The US date format is about the stupidest date format and illogical of all and yet it seems to be the default everywhere.

I want my dates formatted as dd/MM/yyyy not MM/dd/yyyy

Regards

Jon

 

​

 

Bozhidar
Telerik team
 answered on 07 Oct 2015
15 answers
746 views
I am trying to display a detail view of an appointment on double click, while edit is disabled.  Disabling edit on the appointment seems to be disabling the double click server event.  I would like the edit to be disabled but still have the ajax call to the server double click event so that I can switch to the detail view.  What is the best way to accomplish this?

Thanks,

Will
Neha
Top achievements
Rank 1
 answered on 07 Oct 2015
1 answer
140 views

Hi,

A few days my application began to show the following message: Thank you for using the Trial version of RadControls for ASP.NET Ajax ....

As if I've been using a trial version.
But I have a license.

Anyone know how to resolve this problem ????

 

I have attached a picture with the message.​

Marin Bratanov
Telerik team
 answered on 07 Oct 2015
2 answers
182 views

 Hi Team,

 

 In the RadGrid, I have to do drag and drop option as well as edit the row using batch edit mode. If I set the clientIDMode = "Static" while click on the edit buttonI can see the Update and Cancel button. But I cann't do drag and drop. So I changed the ClientIDMode="AutoID" now drag and drop is working fine but in edit mode the Update and Cancel button in the batch it is not displaying.

Please let me know how to resolve this issue.

 

Regards,

Rajesh

 

 

<telerik:RadGrid ID="Parts" runat="server" ClientIDMode="AutoID" AllowPaging="True" AllowSorting="True" ClientSettings-AllowAutoScrollOnDragDrop="true"
AutoGenerateColumns="False" GridLines="None" ShowStatusBar="True" CssClass="Parts" ClientSettings-AllowDragToGroup="true" ClientSettings-AllowRowsDragDrop="true">
<ClientSettings AllowRowsDragDrop="True" AllowColumnsReorder="true" ReorderColumnsOnClient="true">
<Selecting AllowRowSelect="True" EnableDragToSelectRows="false"></Selecting>
<ClientEvents OnRowDropping="onRowDropping"></ClientEvents>
<Scrolling AllowScroll="true" UseStaticHeaders="true"></Scrolling>
</ClientSettings>
<MasterTableView Name="PartsTableView" DataKeyNames="InventoryID" AllowSorting="True" NoDetailRecordsText="No Items" HierarchyLoadMode="ServerBind"
NoMasterRecordsText="No Items Added" CommandItemDisplay="Bottom" EditMode="Batch">
<CommandItemSettings ShowAddNewRecordButton="false" />
<BatchEditingSettings EditType="Cell" />
<DetailTables>
<telerik:GridTableView Name="ComponentDetails" Caption="Component Details" DataKeyNames="InventoryID"
runat="server">
<ParentTableRelation>
<telerik:GridRelationFields DetailKeyField="ParentID" MasterKeyField="InventoryID" />
</ParentTableRelation>
<Columns>
<telerik:GridBoundColumn DataField="ParentID" Display="false" UniqueName="ParentID" />
<telerik:GridBoundColumn DataField="InventoryID" HeaderText="InventoryID" ReadOnly="true"
UniqueName="InventoryID" />
<telerik:GridBoundColumn DataField="FormNumber" HeaderText="Form #" UniqueName="FormNumber" />
<telerik:GridBoundColumn DataField="Description" HeaderText="Description" ReadOnly="true"
UniqueName="Description" Display="True" />
</Columns>
</telerik:GridTableView>
</DetailTables>
<Columns>
<telerik:GridTemplateColumn UniqueName="ThumbNail">
<ItemTemplate>
<asp:Image ID="imgThumbNail" runat="server" ImageUrl='<%#Eval("ImageUrl")%>' />
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn DataField="InventoryID" UniqueName="FormNumber" Display="false" />
<telerik:GridBoundColumn DataField="Text" ItemStyle-Width="150px" HeaderText="Product Code" />
<telerik:GridBoundColumn DataField="Description" Display="false" />
<telerik:GridTemplateColumn UniqueName="Description" HeaderText="Title">
<ItemTemplate>
<asp:Label ID="lblDescription" runat="server" Text='<%#Eval("Description") %>'>
</asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="txtDescription" runat="server" Text='<%#Eval("Description") %>'>
</asp:TextBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn DataField="Type" Display="false" />
<telerik:GridEditCommandColumn ButtonType="ImageButton" EditText="Edit" UniqueName="EditCommandColumn">
</telerik:GridEditCommandColumn>
<telerik:GridButtonColumn ButtonType="ImageButton"
CommandName="DeleteInventory" Text="Remove" UniqueName="Delete">
<ItemStyle HorizontalAlign="Center" CssClass="MyImageButton"></ItemStyle>
<HeaderStyle ></HeaderStyle>
</telerik:GridButtonColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
<asp:XmlDataSource ID="XMLBookBuilderSource" runat="server" EnableCaching="false">
</asp:XmlDataSource>
<telerik:GridTextBoxColumnEditor ID="GridTextBoxEditor" runat="server" TextBoxStyle-Width="230px"></telerik:GridTextBoxColumnEditor>

Rajesh
Top achievements
Rank 1
 answered on 06 Oct 2015
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?