Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
169 views

Hi there,

 

I set two seperate ViewPaths for the RadEditor.ImageManager, but somehow there's only the latter path "~/Image2" displayed in the ImageManger, I couldn't find the first view path. Could you please let me know how to solve it?

 

 

 

Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
        Dim viewPaths As String() = New String() {"~/Image", "~/Image2"}
        Dim uploadPaths As String() = New String() {"~/Image/New", "~/Image2/New"}
        Dim deletePaths As String() = New String() {"~/Image/Del", "~/Image2/Del"}
 
        If Not IsPostBack Then
            radEditor.ImageManager.ViewPaths = viewPaths
            radEditor.ImageManager.UploadPaths = uploadPaths
            radEditor.ImageManager.DeletePaths = deletePaths
        End If
    End Sub
Vessy
Telerik team
 answered on 09 Feb 2021
1 answer
78 views

Dear Telerik Team,

 

Is there a way to set the maximum size allowed for the image storing directory? And if possible, how can I set the image storing directory max size for different customers?

Looking forward to your reply!

 

Thanks,

Matty

Vessy
Telerik team
 answered on 09 Feb 2021
1 answer
240 views

I've added the following styling but it doesn't remove the white border or change the color as shown in the image. Also how can I remove the white vertical line on the end of the menu?

 

      .RadMenu_MetroTouch .rmRootGroup
       {          
            border-style: none  !important;
            border-color:gray  !important;

       }

Vessy
Telerik team
 answered on 09 Feb 2021
2 answers
135 views

Hello, I am using MultiColumnComboBox so for that i have to popup javascript alert and enable disable another MultiColumnComboBox depends on first ( on selectionindexchanged from server side).

Following is my code that i have done. but it doesn't work for me.

protected void multiColumCombobox1_SelectedIndexChanged(object sender, Telerik.Web.UI.RadMultiColumnComboBoxSelectedIndexChangedEventArgs e)
    {        
        if (multiColumCombobox1.Value=="1")
        {
            ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert('HI');", true);

            multiColumCombobox1.Enable = true;

        }
        else
        {
               ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert('Bye');", true);   

               multiColumCombobox1.Enable = False;

        }
    }

 

Regards,

Sarthkee

sarthkee
Top achievements
Rank 1
Veteran
 answered on 09 Feb 2021
1 answer
63 views

Hello, I am using MultiColumnComboBox so for that i have to popup javascript alert and enable disable another MultiColumnComboBox depends on first ( on selectionindexchanged from server side).
Following is my code that i have done. but it doesn't work for me.

 

Regards,
Sarthkee

protected void multiColumCombobox1_SelectedIndexChanged(object sender, Telerik.Web.UI.RadMultiColumnComboBoxSelectedIndexChangedEventArgs e)
    {       
        if (multiColumCombobox1.Value=="1")
        {
            ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert('HI');", true);
            multiColumCombobox2.Enable = true;
 
        }
        else
        {
               ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert('Bye');", true);  
               multiColumCombobox2.Enable = False;
 
        }
    }
Doncho
Telerik team
 answered on 09 Feb 2021
5 answers
168 views
Hi, I have a RadGrid with a GridDropDownColumn field. I overrided the them of the grid and everything is working well except the ComboBox of the GridDropDownColumn field, it's rendering transparent rectangle.

Any help!
Doncho
Telerik team
 answered on 09 Feb 2021
6 answers
99 views

     I use this sample:

https://demos.telerik.com/aspnet-ajax/scheduler/examples/advancedformtemplate/defaultcs.aspx?_ga=2.107659522.1423900032.1612185078-422710438.1602686251

It works fine.

I upgrade to .net 4.65 (and use the .45 version of the control)

 

When you go to the advanced form and save - it just sits there forever.

 

I posted another issue that I THOUGHT was just with a service, looks like thats not the case. Looks like scheduler 4.5 version simply does not work. This is in latest and back to 2019 Q1 version (I dont have any earlier than that) 

mike
Top achievements
Rank 1
Iron
 answered on 05 Feb 2021
2 answers
131 views

I would like to set a RadMaskedTextBox when a user clicks on a row from a RadGrid.  I think I am on the right path but need a little assistances to pull it together.  

<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
        function SetFax(sender, eventArgs) {
            //sender.get_masterTableView().editItem(eventArgs.get_itemIndexHierarchical());
            alert("Click on row instance: " + eventArgs.get_gridDataItem().get_dataItem()["FaxNum"]);
        }
    </script>
