Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
497 views
I have a web app that uses a class library project that contains all of my business/data logic.  How can I reference the Telerik assembly for this class library?
Dustin
Top achievements
Rank 1
 answered on 13 Mar 2014
1 answer
82 views

Hello All,


I am using file explorer control
i getting following issue


I have bind "list view" in "page_load" 
you can see code below

//////////////////////////////////////////////////////////////

ExpDocument.FileList.ListView.ClientSettings.DataBinding.ItemTemplate = @"<li class=""rfeThumbList rlvI"" >
            <a href=""javascript: void 0;"" class=""rfeLink rlvDrag  data-index=""#= index #"" title="""">
                <span class=""rfeFile#= Telerik.Web.UI.FileExplorerHelper.isWebImage(item.Extension) ? ' rfeImageFile' : '' #"">
                # if(Telerik.Web.UI.FileExplorerHelper.isWebImage(item.Extension)) {#
                    <img src=""#= item.Url || item.Path # "" alt="""" width=""32"" height=""32"" onclick=""OnFileOpen(this,'#= item.Path #')"" />
                # }
                else if(item.Extension=="".msg"") { #
                    <img src=""../Images/imgEnvelopeIcon.png"" alt="""" width=""32"" height=""32"" onclick=""OnFileOpen(this,'#= item.Path #')"" />
                # }
                else { #
                    <span class=""rfeFileIcon #= Telerik.Web.UI.FileExplorerHelper.getThumbnailCSSExtension(item) #"" ></span>
                # } #
                </span>
                <span class=""rfeThumbTitle"" onclick=""OnFileOpen(this,'ModifyPage')"">#= Name #</span>
            </a>
        </li>";


/////////////////////////////////////////////////////////////


when i use above code to bind list view

issue =>i can not change folder or double click any folder can not load that folder
from thumbnail.
but i can change folder from grid view so can you please help me.how can i change folder and i have to bind list view in page_load please suggest other solution

Note- If  i don't change list view bind code than it works fine
Vessy
Telerik team
 answered on 13 Mar 2014
1 answer
54 views
I have a page with two user controls on it (UC1 is a results grid and UC2 is a search control).  UC1 is loaded automatically when the page loads based on the query string.  When the user interacts with UC2 (either by entering text in a basic search box or by launching an advanced search window), the results appear in UC1.  I add an AjaxSetting on UC1 such that when the user interacts with it (e.g., opens an item in the grid, deletes an item via the toolbar, etc.), the loading panel appears over the grid, however, I'm unable to get the same results when users interact with UC2.

Here's the beginning of the page where the two controls are defined (I snipped it before the script block):

<%@ Page Language="C#" MasterPageFile="~/MyApplication.Master" AutoEventWireup="true" EnableTheming="true" CodeBehind="Worklist.aspx.cs" Inherits="MyApplication.Worklist" %>
 
<%@ Register Src="ToolkitForms/UserControls/ExtendedActionWorklist.ascx" TagName="ActionWorklist" TagPrefix="uc1" %>
<%@ Register Src="UserControls/ObjectSearch.ascx" TagName="ObjectSearch" TagPrefix="uc2" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<asp:Content ID="WorklistContent" runat="server" ContentPlaceHolderID="ActivatorBody">
     
    <table style="background-color: Transparent; width: 100%;">
        <tr>
            <td align="left">
                <div id="createdMessage" style="background-color: Transparent; float: left; font-weight: bold; font-size: small; padding: 8px 0 0 10px;"></div>
            </td>
            <td align="right">
                <uc2:ObjectSearch ID="SimpleSearch" runat="server" />
            </td>
        </tr>
    </table>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px" Width="75px"></telerik:RadAjaxLoadingPanel>
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
    <div style="background-color: #E1EDFF; width: 100%; position: fixed; overflow: auto;">
        <uc1:ActionWorklist ID="ActionWorklist2" runat="server" Height="500px" SetGridMaxHeight="true" GridPageHeightOffset="40" />
    </div>

Note:  The RadAjaxManager is defined on the master page.

I then attach the Ajax events in the code behind on Page_Load as follows:

RadAjaxManager manager = RadAjaxManager.GetCurrent( Page );
manager.AjaxSettings.AddAjaxSetting( ActionWorklist2, ActionWorklist2, RadAjaxLoadingPanel1 );
manager.AjaxSettings.AddAjaxSetting( SimpleSearch, ActionWorklist2, RadAjaxLoadingPanel1 );

The loading panel works (e.g., the transparency appears above the grid while it refreshes) when the user interacts with UC1, but not when they interact with UC2.

What else do I need to do to accomplish this?
Maria Ilieva
Telerik team
 answered on 13 Mar 2014
2 answers
224 views
I have custom tooltip control which attach to a column
(every row), and it shows up fine, but if gets cut off by radgrid boundaries if tooltip is too big
or row (for which tooltip is showing up) close to  the footer. I played with z-index of tooltip but have no
luck. Any idea how to resolve this issue?

Thanks
Arun
Top achievements
Rank 1
 answered on 13 Mar 2014
4 answers
374 views
I dont know why I cant set width in percentage i.e.  when i am set the width <telerik:radchart width = "100%" its gives me error.

Is there any easy way to set the width as per resolution or set the width in percentage?

Please do the needful.

Thanks & Regards,
Shankar Gidwani
Danail Vasilev
Telerik team
 answered on 13 Mar 2014
7 answers
215 views
I am trying to create a rotator that has a button control with three images, then under those images there is text and then when you hit the button control three new images with three new text files show up.  I haven't seen any examples that show this functionality.  Can someone please provide an example of this.

Thanks in advance!
Slav
Telerik team
 answered on 13 Mar 2014
1 answer
82 views
Hi
 i have a button. I want to clear all the filter text on click of that button.
Princy
Top achievements
Rank 2
 answered on 13 Mar 2014
3 answers
63 views
Is there a way to add data driven text after all of the GroupContinued and GroupSplit strings.  I assume this would have to done in the ItemDataBound event or the ColumnCreated event?

Example
ParentFolder: 3020-20-02 Computer Hardware Purchases (Showing 24 of 68 items. Group continues on the next page.) <Add text here>
Kostadin
Telerik team
 answered on 13 Mar 2014
1 answer
184 views
Hello

i reproduce the TabStrip in my app webform, with the tab like firefox or chrome.

I add a imageurl with the cross to close the Tab.

I want to Click only on the image to close the tab.

It's possible ?

thanks
Olivier,
Nencho
Telerik team
 answered on 13 Mar 2014
1 answer
497 views
Hi I am doing a very simple example of showing a RadWindow on click of a Button. But the window never shows up. 

Here is the aspx page that I have

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RadWindow.aspx.cs" Inherits="DotNetExercises.RadWindow" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript">
        function click123() {
            alert("Hello");
            var oWnd = document.getElementById("RadWindow1");
            alert(oWnd);
            oWnd.show();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <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:RadWindowManager ID="RadWindowManager1" runat="server">
    </telerik:RadWindowManager>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
    <div>
        Welcome to the RadWindow Page.. 
    </div>
    <telerik:RadWindow ID="RadWindow1" runat="server" NavigateUrl="http://www.google.com">
    </telerik:RadWindow>
    <br />
    <asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="click123()" />
    <br />      
    </form>
</body>
</html>  








Marin Bratanov
Telerik team
 answered on 13 Mar 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?