Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
152 views
Hello,

I am trying to help my colleague solve a problem with the RAD editor.

When she includes the RAD editor into her page, immediately after loading she cannot scroll the page with the scroll wheel. She much first click on the page and then she can scroll. When she removes the RAD editor from the page, she can scroll normally when the page loads.

Has anyone seen this issue before????

Regards
Georgi Tunev
Telerik team
 answered on 28 Jan 2009
1 answer
49 views
i've placed a radgrid on my page...in FF everything is hunky dory...but in IE all of the styling goes away...
i did a little testing and the menu is absolutely up until i set the datasource for the grid

make any sense to anyone...
Dimo
Telerik team
 answered on 28 Jan 2009
0 answers
77 views
Hi,
    Can we call the RadTreeView1_NodeExpand (object sender , RadTreeNodeEventArgs e) method from a button click ? If so what parameter I have to pass for this

Regards
Manoj
Manoj
Top achievements
Rank 1
 asked on 28 Jan 2009
6 answers
405 views
Which of these should I use (I'm using a RadWindow as a dialog).

What's the difference?

--
Stuart
Georgi Tunev
Telerik team
 answered on 28 Jan 2009
3 answers
189 views
Hello, I'm sorry if this has already been reported or addressed, I did a quick search and didn't found anything related to what I found. 

I found some problems with the radEditor for Localization. I have a page with two radEditor, one set to English and the other one to French.

  1. The output from InsertDate functionality from the toolbar is always in english i.e. Thursday, January 22, 2009.
  2. The AjaxSpellCheck functionality from toolbar displayed on top when spell check active is in English only.
  3. The AjaxSpellCheck dialog or popup suggestion in English only. Even if I have both dictionary in the App_Data folder.
  4. The Close (X) button localization for all dialogs seems to be hardcoded. I had a look at the ressource file and the translation is properly set.

 

To reproduce the problem, you need to have two radEditor on the same page with both pointing on a different Localization (language property).

I also notice that if they (radEditor) use a different skin, some of the properties of the last defined radEditor skin will affect the other one(s) i.e. background.

Mario

Rumen
Telerik team
 answered on 28 Jan 2009
1 answer
113 views
Hi All,

I am using RadGrid with inline insert/update/delete .
I have 'Save' button on page.

In design mode i have set the grid 'RadGrid.MasterTableView.CommandItemDisplay ' property as 'None'
On page load i have hide the 'Add New Item' button on grid. By using following code segment.
RadGrid.MasterTableView.CommandItemDisplay = GridCommandItemDisplay.None

On 'Save' button click , i have set the code to show the button on top of the grid,

    RadGrid.MasterTableView.CommandItemDisplay = GridCommandItemDisplay.Top


Issue:
On page load it hides the 'Add new Item' button of grid.
But on 'Save' button click it is not showing the 'Add New Item' button on grid.

Please hlep me.

Thanks.

Princy
Top achievements
Rank 2
 answered on 28 Jan 2009
1 answer
120 views
Dear Telerik Support Team,

I was wondering if there is any way

1. To make all the telerik input controls to look like the standard Windows controls
2. If there is any way you could give me the neccessary styles, so I could apply them to my other controls?

Thank you.
Dimo
Telerik team
 answered on 28 Jan 2009
4 answers
187 views
Hi,

I made an application using the rad treeview supporting drag and drop. Some nodes have a special purpose, which means it is not allowed to move nodes in there (allow-drop is set to false on these nodes)

Two problems occurred:
1. When a user drags a node below or above a child-node of a special node it works. So allowDrop=false is not enough to forbid adding nodes to a special node. I need to check this again in the OnDrop-Event. Is there a better solution for that?

2. When a user drags a node over a special node a kind of stop sign is shown, which indicates that the drag is forbidden, or not possible. If the user moves the node below or a above another node and this is not allowed, nothing is shown. (of course not, at that time I don't know that it is not allowed) Whichh means the user doesn't get a feedback.

Any ideas how to solve this?
rajendra
Top achievements
Rank 1
 answered on 28 Jan 2009
1 answer
139 views
Why doesn't AllowAutomaticUpdate/AllowAutomaticInserts work when I'm using a user control as my edit form?

Insert/update works great if I comment out my EditFormType="WebUserControl" settings and I'm using the built-in EditForms or InPlace editing mode.  But when I add my user control settings in the EditFormSettings and try to update a row, my changes aren't saved at all.  No error - it just doesn't save the changes I make in the form.  I have other pages using user controls as the edit form but they use InsertCommand and UpdateCommand events instead of AllowAutomaticUpdate/AllowAutomaticInserts - do I need to do the same thing here and if so, why? 

Here's my grid code:

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PurchaseOrders.ascx.cs" 
    Inherits="AdminWebsite.Admin.UserControls.Projects.PurchaseOrders.PurchaseOrders" %> 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
<%@ Reference Control="~/Admin/UserControls/Projects/PurchaseOrders/PurchaseOrderForm.ascx" %> 
<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="PurchaseOrderDataSource" 
    AllowAutomaticInserts="true" AllowAutomaticUpdates="true" AllowAutomaticDeletes="true"
    <MasterTableView DataKeyNames="PurchaseOrderID" EditMode="EditForms" CommandItemDisplay="Top" 
        AutoGenerateColumns="false"
        <EditFormSettings EditFormType="WebUserControl" UserControlName="~/Admin/UserControls/Projects/PurchaseOrders/PurchaseOrderForm.ascx"
        </EditFormSettings> 
        <CommandItemTemplate> 
             <asp:LinkButton ID="NewCommissionButton" runat="server" CommandName="InitInsert"
                <img class="middle" alt="" src="../Images/Telerik/AddRecord.gif" /> Add New Purchase Order&nbsp; 
                    </asp:LinkButton> 
        </CommandItemTemplate> 
        <Columns> 
            <telerik:GridButtonColumn CommandName="Delete" Text="Remove" UniqueName="DeleteColumn" 
                ImageUrl="~/Images/Telerik/delete.gif" ConfirmText="Are you sure you want to delete this purchase order?" 
                ButtonType="ImageButton"
                <HeaderStyle Width="5%" /> 
                <ItemStyle HorizontalAlign="Center" /> 
            </telerik:GridButtonColumn> 
            <telerik:GridEditCommandColumn ButtonType="ImageButton" UpdateImageUrl="~/Images/Telerik/Update.gif" 
                EditImageUrl="~/Images/Telerik/Edit.gif" InsertImageUrl="~/Images/Telerik/update.gif" 
                CancelImageUrl="~/Images/Telerik/Cancel.gif" UniqueName="EditCommandColumn"
                <HeaderStyle Width="5%" /> 
                <ItemStyle HorizontalAlign="Center" /> 
            </telerik:GridEditCommandColumn> 
            <telerik:GridBoundColumn DataField="PurchaseOrderID" HeaderText="Purchase Order ID"
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="PONumber" HeaderText="Purchase Order #"
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="Date" HeaderText="Date" DataFormatString="{0:M/d/yyyy}"
            </telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="ShipTo" HeaderText="ShipTo"
            </telerik:GridBoundColumn> 
        </Columns> 
    </mastertableview> 
    <clientsettings> 
        <ClientEvents OnPopUpShowing="CenterPopup" /> 
    </clientsettings> 
</telerik:RadGrid> 
<asp:LinqDataSource ID="PurchaseOrderDataSource" runat="server" ContextTypeName="NewMillennium.DataAccess.Linq.Projects.ProjectsDataContext" 
    TableName="PurchaseOrders" Where="ProjectProgram.ProjectProgramID == @ProjectProgramID" 
    EnableDelete="true" EnableInsert="true" EnableUpdate="true"
    <WhereParameters> 
        <asp:QueryStringParameter Name="ProjectProgramID" QueryStringField="ProjectProgramID" 
            Type="Int32" /> 
    </WhereParameters> 
    <InsertParameters> 
        <asp:QueryStringParameter Name="ProjectProgramID" QueryStringField="ProjectProgramID" 
            Type="Int32" /> 
        <asp:Parameter Name="PurchaseOrderID" /> 
        <asp:Parameter Name="PublisherID" /> 
        <asp:Parameter Name="ShipTo" /> 
    </InsertParameters> 
    <UpdateParameters> 
        <asp:QueryStringParameter Name="ProjectProgramID" QueryStringField="ProjectProgramID" 
            Type="Int32" /> 
        <asp:Parameter Name="PurchaseOrderID" /> 
        <asp:Parameter Name="PublisherID" /> 
        <asp:Parameter Name="ShipTo" /> 
    </UpdateParameters> 
    <DeleteParameters> 
        <asp:Parameter Name="PurchaseOrderID" /> 
    </DeleteParameters> 
</asp:LinqDataSource> 
 

Here's my user control code:

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PurchaseOrderForm.ascx.cs" 
    Inherits="AdminWebsite.Admin.UserControls.Projects.PurchaseOrders.PurchaseOrderForm" %> 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
<div class="padding8"
    <table style="width: 100%" border="0" cellpadding="4" cellspacing="8"
        <tr> 
            <th class="lightgray label"
                Vendor 
            </th> 
            <th class="lightgray label"
                Ship To 
            </th> 
        </tr> 
        <tr> 
            <td class="toppadding5"
                <telerik:RadComboBox ID="drdPublisher" runat="server" DataSourceID="PublisherDataSource" 
                    DataValueField="PublisherID" DataTextField="PublisherName" MarkFirstMatch="true" 
                    Height="400px" Width="320px" ShowToggleImage="True" Skin="MillenniumAdmin" EnableEmbeddedSkins="false" 
                    AppendDataBoundItems="true" SelectedValue='<%# Bind("PublisherID") %>' Style="z-index: 99999999"
                    <items> 
                        <telerik:RadComboBoxItem Value="" Text="" /> 
                    </items> 
                </telerik:RadComboBox> 
            </td> 
            <td class="toppadding5"
                <asp:TextBox TextMode="MultiLine" runat="server" ID="ShipTo" Text='<%# Bind("ShipTo") %>' 
                    Width="320px" Height="60px"></asp:TextBox> 
            </td> 
        </tr> 
        <tr> 
            <th class="lightgray label" colspan="2"
                Line Items 
            </th> 
        </tr> 
        <tr> 
            <td colspan="2"
                <asp:UpdatePanel runat="server"
                    <ContentTemplate> 
                        <table width="550px" cellspacing="0"
                            <tr> 
                                <th> 
                                    Description 
                                </th> 
                                <th> 
                                    Qty 
                                </th> 
                                <th> 
                                    Rate 
                                </th> 
                                <th> 
                                    Total 
                                </th> 
                            </tr> 
                            <asp:Repeater ID="LineItemRepeater" runat="server"
                                <ItemTemplate> 
                                    <tr> 
                                        <td> 
                                            <telerik:RadTextBox ID="Description" runat="server" Width="320px" Skin="MillenniumAdmin" 
                                                EnableEmbeddedSkins="false" Text='<%# Bind("Description") %>'
                                            </telerik:RadTextBox> 
                                        </td> 
                                        <td> 
                                            <telerik:RadNumericTextBox ID="Qty" runat="server" Type="Number" Width="80px" Skin="MillenniumAdmin" 
                                                EnableEmbeddedSkins="false" Text='<%# Bind("Qty") %>'
                                                <numberformat decimaldigits="0" /> 
                                            </telerik:RadNumericTextBox> 
                                        </td> 
                                        <td> 
                                            <telerik:RadNumericTextBox ID="Rate" runat="server" Type="Currency" Width="80px" 
                                                Skin="MillenniumAdmin" EnableEmbeddedSkins="false" Text='<%# Bind("Rate") %>'
                                                <numberformat decimaldigits="2" /> 
                                            </telerik:RadNumericTextBox> 
                                        </td> 
                                        <td> 
                                            <asp:Label ID="Total" runat="server" Width="80px"></asp:Label> 
                                        </td> 
                                    </tr> 
                                </ItemTemplate> 
                            </asp:Repeater> 
                        </table> 
                        <asp:LinkButton runat="server" ID="AddItemButton" OnClick="AddItemButton_Click"
                            <asp:Image runat="server" ImageUrl="~/images/telerik/insert.gif" CssClass="middle" /> Add an item</asp:LinkButton> 
                    </ContentTemplate> 
                </asp:UpdatePanel> 
            </td> 
        </tr> 
    </table> 
    <div id="RadGridButtons" runat="server" style="text-align: left"
        <asp:Button ID="btnUpdate" Text="Update" runat="server" CommandName="Update" Visible='<%# !((Container as GridItem).OwnerTableView.IsItemInserted) %>'
        </asp:Button> 
        <asp:Button ID="btnInsert" Text="Insert" runat="server" CommandName="PerformInsert" 
            Visible='<%# (Container as GridItem).OwnerTableView.IsItemInserted %>'></asp:Button> 
        &nbsp; 
        <asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False" 
            CommandName="Cancel"></asp:Button> 
        <asp:LinkButton ID="SaveButton" runat="server" CommandName='<%# (Container as GridItem).OwnerTableView.IsItemInserted ? "PerformInsert" : "Update" %>' 
            OnClientClick="suppressConfirmation()"><img style="border:0px" alt="" src='../Images/Telerik/Update.gif'/></asp:LinkButton> 
        <asp:LinkButton ID="CancelButton" runat="server" CommandName="Cancel" CausesValidation="false" 
            OnClientClick="suppressConfirmation()"><img style="border:0px" alt="" src="../Images/Telerik/Cancel.gif" /></asp:LinkButton> 
    </div> 
</div> 
<asp:SqlDataSource ID="PublisherDataSource" runat="server" OnInit="SqlDataSource_Init" 
    SelectCommandType="StoredProcedure" SelectCommand="GetAllPublisherList"></asp:SqlDataSource> 
 

Nikolay Rusev
Telerik team
 answered on 28 Jan 2009
1 answer
41 views
Team,

We are evaluating the product for our project purpose. The following we wish to achieve:

a. In the calendar control, the user should be able to select dates and inside the date select the ranges either predefined or user selected.
b. Calendar control to distinguish the dates with color combinations....ex: If a day is selected or day is selected with all options or day is selected with partial options...Options i mean is having time range defined already in the system.

Would appreciate if you could let us know how this can be achieved which will enable us to work with product and take it forward.

With Regards,
K.Murali
Sebastian
Telerik team
 answered on 28 Jan 2009
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?