</telerik:RadCodeBlock>
<telerik:RadMaskedTextBox runat="server" ID="_Phone2" Mask="(###) ###-####" EmptyMessage="Enter fax number or search favorites" RenderMode="Lightweight" ValidationGroup="Group1" />
            <telerik:RadGrid runat="server" ID="_Phone1" Height="100px" Width="425px" DataTextField="FaxNum" DataValueField="FaxNum"
                DataSourceID="DataSource1" EnableLoadOnDemand="false" AllowMultiRowSelection="false">
                <ClientSettings Selecting-AllowRowSelect="true">
                    <Scrolling AllowScroll="true" />
                    <ClientEvents OnRowClick="SetFax" />
                </ClientSettings>
                <MasterTableView AutoGenerateColumns="false" DataKeyNames="FaxNum">
                    <Columns>
                        <%--<telerik:GridClientSelectColumn UniqueName="ClientSelectColumn1"></telerik:GridClientSelectColumn>--%>
                    <telerik:GridBoundColumn UniqueName="Description" HeaderText="Description" HeaderStyle-HorizontalAlign="Center" DataField="Description" />
                    <telerik:GridBoundColumn UniqueName="FaxNum" HeaderText="Fax #" HeaderStyle-HorizontalAlign="Center" Datafield="FaxNum" />
                    <telerik:GridBoundColumn UniqueName="LastSent" HeaderText="Last Sent" HeaderStyle-HorizontalAlign="Center" DataField="LastSent" />
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>
Kurt Kluth
Top achievements
Rank 1
 answered on 05 Feb 2021
2 answers
101 views
     Lost on implementing a combobox whos value will dictate what data is displayed in a data grid. So when a new value is selected from the datagrid, without refreshing the page and using the radajaxmanager to read from a database and refresh the data in the data grid. Is that possible and what other components will be needed? So far I am using but still not sure how to use the RadAjaxManager, RabComboBox, RadSplitter, RapPane, and a RadGrid.
Doncho
Telerik team
 answered on 05 Feb 2021
0 answers
80 views

First of all I am not too much experienced with Telerik controls and I confess that it puzzles me but I am not going to give up!

So, I am not being able to reproduce the demo at https://demos.telerik.com/aspnet-ajax/listview/examples/overview/defaultvb.aspx?show-source=true.

I simplified the code to use it with my own data (code below) and I am experiencing two problems:

  1. Instead to appear in two columns it only appear as a single list; and
  2. It 's not skinning as it should.

To see my test in action please check http://aspdotnetstorefront.pamsauto.com/tests/ListViewTest.aspx

And this is my code:

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="ListViewTest.aspx.vb" Inherits="custom_scripts_iPMP_ListViewTest" %>
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
 
<!DOCTYPE html>
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadFormDecorator RenderMode="Lightweight" ID="RadFormDecorator1" runat="server" DecoratedControls="All" DecorationZoneID="demo-container" EnableRoundedCorners="false" />
    <div class="demo-container size-wide" id="demo-container">
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="ListViewPanel1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="CheckBoxList1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="CheckBoxList1"></telerik:AjaxUpdatedControl>
                        <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
            <ClientEvents OnRequestStart="RequestStart"></ClientEvents>
        </telerik:RadAjaxManager>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
        </telerik:RadAjaxLoadingPanel>
        <table>
            <tr>
                <td>
                    <asp:Panel ID="ListViewPanel1" runat="server">
                        <telerik:RadListView ID="RadListView1" DataSourceID="SqlDataSource1" runat="server" RenderMode="Lightweight"
                            ItemPlaceholderID="CustomersContainer" AllowPaging="true" >
                            <LayoutTemplate>
                                 <fieldset id="FieldSet1" class="mainFieldset">
                                    <div class="RadListView RadListView_<%# Container.Skin %>">
                                        <asp:PlaceHolder ID="CustomersContainer" runat="server"></asp:PlaceHolder>
                                    </div>
                                    <div class="clearFix">
                                    </div>
                                </fieldset>
                            </LayoutTemplate>
                            <ItemTemplate>
                                <fieldset class="fieldset itemFieldset">
                                    <table class="dataTable">
                                        <tr class="rlvI">
                                            <td>
                                                <table class="itemTable">
                                                    <tr>
                                                        <td>
                                                            <table class="innerItemTable">
                                                                <tr>
                                                                    <td>
                                                                        <%#Eval("Description")%>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <%#Eval("ConditionsAndOptions")%>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        <%# Eval("RetailPrice")%>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                </fieldset>
                            </ItemTemplate>
                        </telerik:RadListView>
                    </asp:Panel>
                </td>
            </tr>
        </table>
        <br />
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:MyConnection %>"
            SelectCommand="EXEC mytestSP">
        </asp:SqlDataSource>
    </div>
  
    </form>
</body>
</html>

 

I would appreciate if someone could give some help. Thanks!

Yan Moura
Top achievements
Rank 1
Veteran
Iron
 asked on 04 Feb 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?