Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
211 views
I have a aspx web form which contain RadWindow manager with multiple windows in it.  When I open up window via the radwindow manager it seems it won't "affect" the session timer within the "parnet" aspx web form.  How can I make it so that when there is a ajax call or a page refresh, within the radwindow, it will refresh the session timer of the "parent" web form?  

The issue is that the user think that they are still using the web page, but yet they keep getting kick off when session expires on the "parent" web form.

Thank you!

Marin Bratanov
Telerik team
 answered on 12 Aug 2014
2 answers
328 views
I have seen a couple of postings that seem to be related to this issue, but with no definitive answer.

I have a RadComboBox (in ASP.NET) with runat=server and AutoPostBack=true.  I have a handler for OnSelectedIndexChanged.  

The handler fires when the user selects an item with the mouse.  The handler doesn't fire when the focus is on the control and the user changes the selection using the keyboard (arrow up/down).  

The handler will execute in this case when the control loses focus, but that's not the desired behavior.  We have sections of the page that will be shown/hidden based on the user's selection, so the user expects those changes to happen as their selection changes.

What's the official position on how to handle this? 

My version of Telerik.Web.UI.dll is 2013.1.417.35.

Thanks,

David Cater
Shinu
Top achievements
Rank 2
 answered on 12 Aug 2014
3 answers
279 views
I have a page that has links to pop up help documents in a radwindow.  The issue I want to resolve is if a user clicks a link more then one time I don't want multiple radwindows with the same help information.  Is there a way to prevent the same link from opening multiple times?

Here is the code i'm using to load the radwindow

  <script type="text/javascript">
    function GetRadWindow() {
      var oWindow = null; if (window.radWindow)
        oWindow = window.radWindow; else if (window.frameElement.radWindow)
          oWindow = window.frameElement.radWindow; return oWindow;
    }

    function radWin(myurl)
    {
      var oManager = GetRadWindow().get_windowManager();
      setTimeout(function () {
        oManager.open(myurl);
      }, 0);
    }
  </script>

Part of datagrid
<ItemTemplate>
    <%# DataBinder.Eval(Container.DataItem,"Path")%><a href="javascript:radWin('../temp.aspx?ID=<%# DataBinder.Eval(Container.DataItem,"ID")%>')"><img src='../Images/Info.gif' border=0 alt="" /></a>
</ItemTemplate>

Thank you
Shinu
Top achievements
Rank 2
 answered on 12 Aug 2014
3 answers
159 views
I am trying to utilize the RadImageEditor in my software. I dragged the control from the toolbox into my webpage. Here is my code.

<telerik:RadImageEditor ID="RadImageEditor1" runat="server" ToolBarMode="Default" Skin="Default"
     Width="820px" Height="490px">
</telerik:RadImageEditor>

I ran the website but I am not seeing any of the icons in the toolbar. See image below:
David
Top achievements
Rank 1
 answered on 12 Aug 2014
4 answers
110 views
Hello

Im trying to fire a simple onclientnodeclicking event on my treeview via keyboard (hitting enter).

But I find that upon pressing Enter on the node, besides firing the onclientnodeclicking event, also  fires a postback on a Button1 situated on the same page.
How do I prevent this?

Using the mouseClick on the treenode works as expected, without Button1 postback.

Simple example to illustrate:

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript">

        function NodeClick(sender, eventArgs) {           
           var node = eventArgs.get_node();
           alert(node.get_text());
          // eventArgs.set_cancel(true);                    
        }    
        
    </script>


</head>

<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>       
        <asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click"  TabIndex="1" />
   <br /><br />
    <telerik:RadTreeView ID="RadTreeView1" Runat="server" Width="200px" Height="200px"  TabIndex="2"
        onclientnodeclicking="NodeClick" ResolvedRenderMode="Classic">
        <Nodes>
            <telerik:RadTreeNode runat="server" PostBack="False" Text="Root RadTreeNode1">
            </telerik:RadTreeNode>
            <telerik:RadTreeNode runat="server" PostBack="False" Text="Root RadTreeNode2">
            </telerik:RadTreeNode>
            <telerik:RadTreeNode runat="server" PostBack="False" Text="Root RadTreeNode3">
            </telerik:RadTreeNode>
        </Nodes>
    </telerik:RadTreeView> 
    
    </div>
    </form>
</body>
</html>

Mark
Top achievements
Rank 1
 answered on 11 Aug 2014
2 answers
72 views
Hello,

