Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
107 views

Hi,

I have a page which uses a radwindow.  In the development environment it works fine.  However when its deployed to a production environment the styling appears to be broken. The title bar is transparent.

Here is what it looks like in IE 11

It works as expected in Chrome.

Any ideas / solutions?

Rumen
Telerik team
 answered on 06 Mar 2018
0 answers
118 views

Hi,

I am using radsearch filter in my application and i want the filter to retain the value which I gave even if it is not there in the filter dropdown at postback of the page.

 

Usually, the property of radsearch filter is like when we hit space or if we type something then it makes a server call and start searching for all the data for the 1st dropdown and once we select any value from the dropdown and click on add icon of radsearch filter to add more condition then it will retain the value what we have selected for the 1st dropdown, but only when the value has been selected from the drop down. My requirement is like if I am typing something and even if the data is not there in the dropdown and I click on add icon to add more condition it should retain the value which I have given in the drop down.

Kindly help me in finding a solution for this.

Regards,

Saurabh

saurabh
Top achievements
Rank 1
 asked on 06 Mar 2018
0 answers
57 views

I'm using a radgrid and I would like to add an Edit column that uses the default skin edit pencil that opens the radwindow.  The radgrid is dependent upon a combobox selection.

What would the best column be for that please?  I'm also not sure how to tie it to the radwindow.  I'd like to do this on the client side without code behind if possible, but I would use code behind if it's not.

Thank you,

J

 

J
Top achievements
Rank 1
 asked on 05 Mar 2018
3 answers
108 views

The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

 

Here is code in my aspx page.

<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage/iCRAMaster.Master" CodeBehind="ScheduleAppointment.aspx.cs" Inherits="iCRA_UI.FieldTech.ScheduleAppointment" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.QuickStart" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>



