Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
99 views
Hello,

I'm fighting an extremely frustrating error, and I'm probably just missing something that's very simple.  All of my x axis labels are running into the plot area.  What property can I manipulate to make this not happen?  I attached a screenshot of the issue that I'm having.

Thanks,
Aaron
Evgenia
Telerik team
 answered on 30 Mar 2012
1 answer
104 views
Hi everybody,

there is still an annoying issue with the SAK CTP from February which I hoped that it's fixed in this version.

For testing purposes I created a new sitecollection of type publishing portal in english language. There I activated the web-scoped feature "RadEditor to edit HTML fields" to use the RadEditor instead of the standard editor. Everything working fine excepting the "Insert Web Part"-Function.

If for e.g. a MediaWebPart is added and the page is saved, the WebPart appears twice, one above and the other below but only its border. I'll attach a screenshot for more clearness.

Also I can't do any settings for the media webpart like setting the media-file to play.

Do you have any information about how to quickfix this or an information, when a working version of this feature will be released?

Thank you very much and greetings from Nuremberg
Ricky
Rumen
Telerik team
 answered on 30 Mar 2012
1 answer
90 views

Hi

We're trying to implement a 3 level hierarchy with RadGrid, preferably client-side data bound. We've had a couple of questions on this already (http://www.telerik.com/community/forums/aspnet-ajax/grid/hierarchial-view-and-client-side-binding.aspx

http://www.telerik.com/community/forums/aspnet-ajax/grid/3-nested-radgrids---performance-issue.aspx )

and currently have an understanding on how it works in Telerik but not quite sure how we can handle this.

In case we create 3 hierarchy levels (say A, B, C) intended to be databound on client side so that they have HiearachyMode="Client" we face performance issue because as far as we understand all RadGrid objects are created initially on all levels. And number of objects on each level depends on the PageSize parameter on the upper level (so that for each row in the page a nested Grid object is created). So that if we have

PageSize = 10 for level A
PageSize=100 for level B

this leads to:

1 level A grid (with maximum 10 expandable rows)

10 level B grids (one for each row in level A grid. Each of these grids can have maximum of 100 expandable rows).

1000 level C grids (100 grids - one for each row of 10 level B grids)


So the performance degrades exponentially (as mentioned in answer to my question here: http://www.telerik.com/community/forums/aspnet-ajax/grid/3-nested-radgrids---performance-issue.aspx ), which is a major problem, since we would actually like up to 1000 records to be present on level B, not 100. The problem is, that in case grid objects aren't created - we can apply more records on level B, but they won't get expandable.

The question is - what can we do in order to avoid this problem? Is this somehow possible to create client-side nested grid objects not initially, but only in the moment of row expansion (but keeping the ability to bind data to this grid on client-side)? We're trying to mix level A HierarchyMode="Client" with Grid put in NestedView (as described here: http://blogs.telerik.com/vladimirenchev/posts/08-09-09/how-to-telerik-radgrid-master-detail-client-side-data-binding-using-linq-to-sql-and-webservice.aspx) and use a DetailTable grid with HierarchyMode="ServerOnDemand" for B and C grids, but meet troubles implementing this yet. Maybe better approach is possible?

Tsvetoslav
Telerik team
 answered on 30 Mar 2012
2 answers
985 views
Hi Team,
I want to add rows dynamically in radgrid.
The number and types of columns in my grid are fixed.
All columns are template columns.

This is what I have :
<asp:TextBox ID="txtNoOfAssets" runat="server" />
<asp:Button ID="btnAddAssets" runat="server" Text="Add Assets" OnClick="btnAddAssets_Click" />
 
<telerik:RadGrid ID="rgAUC" runat="server">
                        <MasterTableView CommandItemDisplay="None">
                            <Columns>
                                <telerik:GridTemplateColumn HeaderText="Asset Name" UniqueName="AssetName">
                                    <ItemTemplate>
                                        <asp:TextBox ID="txtAssetName" runat="server" />
                                    </ItemTemplate>
                                </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn HeaderText="Asset No" UniqueName="AssetNo">
                                    <ItemTemplate>
                                        <asp:TextBox ID="txtAssetNo" runat="server" />
                                    </ItemTemplate>
                                </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn HeaderText="Description" UniqueName="AssetDescription">
                                    <ItemTemplate>
                                        <asp:TextBox ID="txtAssetDescription" runat="server" />
                                    </ItemTemplate>
                                </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn HeaderText="Class" UniqueName="AssetClass">
                                    <ItemTemplate>
                                        <telerik:RadComboBox ID="rcbAssetClass" runat="server"></telerik:RadComboBox>
                                    </ItemTemplate>
                                </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn HeaderText="Useful Life" UniqueName="AssetUsefulLife">
                                    <ItemTemplate>
                                        <asp:TextBox ID="txtAssetUsefulLife" runat="server" />
                                    </ItemTemplate>
                                </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn HeaderText="Original Value" UniqueName="AssetOriginalValue">
                                    <ItemTemplate>
                                        <asp:TextBox ID="txtAssetOriginalValue" runat="server" />
                                    </ItemTemplate>
                                </telerik:GridTemplateColumn>
                            </Columns>
                        </MasterTableView>
                    </telerik:RadGrid>


Now, on click of a button ' btnAddAssets  ', i want to add those many rows which user has put in txtNoOfAsset.
Number and types of my columns are fixed.

Any help appreciated,
Thanks,
Lok..
Lokesh
Top achievements
Rank 1
 answered on 30 Mar 2012
1 answer
51 views
hi
I have problem in radeditor.
when i write in it and click enter write <br > but i want write<br />
please help me how to solv it
thanks
Rumen
Telerik team
 answered on 30 Mar 2012
1 answer
168 views
Hello,

I am trying to modify RadMenu so that the submenu flow is horizontal . I have 3 levels in the menu. Flow at all 3 levels is set to horizontal.

Below is how I have the menu currently. ( when the MenuItem6 is expanded)  

MenuItem1   MenuItem4   MenuItem5   MenuItem6   MainMenuItem7
Item6SubItem1 Item6SubItem2 Item6SubItem3    

I want the submenu to be aligned center.  Below is the desired result. 

MenuItem1  MenuItem4   MenuItem5   MenuItem6   MainMenuItem7
Item6SubItem1 Item6SubItem2 Item6SubItem3      


Please let me know how the submenu can be aligned center . 

Thanks,
Princy
Top achievements
Rank 2
 answered on 30 Mar 2012
1 answer
110 views
hi
i use from RadEditor
when i insert code into tab HTML i meet to problem
my problem is in use from <div>
for example when i write this code in tab HTML :
<div id="1">
1111111111111111111111111
</div>

<div id="2">
       2222222222222222222222222
</div>

<div id="3">
3333333333333333333333333
</div>

<div id="4">
4444444444444444444444444
</div>
and store it in database and when i'll edit it and again load it in editor i Loss first div , namely in tab HTML is below like :
1111111111111111111111111
<div id="2">
2222222222222222222222222
</div>
<div id="3">
3333333333333333333333333
</div>
<div id="4">
4444444444444444444444444</div>

please help me it's urgent
thanks
Rumen
Telerik team
 answered on 30 Mar 2012
1 answer
130 views
I'm using the label attribute on controls to display the labels rather than having to define a table with a label object then the control object. It seems that they don't render correctly or not at all.

In the example below I have a radtextbox, radcombobox, and a datepicker. When the page renders the combobox displays the label but is indented a few pixes to the right. The label for a datepicker does not work at all.

Are these bugs or am I using them incorrectly?

<%

@ Page Language="C#" AutoEventWireup="true" CodeBehind="testpage.aspx.cs" Inherits="GEPApps.testpage" %>

 <% @ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

 

<! 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<

html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

<title></title>

<style type="text/css">

 .formlabel {

display: block; /* block float the labels to left column, set a width */

float : left;

width: 140px;

padding: 0;

margin: 5px 0 0; /* set top margin same as form input - textarea etc. elements */

text-align: right;

}

.formEntry {

 margin:5px 0 0 10px;
 
}

}

</

style>  

</head>

 <body>

<form id="form1" runat="server">

<telerik:RadScriptManager ID="RadScriptManager1" runat="server" />

<div>

<br />

 <telerik:RadTextBox ID="txt_city" runat="server" Width="300px" CssClass="formEntry" Label="City:" LabelCssClass="formlabel" />

 <br />

 <telerik:RadComboBox ID="cmb_countries" runat="server" AutoPostBack="true" CssClass="formEntry" Label="Country:" LabelCssClass="formlabel" Height="140px" Width="250px" MarkFirstMatch="true" CausesValidation="false"></telerik:RadComboBox>

 <br />

 <telerik:RadDatePicker runat="server" ID="cal_ExportDate" DateInput-Label="Date:" CssClass="formEntry" >

<DateInput ID="DateInput1" DateFormat="yyyy-MM-dd" Label="Date:" runat="server"></DateInput>

 </telerik:RadDatePicker>

</div>

</form>

</body>

</html>

 

Shinu
Top achievements
Rank 2
 answered on 30 Mar 2012
1 answer
52 views
Hello,

I have issue with RadEditor in Mozilla Firefox browser. When I press 'enter' button in Design mode then  new line is lost. Please give solution for it
Rumen
Telerik team
 answered on 30 Mar 2012
3 answers
242 views
Hi,
    I have a RadSplitter which contain RadSplitBar1. I set width for RadSplitBar but the problem is width is not affecting . Please help
Thanks in Advance
Jesmon Joseph
Princy
Top achievements
Rank 2
 answered on 30 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?