Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
183 views
Need help if gird is empty then hide filter icon of grid.
Princy
Top achievements
Rank 2
 answered on 27 Aug 2013
1 answer
117 views
Hi

I having trouble on missing Rad editor icons (we are using the custom simpletools.xml to populate the list and fiddler shows no missing images)on only one website on the server, other websites that use the editor are working just fine.

Can you please help me with this issue?

Thanks
Marin Bratanov
Telerik team
 answered on 27 Aug 2013
1 answer
385 views
Based on some business rules on my form, I'd like to be able to disable/enable the RadAsyncUpload control on the client side.  Essentially, based on values entered by the user, the RadAsyncUpload control should either allow or disallow further uploads.  The one caveat is that if a user uploads files before the RadAsyncUpload control is disabled, those files SHOULD be uploaded when the page posts back.

I have tried using the set_enabled method, which does in fact disable/enable the control, however, if the control is disabled when the user submits the page, it seems like the FileUploaded server side event doesn't happen (the files are transported to the temporary folder, but the UploadedFiles parameter will be 0 and the FileUploaded event will not fire).

I've also tried disabling the "select" button of the control but "click" events in the telerik upload area still allow for browsing so disabling the button didn't really do anything for me. 

Any suggestions? 
Shinu
Top achievements
Rank 2
 answered on 27 Aug 2013
1 answer
105 views
I am creating images to be used on the RibbonBar. 

I will be creating 16x16 and 32x32 images for each item on the bar.  My question is, what is the dpi needed?  And do you support multiple dpi, as Microsoft's ribbon framework does?

Microsoft suggests multiple images; one for each of these dpi:  96, 120, 144, and 192.  Can the RibbonBar use these images and adjust to the variety of screen sizes and resolutions we have today... from mobile to tablet to laptop to desktop?

Thank you,
Janice
Ivan Zhekov
Telerik team
 answered on 27 Aug 2013
1 answer
359 views
Hello,
         I am working on a project made in vs2010,As per my requirement I have a Iframe in radeditor  and want to add a custom context menu on this Iframe. I have tried a lot but failed.Please help me or give me any idea.
I am using this code. 

 <telerik:RadEditor ID="RadEditor1" runat="server">
            <Content>
             <iframe style="position:absolute;width:500px;height:500px;" src="http://www.bing.com" originalPath ="http://www.bing.com" originalAttribute=src> </iframe>
            </Content>
        </telerik:RadEditor>


Thank You.
Marin Bratanov
Telerik team
 answered on 27 Aug 2013
4 answers
343 views
Going through the Rad Controls Courseware and I am unable to drag and drop any Telerik controls into design or source mode on a web page.  It does nothing, I have updated the controls using Visual Studio 12.  I can manually copy and paste the code and it works but drag and drop does not.  Also unable to add child nodes to a RadToolBar I can add child nodes for a RadMneu but even those do not show when running the website just the parent nodes no drop downs. Telerik AJAX Manager v2013 1.220.40  Any idea why I can not drag and drop Telerik Controls?
Dyanko
Telerik team
 answered on 27 Aug 2013
1 answer
156 views
Hi,

I have setup some very simple code to show my issue.  I have my Test.aspx page, which has a RadAjaxManager, along with a tab strip.  Each tab contains a user control.  The user control is very simple, a textbox and a button.  When clicked, the button just hits its click event on the server and for demonstration will wait 2 seconds.  The ajax manager has the event of the btnTest Click and the updated controls are both the panels wrapping each user control.  The issue is, the loading panel only shows when I am on the first tab and click the button.  It will not show on the second tab when I click the button. Any help is appreciated.  Below is the code:

<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %>
 
<%@ Register Src="~/Controls/Test.ascx" TagPrefix="uc" TagName="test" %>
 
<html>
<head>
   
