Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
144 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
104 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
0 answers
131 views

Hello,

I have a AsyncUploadHandler that works fine in an older version 2019.1.215 but as soon as I upgrade to newer version e.g. 2021.1.119 I start getting error 500

I doubt that my handler is still referencing the old version but can't find where it happens and change it eventually. 

Any ideas?

Thank you very much

Jugoslav
Top achievements
Rank 1
 asked on 04 Feb 2021
5 answers
949 views
Hi,

I have requirement to display a radwindow with radgrid

Scenario:
On button click a dataset will be fetched from database, I have to display the dataset as a alert to the user in grid or someother telerik tool. Can you pls provide me a solution

Thanks  
Doncho
Telerik team
 answered on 04 Feb 2021
2 answers
171 views

How can I apply horizontal scrollbar in my radmulticolumncombobox?

because in my radmulticolumncombobox their are 15 columns...

please help!

thanks in advance.

--sarthkee

sarthkee
Top achievements
Rank 1
Veteran
 answered on 04 Feb 2021
2 answers
200 views

Hi...I am using MultiColumnComboBox for that i have to pass one parameter inside OnChange property.. how it is possible to pass multiple or one parameter in client side function.

regards

sarthkee

sarthkee
Top achievements
Rank 1
Veteran
 answered on 04 Feb 2021
4 answers
721 views

Hi,

We are dynamically generating RAD Treeview control with data. We need to have a hover=hand and other stylesheets effect on the last node of all the parent nodes. Any code to traverse through all nodes and applying CSS will be helpful.

Node1-->NO style sheet
    Node2-->NO style sheet
        Node3-->Need to apply style sheet
        Node4-->Need to apply style sheet

Node11-->NO style sheet
    Node22-->Need to apply style sheet

+Node22
+Node44

 

regards,

 

Parimal

Bohdan
Top achievements
Rank 1
 answered on 04 Feb 2021
6 answers
699 views
I just get the following stacktrace:
An unknown error has occurred.Control '[ControlNamePlaceholder]' referenced by the ControlToValidate property of 'reqControlNamePlaceholder' cannot be validated

 

Is this by design, or is this control different than all the rest that do work with a requiredfieldvalidator?

Hugo Augusto
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 04 Feb 2021
4 answers
1.5K+ views
I thought I could do it with "[control_name].items.clear()" but that doesn't seem to work either.
Attila Antal
Telerik team
 answered on 03 Feb 2021
0 answers
349 views

I don't know if this is the proper place for this but I am having issues with the use of skins and didn't know where to post.

There is an article here that says that we have a sort of built-in skins available.

 

I would like to know what do I need to do to get access to this because any time I try to Skin="skin_name" a control I get a page error just like this:

Telerik.Web.UI.RadListView with ID='RadListView1' was unable to find an embedded skin with the name 'Silk'. Please, make sure that the skin name is spelled correctly and that you have added a reference to the Telerik.Web.UI.Skins.dll assembly in your project. If you want to use a custom skin, set EnableEmbeddedSkins=false.

Any idea?

Yan Moura
Top achievements
Rank 1
Veteran
Iron
 asked on 03 Feb 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?