<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
 
    <script src="lib/qsf.js"></script>
    <link href="lib/qsf.css" rel="stylesheet" />
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
   

 <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />

     <telerik:RadWindowManager RenderMode="Lightweight" ID="RadWindowManager1" runat="server" EnableShadow="true">
        </telerik:RadWindowManager>

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadScheduler1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="ConfigurationPanel1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
    </telerik:RadAjaxLoadingPanel>
    <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1" LoadingPanelID="RadAjaxLoadingPanel1">
        <div class="demo-container no-bg">
            <telerik:RadScheduler RenderMode="Lightweight" runat="server" ID="RadScheduler1" GroupBy="Speaker" GroupingDirection="Horizontal"
                OnNavigationCommand="RadScheduler1_NavigationCommand" 
                AppointmentStyleMode="Default" DataSourceID="EventsDataSource" DataKeyField="ID"
                FirstDayOfWeek="Friday" LastDayOfWeek="Sunday" DataSubjectField="Description"
                DataStartField="StartTime" DataEndField="EndTime" DataRecurrenceField="RecurrenceRule"
                SelectedView="DayView" DataRecurrenceParentKeyField="RecurrenceParentID" AllowInsert="true" OnAppointmentUpdate="RadScheduler1_AppointmentUpdate" OnAppointmentDelete="RadScheduler1_AppointmentDelete"  OnAppointmentInsert="RadScheduler1_AppointmentInsert" OnResourceHeaderCreated="RadScheduler1_ResourceHeaderCreated"
               
                OverflowBehavior="Auto">
                <AdvancedForm Modal="true"></AdvancedForm>
                <MonthView UserSelectable="false"></MonthView>
                <TimelineView />
                <ResourceHeaderTemplate>
                    <asp:Panel ID="ResourceImageWrapper" runat="server" CssClass="ResCustomClass">
                        <asp:Image ID="SpeakerImage" runat="server" AlternateText='<%# Eval("Text") %>'></asp:Image>
                    </asp:Panel>
                </ResourceHeaderTemplate>
                <ResourceTypes>
                    <telerik:ResourceType KeyField="UserID" Name="Speaker" TextField="Fullname" ForeignKeyField="UserID"
                        DataSourceID="SpeakersDataSource1"></telerik:ResourceType>
                </ResourceTypes>
                <ResourceStyles>
                    <telerik:ResourceStyleMapping Type="Speaker" Key="1" BackColor="#eb901b"></telerik:ResourceStyleMapping>
                    <telerik:ResourceStyleMapping Type="Speaker" Key="2" BackColor="#8fd21b"></telerik:ResourceStyleMapping>
                    <telerik:ResourceStyleMapping Type="Speaker" Key="3" BackColor="#278ce9"></telerik:ResourceStyleMapping>
                    <telerik:ResourceStyleMapping Type="Speaker" Key="4" BackColor="#f14db2"></telerik:ResourceStyleMapping>
                </ResourceStyles>
                <TimeSlotContextMenuSettings EnableDefault="true"></TimeSlotContextMenuSettings>
                <AppointmentContextMenuSettings EnableDefault="true"></AppointmentContextMenuSettings>
            </telerik:RadScheduler>
        </div>
    </telerik:RadAjaxPanel>
    <asp:SqlDataSource ID="SpeakersDataSource1" runat="server"
        ConnectionString="<%$ ConnectionStrings:SQL %>" SelectCommand="SELECT * FROM [user_view]"
        >
    </asp:SqlDataSource>

          <asp:SqlDataSource ID="SpeakersDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:myConnectionString %>" SelectCommand="SELECT * FROM [sp_view]"></asp:SqlDataSource>
    <asp:SqlDataSource ID="EventsDataSource" runat="server"
        ConnectionString="<%$ ConnectionStrings:myConnectionString %>"
        SelectCommand="SELECT * FROM [sp_view]" InsertCommand="INSERT INTO [sp_view] ([Description], [StartTime], [EndTime], [SpeakerID]) VALUES (@Description, @Start, @End, @SpeakerID)"
       UpdateCommand="UPDATE [sp_view] SET [Description] = @Description, [Start] = @Start, [End] = @End, [RoomID] = @RoomID, [RecurrenceRule] = @RecurrenceRule, [RecurrenceParentID] = @RecurrenceParentID, [UserID] = @SpeakerID WHERE [UserID] = @ID"
        DeleteCommand="DELETE FROM [sp_view] WHERE [UserID] = @ID">
        <DeleteParameters>
            <asp:Parameter Name="ID" Type="Int32"></asp:Parameter>
        </DeleteParameters>
        <UpdateParameters>
            <asp:Parameter Name="Description" Type="String"></asp:Parameter>
            <asp:Parameter Name="Start" Type="DateTime"></asp:Parameter>
            <asp:Parameter Name="End" Type="DateTime"></asp:Parameter>
            <asp:Parameter Name="RoomID" Type="Int32" DefaultValue="1"></asp:Parameter>
            <asp:Parameter Name="RecurrenceRule" Type="String"></asp:Parameter>
            <asp:Parameter Name="RecurrenceParentID" Type="Int32"></asp:Parameter>
            <asp:Parameter Name="SpeakerID" Type="Int32"></asp:Parameter>
            <asp:Parameter Name="ID" Type="Int32"></asp:Parameter>
        </UpdateParameters>
     <InsertParameters>
            <asp:Parameter Name="Description" Type="String"></asp:Parameter>
            <asp:Parameter Name="Start" Type="DateTime"></asp:Parameter>
            <asp:Parameter Name="End" Type="DateTime"></asp:Parameter>
            <asp:Parameter Name="RoomID" Type="Int32" DefaultValue="1"></asp:Parameter>
            <asp:Parameter Name="RecurrenceRule" Type="String"></asp:Parameter>
            <asp:Parameter Name="RecurrenceParentID" Type="Int32"></asp:Parameter>
            <asp:Parameter Name="SpeakerID" Type="Int32"></asp:Parameter>
        </InsertParameters>
    </asp:SqlDataSource>
 

 
    </asp:Content>

what am doing wrong?

Rumen
Telerik team
 answered on 05 Mar 2018
5 answers
284 views
1.Imported a word document with conditional merge filed ({ IF "{ MERGEFIELD Gender }" = "Male" "Sir" "Madam" }).
This condition was created using MS WORD.

We imported this file in the Telerik Radeditor for mail merge.
On exporting the file from Telerik Radeditor, the output files did not have any of the merge fileds that were created in word document.

2.Does Telerik have a feature to create the conditional merge fileds like we can do with MS word.

Thanks.
Rumen
Telerik team
 answered on 05 Mar 2018
0 answers
101 views

