Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
148 views

Hi,

     How can i achieve the sliding menu..ie when i click on the menu the sub menu appears above the menu displayed below..It want it to expand such that all menu appear on the screen.
I want it to make similar to the menu given in the Demos.

Atanas Korchev
Telerik team
 answered on 03 Dec 2008
1 answer
52 views

In version 1125, in FireFox - if you add a border to an image, then re-open the image properties window, the border width input control contains extra and confusing text.

To reproduce:

  1. Go here: http://demos.telerik.com/aspnet-ajax/Editor/Examples/SaveInExternalFile/DefaultCS.aspx
  2. Insert an image
  3. Add a border of 1
  4. Save As External File
  5. Open the image properties window and look in the border textbox - it contains "1 1px 1px 1px"

 

Thanks,
John Brownell
Pyron Technologies

 

Stanimir
Telerik team
 answered on 03 Dec 2008
8 answers
259 views
Hi

I would like to also have some support on this issue.
I have a RadComboBox which I have deployed to a QA and PROD IIS server.
It works fine when accessing the web site directly within IE.

BUT we also want to make this web site available from within a Portal web application, when we do this we get a javascript scripting error:

Line: 5960
Char: 49
Error: Access is denied

This results in the RadComboBox to be inaccessible - one cannot enter a new value and also not select an option from the dropdown.

Any suggestions? should I revert back to standard dropdown controls and drop the Telerik dropdown control?

Bye
Atanas Korchev
Telerik team
 answered on 03 Dec 2008
2 answers
214 views
Hi All

Is there a way at design time (Preferably in the Aspx page, not code behind) to set the format of the selected date to dd mmm yyyy.

I've seen a way to do it with a client side event.

Andy
Andy Green
Top achievements
Rank 2
 answered on 03 Dec 2008
9 answers
222 views
It seems the file/image/flash manager is a little buggy.  If I insert two images into my text area, and when I highlight the first image inserted, and reopen the image manager (same for file/flash), the image manager starts from it's default/last known settings instead of bringing up the actual highlighted image properties.  I've test this locally and on your own demo's, http://demos.telerik.com/aspnet/prometheus/Editor/Examples/Default/DefaultCS.aspx

Is there a way I can fix this?

For background information, I'm currently writing an FLV manager based off of the flash manager.  I've managed to use ExternalDialogsPath property and made my own copy of FlashManager.ascx.  I'm now currently able to insert flv files into my text.  My issue now is the problem stated above.  If I can understand how to resolve it for the default image manager, or just for custom dialogs, either will sufice for my project.

