Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
238 views
Hi all,

I have a grid that is displayed in a screen that is the child of a tab. (I mean that the grid is displayed when the user clicks on the tab.) My problem is that if the grid only returns a small number of rows and the user goes to filter on a column, the filter menu is cut off. Please see attached screen shots. I added one where all the filter options are displayed and I added one where they are cutoff. Is there any way to force the menu to display down from the filter icon? Any other way of accomplishing that I am trying to do?

Thanks,
J. E.
Mira
Telerik team
 answered on 16 Jun 2011
4 answers
189 views
Hi.

I have a RadComboBox in a GridTemplateColumn's EditTemplate like this:

....
<
telerik:GridTemplateColumn UniqueName="Unit.Name" HeaderText="Unit" DataField="Unit.Id"
    SortExpression="Unit.Id" ItemStyle-Width="250px">
    <ItemTemplate>
        <%# DataBinder.Eval(Container.DataItem, "Unit.Name")%>
    </ItemTemplate>
    <EditItemTemplate>
        <telerik:RadComboBox runat="server" ID="UnitComboBox" EnableLoadOnDemand="True" SelectedValue='<%#Bind("Unit.Id")%>'
            DataTextField="Name" DataSourceID="UnitEntityDataSource"
            DataValueField="Id" AutoPostBack="true" HighlightTemplatedItems="true" Height="250px" Width="250px" DropDownWidth="600px">
....

The Grid uses one EntityDataSource and the combobox another.

This works perfectly when updating existing rows, but when I insert a new row it crashes with:

DataBinding: 'Telerik.Web.UI.GridInsertionObject' does not contain a property with the name 'Unit'.

I guess this is because Unit is null when I insert a new object and therefore cant resolve Unit.Id. 

All the existing solutions recommend that you cancel the insert command and insert a dummy row, this would work if it was a ordinary column, but since its an entity I have to specify the relation, hence Unit.Id and not UnitId (which is the columnname in the grids entitydatasource)

I suspect this is the same problem that FreshOne reported here: Forum link

Ive also tried to behind selectedvalue code behind (trying to distinguish between update and insert) but then no values get updated instead.

Can I clarify my problem further?
Best Regards 
N.
Mira
Telerik team
 answered on 16 Jun 2011
1 answer
79 views
I have a muti-level tree for which I only want the context menus visible at the end node level.  How would I go about setting the visiblity to false of the context menu for nodes at levels higher up the tree? The nodes at each level have an attribute called "level", I'm wondering is I need to do this on the client side or if I can do it on the server side.

Thanks
Jonathan
Kate
Telerik team
 answered on 16 Jun 2011
1 answer
187 views
Hi All,
i have a radmenu on my page this is binded to a datatable at run time....
using the following code
dt = method call to get data from database ......

RadMenu1.DataSource = dt;

RadMenu1.DataFieldID =

 

"ID";

 

 

RadMenu1.DataFieldParentID =

 

"Parent_ID";

 

 

RadMenu1.DataTextField =

 

"Text";

 

 

RadMenu1.DataNavigateUrlField =

 

"URL";

 

 

RadMenu1.DataBind();

and it works fine....

i have two questions:-

1- I need to use templates in this menu to add items as hyperlinks for example... Is there any way to add the itemtemplate at run time?

2- How can i bind a radmenu to sitmap  that is also bounded at run time(by code) as the above example?


i will appreciate any help...
Thanks....



Cori
Top achievements
Rank 2
 answered on 16 Jun 2011
1 answer
106 views
I understand the newest version does not support .net 2.0.
I'd like to demo the editor on one of my projects that is a .net 2.0 project.  Is there anywhere to download the demo version of previous asp.net ajax packages that include the bin20 folder?

Thanks.
Sebastian
Telerik team
 answered on 16 Jun 2011
1 answer
61 views
Is there any way to get a specific row by the row index?  What I am trying to do is append a remove button to a specific row..  I know that you can use get_row(), but that only gets the current row. I haven't been able to find a way to get a specific row.

Thanks!
Cori
Top achievements
Rank 2
 answered on 16 Jun 2011