</head>
<body>
    <form runat="server">
         <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
 
    <telerik:RadAjaxManager ID="radAjax" runat="server" >
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="btnTest" EventName="Click">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="pnlTest1" LoadingPanelID="RadLoadingPanel" />
                    <telerik:AjaxUpdatedControl ControlID="pnlTest2" LoadingPanelID="RadLoadingPanel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadLoadingPanel" runat="server">
    </telerik:RadAjaxLoadingPanel>
    <telerik:RadTabStrip ID="monetizeTabs" runat="server" MultiPageID="RadMultiPage1"
        SelectedIndex="0" CssClass="MainTabStrip" OnTabClick="RadTabStrip1_TabClick">
        <Tabs>
            <telerik:RadTab Text="Test 1" Font-Size="12pt">
            </telerik:RadTab>
            <telerik:RadTab Text="Test 2" Font-Size="12pt">
            </telerik:RadTab>
        </Tabs>
    </telerik:RadTabStrip>
    <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" CssClass="pageView">
        <telerik:RadPageView ID="RadPageView1" runat="server" CssClass="tabContent">
            <asp:Panel ID="pnlTest1" runat="server">
                <uc:test ID="test1" runat="server" ValidationGroup="Hi" />
 
            </asp:Panel>
        </telerik:RadPageView>
        <telerik:RadPageView ID="RadPageView2" runat="server" CssClass="tabContent">
            <asp:Panel ID="pnlTest2" runat="server">
                <uc:test ID="test2" runat="server" ValidationGroup="Bye" />
            </asp:Panel>
        </telerik:RadPageView>
    </telerik:RadMultiPage>
            </form>
</body>
 
</html>

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Web.UI;
 
public partial class test : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
 
    }
    protected void RadTabStrip1_TabClick(object sender, RadTabStripEventArgs e)
    {
        
    }
}

Here is the user control code:

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Test.ascx.cs" Inherits="controls_Test" %>
<div style="padding:10px;border:solid 1px black;margin:10px;">
<asp:TextBox ID="txtName" runat="server" ></asp:TextBox>  
<asp:Button ID="btnTest" runat="server" OnClick="btnTest_click" Text="Test it"  /></div>

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
 
public partial class controls_Test : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
 
    }
 
    protected void btnTest_click(object sender, EventArgs e)
    {
        Thread.Sleep(2000);
        txtName.Text = "Back from Server";
    }
}



Shinu
Top achievements
Rank 2
 answered on 27 Aug 2013
9 answers
135 views
We have a device that can output text into a focused input field.   The device is configured for "keyboard" mode.  We are using an ASP:Textbox field.   When the ASP:Textbox is inside a RadWindow, the speed the text shows up is slower than on a non-RadWindow page.

All pages are using radajaxpanel.  We do not have any onkey.. events in the way.  

Does Telerik add any events related to onkeydown, onkeyup, onkeypress, onkey{Other}, when a radwindow is in place?

Only happens in IE, with Chrome the text shows up very fast.
Marin Bratanov
Telerik team
 answered on 27 Aug 2013
1 answer
729 views
Hi,

I am using the code
 window.radopen(encodeURI('<%=ResolveUrl("~/")%>UI/Query.aspx?txtToFill=' + hdnSearchText + "&Name=" + document.getElementById(hdnName1).value + "&btnUploadFile=" + btnQuery), 'NavigationWindow');

to open a window as a rad window popup. Inside this window we have added a custom close button to close the window.
            function getRadWindow() {
                var oWindow = null;
                if (window.radWindow) oWindow = window.radWindow;
                else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
                return oWindow;
            }
            function closeWindow() {
                getRadWindow().close();
            }

But I am getting an error :

Timestamp: 8/26/2013 5:48:47 PM
Error: TypeError: k.replace is not a function
Source File: http://localhost:1981/Telerik.Web.UI.WebResource.axd?

_TSM_HiddenField_=ctl00_radScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ac9cbdec3-c810-4e87-846c-fb25a7c08002%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2013.2.717.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a0507d587-20ad-4e22-b866-76bd3eaee2df%3a16e4e7cd%3af7645509%3a24ee1bba%3a92fe8ea0%3af46195d3%3afa31b949%3a874f8ea2%3a19620875%3a490a9d4e%3abd8f85e4%3a11a04f7e%3a1e771326%3aa7e79140%3a2003d0b8%3aaa288e2d%3ae524c98b%3a596d7b53%3bAjaxControlToolkit%2c+Version%3d1.0.20229.18969%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3acf3d7884-84c8-47a3-b2bf-68e7ae538755%3ab14bb7d5%3a13f47f54%3a1d056c78%3adc2d6e36%3aa3e10fa2%3a701e375f%3a3c55b13e%3ade51bc8f%3aa4313c7a
Line: 5545



I don't know what is wrong in this case.
Thanks in Advance.

Thanks,
Bylar
Marin Bratanov
Telerik team
 answered on 27 Aug 2013
3 answers
226 views

Hi,

  Please let me know how to open insert item template when grid is in batch edit mode from code behind.
Princy
Top achievements
Rank 2
 answered on 27 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?