Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
468 views


 Hi,

 I Tried to acces RadGrid2, but i cannot acces it.
How is it possible to access Radgrid2?

Radgrid2 is within a radtap

Hope you can help me


     </asp:ScriptManager>
    <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateHierarchy="True" CellSpacing="0" Culture="de-DE" GridLines="None">
<MasterTableView>
<CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
 
<RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
 
<ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
    <NestedViewTemplate>
                    <asp:Panel runat="server" ID="configControlContainer" CssClass="viewWrap" Visible="true">
                                            <telerik:RadTabStrip runat="server" ID="TabStrip1" MultiPageID="Multipage1" SelectedIndex="0">
                        <Tabs>
                            <telerik:RadTab runat="server" Text="Satzart 2" PageViewID="PageView1">
                                                       </telerik:RadTab>
                            <telerik:RadTab runat="server" Text="Satzart 3" PageViewID="PageView2">
                            </telerik:RadTab>
                            <telerik:RadTab runat="server" Text="Satzart 4" PageViewID="PageView3">
                            </telerik:RadTab>  </Tabs>
                    </telerik:RadTabStrip>
                         
                            <telerik:RadMultiPage runat="server" ID="Multipage1" SelectedIndex="0" RenderSelectedPageOnly="false">
                        <telerik:RadPageView runat="server" ID="PageView1">
                             
                           <telerik:RadGrid ID="RadGrid2" runat="server"    AutoGenerateHierarchy="True" CellSpacing="0" Culture="de-DE" GridLines="None"/>
                             
                        </telerik:RadPageView>
                        </telerik:RadMultiPage>
 
                       
                    </asp:Panel>
                </NestedViewTemplate>
    <Columns>
        <telerik:GridBoundColumn DataField="id" FilterControlAltText="Filter column column" UniqueName="column">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Satzart" FilterControlAltText="Filter column1 column" UniqueName="column1">
        </telerik:GridBoundColumn>
   
             
              
           
    </Columns>
Eyup
Telerik team
 answered on 23 Jul 2020
1 answer
182 views

I have a problem with this page, it does not display correctly:

 

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Prueba2.aspx.cs" Inherits="Prueba2" %>
 
<!DOCTYPE html>
 
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="~/Content/bootstrap-grid.min.css" rel="stylesheet" />
    <link href="~/Content/bootstrap-reboot.css" rel="stylesheet" />
    <link href="~/Content/bootstrap.css" rel="stylesheet" />
    <link href="~/Content/font-awesome.css" rel="stylesheet" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadCodeBlock runat="server">
        <script type="text/javascript">
        </script>
    </telerik:RadCodeBlock>
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js"></asp:ScriptReference>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js"></asp:ScriptReference>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js"></asp:ScriptReference>
        </Scripts>
    </telerik:RadScriptManager>
 
    <telerik:RadAjaxManager ID="RadAjaxManagerEspecies" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="pnFecha">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="pnFecha" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" CssClass="loadingPanel" Transparency="20">
    </telerik:RadAjaxLoadingPanel>
    <telerik:RadWindowManager ID="rdwManager" runat="server">
    </telerik:RadWindowManager>
 
    <div class="container-fluid">
        <div class="card" runat="server">
            <div class="card-body">
                <telerik:RadTabStrip runat="server" ID="RadTabStrip1" MultiPageID="RadMultiPage1" SelectedIndex="0">
                    <Tabs>
                        <telerik:RadTab runat="server" Text="Prueba" PageViewID="rpvFicha" Value="rpvFicha"></telerik:RadTab>
                    </Tabs>
                </telerik:RadTabStrip>
                <telerik:RadMultiPage runat="server" ID="RadMultiPage1" SelectedIndex="0" CssClass="card">
                    <telerik:RadPageView runat="server" ID="rpvFicha" CssClass="card-body">
                        <telerik:RadPanelBar runat="server" ID="rpnFicha" Width="100%" Style="margin-bottom: 0px">
                            <Items>
                                <telerik:RadPanelItem runat="server" Expanded="False" Text="Coordenadas" Visible="true" Value="habitats">
                                    <ContentTemplate>
                                        <telerik:RadTextBox ID="RadTextBox1" runat="server" Rows="3" MaxLength="3500" Wrap="false" Width="100%" TextMode="MultiLine"></telerik:RadTextBox>
                                    </ContentTemplate>
                                </telerik:RadPanelItem>
                            </Items>
                            <Items>
                                <telerik:RadPanelItem runat="server" Expanded="False" Text="Bibliografía" Visible="true" Value="bibliografia">
                                    <HeaderTemplate>
                                        <a class="rpExpandable">
                                            <span class="rpExpandHandle"></span>
                                        </a>
                                        <asp:Label Text="label1" ID="label1" runat="server" CssClass="rpText"> </asp:Label>
                                    </HeaderTemplate>
                                    <ContentTemplate>
                                        <telerik:RadTextBox ID="rdtSituacion" runat="server" Rows="3" MaxLength="3500" Wrap="false" Width="100%" TextMode="MultiLine"></telerik:RadTextBox>
                                    </ContentTemplate>
                                </telerik:RadPanelItem>
                            </Items>
                            <Items>
                                <telerik:RadPanelItem runat="server" Expanded="False" Text="Observaciones" Visible="true" Value="observaciones">
                                    <ContentTemplate>
                                        <telerik:RadTextBox ID="RadTextBox2" runat="server" Rows="3" MaxLength="3500" Wrap="false" Width="100%" TextMode="MultiLine"></telerik:RadTextBox>
                                    </ContentTemplate>
                                </telerik:RadPanelItem>
                            </Items>
                        </telerik:RadPanelBar>
                    </telerik:RadPageView>
                </telerik:RadMultiPage>
            </div>
        </div>
    </div>
    </form>
