Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
75 views

Correct me if I'm wrong but there is no way to configure radEditor to open in Preview mode. I found a workaround a few years ago

function OnClientLoad(editor, args) {
    setTimeout(function () {
        editor.set_mode(4);
    }, 10);
}

 
but that code set focus to editor control in IE9/10, i.e. if you have a long page with an editor at the bottom then when you open the page IE scrolls it to the bottom. I wonder is there better way doing it?

Misho
Telerik team
 answered on 19 Jun 2014
3 answers
76 views
Hi Telerik team,

I'm experiencing a problem with radAsncUpload and progressArea in one of our applications:
When accessing the application with IE9 (Silverlight disabled, so the Uploader uses the iframe module) the ProgressArea does not show any progress untill the file is fully uploaded. Then it "jumps" to 100%.
In order to locate the source of the problem I created a little sample application with radAsyncUpload and ProgressArea.
The handler registration is correct, because the error does not occure when the application is accessed via cassini.
However when deployed to IIS the same issue occurs.
Is there anything that could block the progess indication on IIS?

Any hints on how to troubleshoot this issue?

Cheers
Tobi
Peter Filipov
Telerik team
 answered on 19 Jun 2014
8 answers
280 views
Hello. I have a Rad grid and inside of the edit form template I have a radlistbox. When I click the edit button on the column I want to edit I get a TypeError RadListBox is not defined. If I click it again it then loads and works. Please help me with this. It is urgent!
Princy
Top achievements
Rank 2
 answered on 19 Jun 2014
2 answers
73 views
In my application I am using Telerik.Web.UI dll version 2012.1.411.40,
I am using file explorer control of rad on one of my page, this control works
fine in normal web browsers, but when it comes to IPad, IPhone and other
mobile devices it is freezing it grid area.
I am not able to tap on any of uploaded files.
Saurabh
Top achievements
Rank 1
 answered on 19 Jun 2014
7 answers
484 views
Hello!

I have a RadPanelBar with some items. Now I would like to hide some RadPanelItems using 
style="display: none;" (instead of Visible=false) as I need the data inside RadPanelItem on postpack.
The RadPanelItem hides as expected, but there are still <li> elements visible.

Is there a way to hide this <li> elements too?

Regards,
Tonino.
Princy
Top achievements
Rank 2
 answered on 19 Jun 2014
1 answer
90 views
HI,

I am trying to hide few rows based on some condition. I am able to hide content of the row, but the row is rendered with property display:'table-row'. It should have been 'none'.

I am traversing through mastertableviews.GetItems(GridItemType.Item,GridItemType.AlternatingItem)

to hide the row, i have tried griddataitem.Visible = false and also griddataitem.Display=false.

Please suggest me an approach to hide the row while prerender event handling.
Shinu
Top achievements
Rank 2
 answered on 19 Jun 2014
6 answers
183 views
I'm trying to set the width of a RadDateInput, but nothing I do seems to affect the width of the input element (it always renders at width: 100%).
I'v tried these methods:

DateInput.Width =  Unit.Pixel(60);
DateInput.Attributes.CssStyle.Add("width", "60px");
DateInput.EnabledStyle.Width = Unit.Pixel(60);

Is there any correct way to set the width of this element?

-Bjarte
Shinu
Top achievements
Rank 2
 answered on 19 Jun 2014
7 answers
159 views
Hello Team,

     I am new to this control and doing on RnD on Radgrid for one of my project.

The issue i face is when i use multiple columns around 20-25 and when i enable the property UseStaticHeaders = "true" the width and the align  of the column is getting changed in the firefox browser. Plus i also has the property like below.

<Scrolling AllowScroll="True" UseStaticHeaders="true" FrozenColumnsCount="2" />

 

 

<Resizing AllowColumnResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="True" />

<MasterTableView TableLayout
="fixed" Width="95%">.

is ther any property i need to enable  to fix the alignment for different browser ??

Thanks
Vijay

 

Pavlina
Telerik team
 answered on 18 Jun 2014
2 answers
214 views
I have a radgrid I created dynamically and added to a placeholder control, I want to get have access to the grid on the client side.

I cant seem to find it unless I hard code the grid name into $find(). like this 
var hardCode = $find("ctl00_MainContent_RadPanelBar1_i0_i1_BatchEditGrid");

How do I find the grid otherwise?

Here is an outline of the code--

ASPX
<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="GridFeatureTestForm.aspx.cs" Inherits="IProduction.GridFeatureTestForm" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0    Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
</head>
<body>
<form id="form1" runat="server">
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest"></telerik:RadAjaxManager>
    <script type="text/javascript">
            function testGrid() {
 
                var hardCode = $find("ctl00_MainContent_RadPanelBar1_i0_i1_BatchEditGrid");
 
                var placeholder = $find("<%= PlaceHolder2.ClientID %>");
                alert(placeholder);
 
                var radGrid = ('<%= (RadGrid)RadPanelBar1.FindControl("BatchEditGrid") %>');
                alert(radGrid);
            }
        </script>
<div style="width: 200px;">
<input value="doClient" type="button" onclick="javascript: testGrid();" />
<asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
    <telerik:RadPanelBar runat="server" ID="RadPanelBar1" Width="100%">
        <Items>
            <telerik:RadPanelItem Expanded="true">
                <Items>
                    <telerik:RadPanelItem Text="Add Records" Expanded="false" Selected="True">
                        <ContentTemplate>
                            <asp:PlaceHolder ID="PlaceHolder3" runat="server"></asp:PlaceHolder>
                        </ContentTemplate>
                    </telerik:RadPanelItem>
                    <telerik:RadPanelItem Text="Edit Records" Expanded="true" Selected="True">
                        <ContentTemplate>
                            <asp:PlaceHolder ID="PlaceHolder2" runat="server"></asp:PlaceHolder>
                        </ContentTemplate>
                    </telerik:RadPanelItem>
                </Items>
            </telerik:RadPanelItem>
        </Items>
        <ExpandAnimation Type="None" />
    </telerik:RadPanelBar>
</div>
</form>
</body>
</html>


ASCX
protected void Page_Init(object sender, System.EventArgs e)
{
    RadGrid grid = new RadGrid();
    grid.ID = "BatchEditGrid";
 
    PlaceHolder2.Controls.Add(grid);
}


















Mike Metafarms
Top achievements
Rank 2
 answered on 18 Jun 2014
4 answers
114 views
Hi,

Is it possible to have search in Image Manager?
It can be difficult to find an image if the folder has thousands of images.
Thanks.

Vessy
Telerik team
 answered on 18 Jun 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?