My customers would like to combine the column titles with checklist filtering. They would like to eliminate the textbox and display only the checklist button next to the column title as shown in the attached image. I realize that Radgrid does not have any built in ability to do this, but is there a way to customize it using code behind and/or client side scripting? If so, can you provide, or point me to an existing example?

Thanks,
~Sonny
Sonny
Top achievements
Rank 1
 answered on 11 Aug 2014
1 answer
68 views
Hello,

I'm developing for DotNetNuke and would like design support, however the needed dll's for this feature are not present in a DNN install.  My account will not allow me to download the version of the Telerik design dll I need which is 2013.2.717.40.

Upgrading the telerik controls in dnn to the version I do have results in some incompatibilities.

Any way of obtaining the necessary dll's for design support?
Joseph
Telerik team
 answered on 11 Aug 2014
1 answer
139 views
It may sound like a ridiculous question, but here is my thought. I need to convert a very complicated completely dynamic site to responsive design. It might be a hard sell to ask the team leader if i can start the shell from scratch with RadPageLayout, BUT if i could cut my teeth by using RadPageLayout in some of the larger sections, I'll bet i could sell the concept of the whole thing. For specifics, if i had three large divs, going vertically down the page, could i make the 2nd and 3rd ones each contain there own unique RadPageLayout control?
Nencho
Telerik team
 answered on 11 Aug 2014
10 answers
259 views
I am trying to figure out how to enable like the print button when I am in preview mode? How would this be accomplished? Thanks
Ianko
Telerik team
 answered on 11 Aug 2014
1 answer
78 views
I have a Combobox and grid in a widget.  The grid needs to be filtered as the selection in the combobox changes.  Currently when the selection changes, the grid reloads, but always displays the same data.  Any ideas how to fix this?  Or even debug it?

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
 
<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
<telerik:RadFormDecorator ID="QsfFromDecorator" runat="server" DecoratedControls="All" EnableRoundedCorners="false" />
 
<label for="NamesDDL">Select plant name to view its reports:</label>
<div style="margin-top: 15px;">
    <telerik:RadComboBox ID="NamesDDL" runat="server" AutoPostBack="True" DataSourceID="dllDataSource"
        DataTextField="PlantNameAndID" DataValueField="PlantID" Width="250px" Height="150px"
        AppendDataBoundItems="true" >
        <Items>
            <telerik:RadComboBoxItem Text="All" Value="0" Selected="true"></telerik:RadComboBoxItem>
        </Items>
    </telerik:RadComboBox>
</div>
 
<div style="margin: 15px 0 20px;">
    <telerik:RadGrid ID="OrdersGrid" AllowPaging="true" DataSourceID="gridSource" runat="server"
        GridLines="None" AllowSorting="true" HeaderStyle-ForeColor="Black" HeaderStyle-HorizontalAlign="Center">
    </telerik:RadGrid>
</div>
 
<asp:SqlDataSource ID="dllDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:Dev-TestOilConnectionString %>"
    SelectCommand="select customer.plant.PlantID, customer.plant.PlantNo, customer.plant.PlantName, customer.plant.PlantID, cast(customer.plant.PlantID as varchar) + ' - ' + customer.plant.PlantName as PlantNameAndID from customer.plant where plant.CustID = 10 order by plant.PlantNo"></asp:SqlDataSource>
 
<asp:SqlDataSource ID="gridSource" runat="server" ConnectionString="<%$ ConnectionStrings:Dev-TestOilConnectionString %>"
    SelectCommand="select LabID, SampleDate, MachCond, LubCond, CustReview, CustReviewDte, machine.PlantID from customer.plant inner join customer.machine on machine.PlantID = plant.PlantID inner join sample.sample on sample.PointID = machine.PointID where ((machine.PlantID = @PlantID and @PlantID <> 0) or (machine.PlantID = machine.PlantID and @PlantID = 0)) and plant.custid = 10">
    <SelectParameters>
        <asp:ControlParameter Name="PlantID" PropertyName="SelectedValue" ControlID="NamesDDL"></asp:ControlParameter>
    </SelectParameters>
</asp:SqlDataSource>
 
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableAJAX="true" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="NamesDDL">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="OrdersGrid" LoadingPanelID="AjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
                <telerik:AjaxUpdatedControl ControlID="NamesDDL"></telerik:AjaxUpdatedControl>
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
 
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
</telerik:RadAjaxLoadingPanel>
Pavlina
Telerik team
 answered on 11 Aug 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?