</body>
</html>

In my webconfig i have this configuration:

<add key="Telerik.Web.UI.RenderMode" value="lightweight" />

 

But if i change the rendermode from the panel to Classic  it is displayed well, What is the problem?

Thank you in advance

Vessy
Telerik team
 answered on 23 Jul 2020
1 answer
143 views

Hello,

in my aspx page I have 3 combobox.

The First, the only one enabled, shows States. When the user select one state, the other 2 combo read the database and select cities and clients from that state.

At the moment I reload the page when the search take place.

Is It possible to avoid the page reloading?

 

Luigi

Vessy
Telerik team
 answered on 23 Jul 2020
3 answers
253 views

Hi, I am using the Radcombobox to load data from filter table. When i change the selected item , i am calling Selected Index Change and reload data in a radgrid. This works good.

Now i am adding a new filter in the table in top of the for on a button click (same Page). The user requested to see the newly added filter without refreshing the page or any button click. I tried to do the same using Ajax and it works fine.. But my Selected Index Change Event is not firing, If i rever back the changes the selected Index change event first and the data loaded to the radgrid.

Is there any changes any settings i need to do to work both selected index change and the Ajax data load for the Radcombobox.

Quick reply will be really appreciated.

Thanks

Ravi
Vessy
Telerik team
 answered on 23 Jul 2020
1 answer
88 views

Hello,

in my RadGrid I have to show tooltip for every Cell, but every time I have to make a database access to retrieve fields to compose the tooltip, but a database access for every mouse movement is too heavy.

What is the best way to achieve this?

Thank you

 

Luis

Vessy
Telerik team
 answered on 22 Jul 2020
3 answers
316 views

Hello,
I need a JavaScript function that disable one control on my aspx page 
where the user select a particular item in a RadButtonList. 

I need to make it client-side, not server-side, for performance reasons.

How can I write it? (I don't know JavaScript). 

Thanks in advance. 

Luis

Ciupaz
Top achievements
Rank 2
Veteran
 answered on 21 Jul 2020
3 answers
218 views
Hello,
I have a ASP.NET page with 5 RadComboBox. 
When the user select one (and only one) item in the first Combo,
I populate the other 4 Combos.
Is there a way to place a cute spinning wheel - or anything similar - 
that shows me operations on database in background?

Thanks a lot.

Luis

Ciupaz
Top achievements
Rank 2
Veteran
 answered on 21 Jul 2020
1 answer
196 views

First off, I apologize for posting a new question on this issue, but I'm still not clear how to do this after having looked at the various samples and documentation.

I have a from with a link in the parent page. When the link is clicked, it calls a radwindow:

function openRadWindow(fileNameAndIP, windowName, width, height) {
    var oWnd = radopen(fileNameAndIP, windowName);
    oWnd.set_visibleStatusbar(false);
    oWnd.set_behaviors(Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Move);
    oWnd.set_destroyOnClose(true);
    oWnd.set_width(width);
    oWnd.set_height(height);
    oWnd.set_modal(true);
    oWnd.set_overlay(false);
    oWnd.set_iconUrl("../Icons/favicon-16x16.png");
    oWnd.center();
};

I call it this way from either a linkbutton or a link in a Radgrid:

OnClientClick="openRadWindow('../IP/dlgIPDetail.aspx?IP=" + host.Ipv4 + "','wIPLookup','1000','510');return false;"

 

I have this windowManager in the parent page:

<telerik:RadWindowManager ID="rwManager" runat="server">
    <Windows>
        <telerik:RadWindow ID="wIPLookup" runat="server" Overlay="true" />
    </Windows>
</telerik:RadWindowManager>

 

From the initial window, I want to call a larger window and pass a value similar to the way I call the initial window that needs to be on top of the original window. The examples and docs that I have looked at have some JS snippets that don't fully explain (at least that I can understand) the entire relationship between the windows. I need to know where to add the JS for calling the second window, and where (or whether) to create additional windows entries in the RadWindowManager/s ( on the parent page, or in a RadWindowManager on the first window that calls the second window?)

 

 

 
Thomas
Top achievements
Rank 1
 answered on 17 Jul 2020
1 answer
120 views

Hi,

I am noticing on our server that there are tens of thousands of files named along the lines of

  • RadImageEditor_ffe7d8ef.png
  • RadImageEditor_76680165.png
  • RadImageEditor_173f227c.png
  • RadImageEditor_7e698d3f.png
  • etc..

Firstly, can you tell me what these files are for?

Secondly, if this is expected and they are temporary files, how can I set it to use a different directory (ie the actual windows temp directory)

Thanks.

Doncho
Telerik team
 answered on 17 Jul 2020
1 answer
79 views

Hi

I have a problem with  Code changing collapse/Expand in the radGantt.

The following code has been used and works great For the first part.

   <style type="text/css">       
          .radIcon.radIconCollapse:before {
            content: "\e121";
           }
           </style>

The problem in the second part was the use of the following code and was not changed.

First the following code was used and did not work.

  <style type="text/css">       
          .k-rtl .radIconExpand:before {
            content: "\e11e";
           }
           </style>

Secondly, the following code was used and did not work

 <style type="text/css">       
          .radIcon.radIconExpand:before {
            content: "\e11e";
           }
           </style>

 

Doncho
Telerik team
 answered on 17 Jul 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
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
Bronze
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?