I have being assign to this website, to fix the issue of various things, and one of them is the Arabic site menu, its not getting aligned horizontally.

Checking the developer tools, I have found there is one width settings for the below: 

<ul class="horizontal rootGroup" style="width: 125px;">

 

If I remove the width, it works fine. I am new to ASPX, and can see anywhere this width settings. How to catch it are remove this?

 

wrathy
Top achievements
Rank 1
 asked on 05 Mar 2018
0 answers
97 views

I have been using a rad editor and it's been working fine.

the version is 2008.

recently I have changed the server from win2008 to win 2016.

now the radeditor is shown on the webpage but I can't edit anything in it.

and $find() can't find it.

do you see what the error is?

Anooshiravan
Top achievements
Rank 1
 asked on 04 Mar 2018
0 answers
56 views

Hello, i'm a new member

i wanna ask a question, i wanna keep changes i modified on request and seen by server... everytime i modify and send to server then refresh the page everything  is gone...

 

Mohsen
Top achievements
Rank 1
 asked on 03 Mar 2018
0 answers
92 views

Hi

To create a modal popup in my aspx page I have put a RadWindow in the page like this:

    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
          <script src="scripts.js" type="text/javascript"></script>
          <link href="styles.css" rel="stylesheet" />
          <telerik:RadWindow RenderMode="Lightweight" ID="modalPopup" runat="server" Width="360px" Height="365px" Modal="true"                           OffsetElementID="main" Style="z-index: 100001;">
          <ContentTemplate>
               <div style="padding: 10px; text-align: center;">
               </div>
               <p style="text-align: center;">
                   RadWindow
               </p>
          </ContentTemplate>
    </telerik:RadWindow>

and inside the scripts.js file I have this code:

function showDialogInitially() {
    var wnd = $find("main_Content_Placeholder_modalPopup");
    wnd.show();
    Sys.Application.remove_load(showDialogInitially);
}
Sys.Application.add_load(showDialogInitially);

which works perfectly. but if I use this code instead:

    var wnd = $find("main_Content_Placeholder_modalPopup");
    wnd.show();

and put it at the end of the aspx file it won't show the window anymore.

so I suspect that has to do with the methods .add_load() and .remove_load() but I don't event know what they do.

can see what's going wrong?

Anooshiravan
Top achievements
Rank 1
 asked on 03 Mar 2018
7 answers
231 views
I have a RadRibbonBar inside a CommandItemTemplate of a RadGrid.  The bar items are RibbonBarTemplateItem.  I'm trying reduce the height of the RibbonBarGroup to the size of the controls it contains - the 'Height' property on the group doesn't reduce the height.  The RibbonBarGroup appears to be a fixed height - 3 rows in height.  How do I reduce the size of the group?

The RibbonBarTemplateItem contains a <table> with one row.

Here's the first group:

<CommandItemTemplate>
                       <div>
                           <telerik:RadRibbonBar ID="_ribbonBarComputers" runat="server">
                               <telerik:RibbonBarTab Text="Computer" >
                                   <telerik:RibbonBarGroup Text="Add/Update" >
                                       <Items>
                                           <telerik:RibbonBarTemplateItem Size="Small">
                                               <table>
                                                   <tr>
                                                       <td>
                                                           <telerik:RadTextBox ID="_ctrlAltirisText" runat="server" Width="300px" EmptyMessage="Paste Altiris text">
                                                           </telerik:RadTextBox>
                                                       </td>
                                                       <td>
                                                           <telerik:RadButton ID="_btn_AddComputer" runat="server" Text="Add" CommandName="AddComputer">
                                                           </telerik:RadButton>
                                                       </td>
                                                       <td>
                                                           <telerik:RadButton ID="_btn_ReplaceComputer" runat="server" Text="Replace" CommandName="ReplaceComputer">
                                                           </telerik:RadButton>
                                                       </td>
                                                       <td>
                                                           <telerik:RadButton ID="_btn_CloseComputer" runat="server" Text="Close" CommandName="CloseComputer">
                                                           </telerik:RadButton>
                                                       </td>
                                                   </tr>
                                               </table>
                                           </telerik:RibbonBarTemplateItem>
                                       </Items>
                                   </telerik:RibbonBarGroup>


Jerry
JeffSM
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 02 Mar 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?