I've digged really really deep into the code as I've found the documentation very limited (or I'm blind and cant find it). :(  I see that the GenericFileLister sets ClientState information.  I cannot figure out how I can make GenericFileLister load a specific subdirectory, and select a specific file.

Any guidance will be greatly appreciated.

Shaun Peet
Top achievements
Rank 2
 answered on 03 Dec 2008
3 answers
292 views

I just created a RadContextMenu that has the following items:

Insert
Edit
Delete

 the menu has  the following properties:

- server side event handler  as a handler for the context menu item click event.
-Enable postback.

becuase i created this menu as a context menu for a RadGrid Control I need to create a client side Confirm message  when the user click the delete  item.

I do the following in the page load event

GridMenu.Items[2].Attributes.Add(

"onclick","return ConfirmDelete()");

where GridMenu is my RadContextMenu ID.

this is the client side java script code for the ConfirmDelete() function

function ConfirmDelete()

{

result=confirm(

"Delete?");

if (result==true)

return true;

else

return false;

}


the senario: when I click the Delete menu item it really pop up the Confirm message but

either i clicked Ok or Cancel It do postback

what  really I need do the postback only when the user click ok,if not no postback occurs.

so please provide me with the help

Note: i'm using RadControls for Asp.net AJAX 2008-Q2.

senthil
Top achievements
Rank 1
 answered on 03 Dec 2008
2 answers
147 views
I have an entity object that contains entities with properties I wish to bind to grid columns.  When binding, I recieve the following exception:

DataBinding: 'EFPoC.OrderDetail+GridItem' does not contain a property with the name 'entity.PartNumber'.

However, my entity does have a property named 'entity' which contains a property named 'PartNumber'.

This seems like it should 'just work' so can anyone help me determine what I've missed? BTW, the exception is thrown when I make the call to CartGrid.DataBind();

Thanks in advance!
Regards, Scott

Here's my entity - I'm binding to a list of these.

public class GridEntity {  
   public bool Checked;  
   public CartItem entity;  

My grid is defined like this:
<telerik:RadGrid ID="CartGrid" runat="server"   
        GridLines="None"   
        Skin="Vista"   
        EnableViewState="true" 
        OnItemCommand="CartGrid_OnItemCommand">  
        <HeaderContextMenu EnableTheming="True">  
            <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
        </HeaderContextMenu> 
        <MasterTableView AutoGenerateColumns="false"   
            DataKeyNames="entity.PartNumber,entity.ItemLegalName"   
            ClientDataKeyNames="entity.PartNumber,entity.ItemLegalName">  
            <Columns> 
                <telerik:GridCheckBoxColumn DataField="Checked" HeaderText="Selected" > 
                    <HeaderStyle Width="10%" /> 
                </telerik:GridCheckBoxColumn> 
                <telerik:GridBoundColumn DataField="entity.PartNumber" HeaderText="Kit #">  
                    <HeaderStyle Width="20%" /> 
                </telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="entity.ItemLegalName" HeaderText="Kit Name">  
                    <HeaderStyle Width="55%" /> 
                </telerik:GridBoundColumn> 
                <telerik:GridButtonColumn ButtonType="PushButton" CommandName="removeFromCart" CommandArgument="0" Text="remove item" ConfirmDialogType="RadWindow">  
                    <HeaderStyle Width="15%" /> 
                </telerik:GridButtonColumn> 
            </Columns> 
            <RowIndicatorColumn> 
                <HeaderStyle Width="20px"></HeaderStyle> 
            </RowIndicatorColumn> 
            <ExpandCollapseColumn> 
                <HeaderStyle Width="20px"></HeaderStyle> 
            </ExpandCollapseColumn> 
        </MasterTableView> 
        <FilterMenu EnableTheming="True">  
            <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
        </FilterMenu> 
    </telerik:RadGrid> 

I'm using this loading code:
using (CartServiceClient client = new CartServiceClient())  
{  
    Cart cart = client.GetCart(UserEntityID);  
    var entityList = from item in cart.CartItems   
        select new GridItem {  
            Checked = false,  
            entity = item   
        };  
 
    CartGrid.DataSource = entityList;  
    CartGrid.DataBind();  
Rosen
Telerik team
 answered on 03 Dec 2008
1 answer
63 views
Hi
I'm using the following combinations of Rad Controlls:

RadTabStrip with multiple PageViews (RadMultiPage) and RadGrid into one of the PageViews.

The AutoPostBack prop of the RadTabStrip is set to TRUE; the RenderSelectedPageOnly prop of RadMultiPage is also set to TRUE.
The RadGrid has a Template collumn which defines a CheckBox with prop AutoPostBack set to TRUE (see bellow) :

<radG:GridTemplateColumn DataField="test" UniqueName="test_test"

 

HeaderText="test" Visible="true">

 

 

<ItemTemplate

 

 

<asp:CheckBox AutoPostBack="true" ID="testc" OnCheckedChanged="testc_CheckedChanged"

 

 

runat="server" Checked='<%#Eval("testt") %>' />

 

 

</ItemTemplate>

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<asp:CheckBox ID="testxx" AutoPostBack="false" runat="server" Checked='<%#Eval("test") %>' /></EditItemTemplate>

 

 

 

 

 

 

</radG:GridTemplateColumn>

 

 

 

The problem is that when the Tab with the RadGrid is loaded all values of the CheckBoxes are set to FALSE and the event
testc_CheckedChanged is fired and it shouldn't be!
When I set the AutoPostBack prop of the RadTabStrip to FALSE and the RenderSelectedPageOnly prop of RadMultiPage to FALSE.
everything works great.

What could the cause be?

many Thanks,
Victor

Maria Ilieva
Telerik team
 answered on 03 Dec 2008
3 answers
264 views
With skinning, is there a way to get asp:textbox look as telerik:radtextbox styled with embedded Sunset skin?
Dimo
Telerik team
 answered on 03 Dec 2008
2 answers
145 views
Error occured...

the radgrid1 control only has one of these fields.  but, this is a multiple TAB/PAGE system, each page calls the SQL statement with a different where clause but same fields.  


selection of Tires,  RadGrid1
selection of Rims Radgrid2

Radgrid2 has the same column..... but different search criteria.



the error occurs setting up the Editable field for entering quantity, using the Radgrid1_PreRender event. it seems to me that the FindControl function is not distinguishing the different grids from eachother when looking for the control.

here is the entire grid control code. 

<telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="True" AllowMultiRowSelection="True"
                            AllowPaging="True" AllowSorting="True" DataSourceID="sqltypeTires" GridLines="Vertical"
                            ShowFooter="True" ShowStatusBar="True" Skin="Gray" Width="900px" AllowCustomPaging="True" PageSize="20" AllowMultiRowEdit="True" OnPreRender="RadGrid1_PreRender">
                            <HeaderContextMenu EnableTheming="True" Skin="Grey">
                                <CollapseAnimation Duration="200" Type="OutQuint" />
                            </HeaderContextMenu>
                            <MasterTableView AutoGenerateColumns="False" DataSourceID="sqltypeTires" AllowCustomPaging="False" PageSize="100">
                                <RowIndicatorColumn>
                                    <HeaderStyle Width="20px" />
                                </RowIndicatorColumn>
                                <ExpandCollapseColumn>
                                    <HeaderStyle Width="20px" />
                                </ExpandCollapseColumn>
                                <Columns>
                                    <telerik:GridBoundColumn CurrentFilterFunction="StartsWith" DataField="Part Number"
                                        FilterControlWidth="40px" HeaderText="Part Number" SortExpression="Part Number"
                                        UniqueName="Part Number" ReadOnly="True">
                                        <HeaderStyle HorizontalAlign="Justify" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" Width="80px" Wrap="True" />
                                        <ItemStyle HorizontalAlign="Justify" Width="80px" />
                                        <FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Justify" Wrap="True" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn CurrentFilterFunction="StartsWith" DataField="Size" FilterControlWidth="40px"
                                        HeaderText="Size" SortExpression="Size" UniqueName="Size" ReadOnly="True">
                                        <ItemStyle HorizontalAlign="Justify" Width="50px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" Wrap="True" />
                                        <FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Justify" Wrap="True" />
                                        <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Justify" Width="100px" Wrap="True" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn CurrentFilterFunction="StartsWith" DataField="Description"
                                        FilterControlWidth="60px" HeaderText="Description" SortExpression="Description"
                                        UniqueName="Description" ReadOnly="True">
                                        <ItemStyle HorizontalAlign="Justify" Width="100px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" Wrap="True" />
                                        <FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Justify" Wrap="True" />
                                        <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Justify" Width="100px" Wrap="True" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn CurrentFilterFunction="StartsWith" DataField="Manufacturer"
                                        FilterControlWidth="60px" HeaderText="Manufacturer" ReadOnly="True" SortExpression="Manufacturer"
                                        UniqueName="Manufacturer">
                                        <ItemStyle HorizontalAlign="Justify" Width="100px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" Wrap="True" />
                                        <FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Justify" Wrap="True" />
                                        <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Justify" Width="100px" Wrap="True" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn CurrentFilterFunction="StartsWith" DataField="Load Index"
                                        FilterControlWidth="20px" HeaderText="LI" ReadOnly="True" SortExpression="Load Index"
                                        UniqueName="Load Index">
                                        <ItemStyle HorizontalAlign="Justify" Width="25px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" Wrap="True" />
                                        <FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Justify" Wrap="True" />
                                        <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Justify" Width="50px" Wrap="True" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn CurrentFilterFunction="StartsWith" DataField="Speed Rating"
                                        FilterControlWidth="20px" HeaderText="SR" SortExpression="Speed Rating" UniqueName="Speed Rating" ReadOnly="True">
                                        <ItemStyle HorizontalAlign="Justify" Width="25px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" Wrap="True" />
                                        <FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Justify" Wrap="True" />
                                        <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Justify" Width="50px" Wrap="True" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn AllowFiltering="False" DataField="Price $" HeaderText="Price $"
                                        SortExpression="Price $" UniqueName="Price $" ReadOnly="True">
                                        <ItemStyle HorizontalAlign="Justify" Width="50px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" Wrap="True" />
                                        <FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Justify" Wrap="True" />
                                        <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Justify" Width="50px" Wrap="True" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn AllowFiltering="False" DataField="FET $" HeaderText="FET $"
                                        ReadOnly="True" Reorderable="False" ShowSortIcon="False" SortExpression="FET $"
                                        UniqueName="FET $">
                                        <ItemStyle HorizontalAlign="Justify" Width="50px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" Wrap="True" />
                                        <FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Justify" Wrap="True" />
                                        <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Justify" Width="50px" Wrap="True" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn AllowFiltering="False" DataField="Available" HeaderText="Available"
                                        SortExpression="Available" UniqueName="Available" ReadOnly="True">
                                        <ItemStyle HorizontalAlign="Justify" Width="50px" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" Wrap="True" />
                                        <FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Justify" Wrap="True" />
                                        <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                            Font-Underline="False" HorizontalAlign="Justify" Width="50px" Wrap="True" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridNumericColumn AllowFiltering="False" AllowSorting="False" DataField="qtyordered"
                                        DataType="System.Int32" HeaderText="Qty Ordered" MaxLength="10" NumericType="Number"
                                        UniqueName="QtyOrdered">
                                        <ItemStyle Width="50px" />
                                        <HeaderStyle Width="80px" />
                                    </telerik:GridNumericColumn>
                                </Columns>
                                <PagerStyle Mode="NextPrevAndNumeric" Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Justify" Wrap="True" />
                                <GroupHeaderItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                                    Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Justify" Wrap="True" />
                                <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                    Font-Underline="False" HorizontalAlign="Justify" Wrap="True" />
                                <FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                    Font-Underline="False" HorizontalAlign="Justify" Wrap="True" />
                            </MasterTableView>
                            <SelectedItemStyle BackColor="LightGray" />
                            <ClientSettings AllowKeyboardNavigation="True">
                                <Selecting AllowRowSelect="True" />
                                <Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="400px" />
                            </ClientSettings>
                            <FilterMenu EnableTheming="True" Skin="Vista">
                                <CollapseAnimation Duration="200" Type="OutQuint" />
                            </FilterMenu>
                        </telerik:RadGrid>
Andy
Top achievements
Rank 1
 answered on 03 Dec 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?