3 answers
75 views
What I want is to be able to use the google like filtering to either find a particular record or if it doesnt exist insert it. I dont want to have to click add new record and retype in the fields. For example lets say I have four fields PO Number, Customer Name, Date, Status. I type in the PO and no match so I now want to continue to inpout the Customer name, etc. and hit enter and new record is created.

Suggestions?
Mira
Telerik team
 answered on 16 Jun 2011
3 answers
288 views
Hello,

I'm currently facing an issue with paragraphs style / format block.
I try to set pre-defined paragraph style in the format block drop down so I add few lines in my toolsFile.xml.
So far everything works great : I have 4 styles I can apply to any text.
I would like my dropdown items to have their own style applied on them but It doesn't work for some css defined classes.

Here's a snippet of my code :

  <paragraphs>
    <paragraph name="&lt;strong>Normal&lt;/strong>" value="&lt;P Class='Al'>" />
    <paragraph name="&lt;p Class='Txtrep3'>Niv 1&lt;/p>" value="&lt;p Class='Txtrep3'>" />
    <paragraph name="&lt;p Class='Txtrep4'>Niv 2&lt;/p>" value="&lt;p Class='Txtrep4'>" />
    <paragraph name="&lt;p Class='Remarque'>Remarque&lt;/p>" value="&lt;p Class='Remarque'>" />
  </paragraphs>


(I didn't use the format code block because it was totally unreadable)

So for example the first item "Normal" is well-rendered in the dropdown but others haven't got any style applied on them.
I can't figure out what's wrong as it works well when I want to define a style for any selected text.

Any help would be welcome !


Alexandre.

PS : RadEditor is sometimes acting weird, could It be possibly due to the trial version ? We plan on buying 2 licences and I wish this will solve out those strange behavior.
Stanimir
Telerik team
 answered on 16 Jun 2011
1 answer
105 views
Please take a look at the pic below, as you can see, I have resized my page to fit within the windows, however, the horizontal scroller (as I have marked red), still show up like that (looks like my page is so so horizontally large), it makes my Visual Studio become hang sometime, due to the fact the page is so "large". Please help me how to fix it.

http://imageshack.us/f/577/screenshotva.png

* I noticed that it's happen whenever I drop in any RadComboBox in the page. (The problem is gone after I remove ALL the RadComboBox on the page). Is it a bug within RadComboBox
Dimitar Terziev
Telerik team
 answered on 16 Jun 2011
1 answer
158 views
Hi Telerik,

We are running MOSS 2007, IE8, and RadEditor version 5.8.0

We are receiveing the following error in our server event logs:

Event Type: Error
Event Source: Windows SharePoint Services 3
Event Category: Web Controls
Event ID: 7043
Date:  14/06/2011
Time:  1:10:55 PM
User:  N/A
Computer: ISSMOSS
Description:
Load control template file /_controltemplates/RadEditorList.ascx failed: Unknown server tag 'telerik:RadHtmlListField'.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

I've opened up the RadEditorList.ascx file and this is the code:

<%@ Control Language="C#" AutoEventWireup="false" %>
<%@Assembly Name="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@Register TagPrefix="SharePoint" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" namespace="Microsoft.SharePoint.WebControls"%>
<%@ Register TagPrefix="telerik" Assembly="RadEditorSharePoint,Version=4.5.0.0,Culture=neutral,PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.ListFieldEditor" %>
<%@ Register TagPrefix="radE" Assembly="RadEditor.Net2, Version=7.3.2.0, Culture=neutral, PublicKeyToken=852c9eb6525c1b53" Namespace="Telerik.WebControls" %>
<SharePoint:RenderingTemplate ID="RichTextField" runat="server">
 <Template>
  <telerik:RadHtmlListField id="RadTextField" runat="server" FontSizeCoef="7" />
  <span dir="<%$Resources:wss,multipages_direction_dir_value%>" id="originalEditorContainer" runat="server">
   <asp:TextBox ID="TextField" TextMode="MultiLine" runat="server" />
   <INPUT ID="TextField_spSave" TYPE=HIDDEN NAME="TextField_spSave" runat="server"/>
  </span>
 </Template>
</SharePoint:RenderingTemplate>


Any ideas as to what might be causing the error in the event log to appear?

Thanks,
Claudz

Stanimir
Telerik team
 answered on 16 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
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?