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

We are using MOSS 2007 and have RadEditor version 4.5.0.0 installed.

Does this version of RadEditor have any conflicts with IE8? We installed IE8 last week and since then there have been the following issues with the RadEditor:

  1. When inserting an image, the image does not insert within the embedded RadEditor Control (or web part) as it should. Instead the image appears in a blank area at the very top of the browser window, above the web site. Please see the attached image as an example.
  2. Also, font styles from the CssEditor.css file are not being applied correctly. We have a normal font style which has a font-size of 9pt. We also have styles to change the text to bold, blue, green and red. Each of those styles have a font-size of 9pt. In IE6, if I chose the style "blue" for instance, the text would change to the colour blue and remain the same font-size. Now though, after IE8 has been installed, the colour correctly changes to blue, but the font-size increases. Would there be a reason as to why RadEditor is now not applying the correct font-size? Are there any updates that need to be applied to RadEditor? Please see the attached image as an example.

Your help is appreciated.
Thanks,
Claudz

Stanimir
Telerik team
 answered on 04 Aug 2010
5 answers
192 views

Hi,

should I use RadHtmlField if I want to replace PublishingWebControls:RichHtmlField? I noticed that RadHtmlField doesnt have the onClientPasteHtml event. How can I then modify the content that has been pasted into RadEditor? Thanks in advance.

Sincerely,

Ishfaq Khan

Stanimir
Telerik team
 answered on 04 Aug 2010
1 answer
217 views
I have a RadGrid using the GridNumeric column.  I want this to show decimal number with 10 decimal places.  I am using a GridNumericColumnEditor to set format.  If the first action I take on the page is to edit a record the numeric values will show to correct decimal place; if I edit another record, the values then get clipped to 2 decimal places for edited record and any record I open for edit.  If I initially go into "Add New" the numeric text boxes will populate with a single zero.  Then when I edit an existing record, the edited records numeric text boxes will show 2 decimal places and the "add new" record text boxes now show 2 decimal places.

 

 

<telerik:GridNumericColumn DataField="Jan" HeaderText="Jan" AllowSorting="false" 
AllowFiltering="false" HeaderStyle-Width="90" HeaderStyle-Wrap="false"  
EditFormColumnIndex="1" EmptyDataText="0" DefaultInsertValue="0" AllowRounding="false" KeepNotRoundedValue="false" ColumnEditorID="GridNumericColumnEditor1" UniqueName="Jan" /> 
  
<telerik:GridNumericColumnEditor ID="GridNumericColumnEditor1" runat="server" 
NumericTextBox-Width="125px" NumericTextBox-NumberFormat-DecimalDigits="10" 
NumericTextBox-NumberFormat-AllowRounding="false" /> 

 

 

 

 

 

 

 

 




Shinu
Top achievements
Rank 2
 answered on 04 Aug 2010
0 answers
101 views
Hi How would I go about stopping the RAD controls JavaScript from needing to be loaded.  If i disable scripts and do not include I get a not defined error.
Thanks
Neville
Felipe Casanova
Top achievements
Rank 1
 asked on 04 Aug 2010
1 answer
110 views
2010.2.722.35   Skin="Office2007"

I have a column that is GridTemplateColumn and its headertext font is smaller than the rest of GridBoundColumn.
I do not explicitly set font other than the grid Skin to Office2007.

                <telerik:GridTemplateColumn HeaderText="Online" UniqueName="Online">
                    <ItemTemplate>
                        <asp:CheckBox ID="chkOnline" runat="server" Checked='<%# Eval("Online") %>' />
                    </ItemTemplate>
                </telerik:GridTemplateColumn>  

Update -- Strange, I removed skin, then reapplied skin, and now it's fine.   All are displaying the smaller size.
Veli
Telerik team
 answered on 04 Aug 2010
1 answer
97 views

Hi

We have a grid that, in edit mode, the user has the options to 'Save this record' or 'Save this record and add another'.  When clicking the 2nd option, the current record should be persisted to the database and a new blank form should be presented to allow the user to enter more data.  Very often we want to prepopulate the form based on the previous entry.  I have the following code to do this:

 

 

 

 

protected void RadGrid1_InsertCommand(object source, GridCommandEventArgs e)
{
    if (e.CommandSource is LinkButton)
    {
        LinkButton sourceLinkButton = (LinkButton)e.CommandSource;
        if (sourceLinkButton.ID == "SaveThisRecordAndAddAnotherLinkButton")
        {
            e.Item.OwnerTableView.PerformInsert();
            RadGrid1.MasterTableView.IsItemInserted = true;

            
//Prepare an IDictionary with the predefined values
            System.Collections.Specialized.ListDictionary newValues = new System.Collections.Specialized.ListDictionary();
            newValues["Remarks"] = "Test remarks";

            
//Insert the item and rebind
            e.Item.OwnerTableView.InsertItem(newValues);
            RadGrid1.Rebind();
            Utils.Log("IsItemInserted:" + RadGrid1.MasterTableView.IsItemInserted);
        }
        else
        {
            RadGrid1.MasterTableView.IsItemInserted = false;
        }
    }
}


What I'm getting is:
  • the current record is persisted correctly to the database
  • NO new insert form is presented to the user
  • a 2nd record with the prepopulated value "Test remarks" is added to the database
  • the Utils.Log debug statement shows in the log that 'IsItemInserted' is set to true

As a test, I placed the statement 'RadGrid1.MasterTableView.IsItemInserted = true;' in the Page_Load event and the grid loaded with the insert form open as expected.
In contrast, if I place the same in the RadGrid1_PreRender event, no insert form appears.

I'm using RadControls_for_ASP.NET_AJAX_2010_1_415_dev_hotfix.zip.

Is the InsertCommand event too late in the page life cycle for 'IsItemInserted = true;' to show the insert form?

What's strange is that we have another web app (implemented in VB) on an earlier version of the Telerik controls and this method works fine!

Please help.

Veli
Telerik team
 answered on 04 Aug 2010
1 answer
85 views
Hello,

I would like to ask if it is possible to sort or arrange my RadPanelItems by dragging the panel items.

Thank you.

Yana
Telerik team
 answered on 04 Aug 2010
1 answer
218 views
Hai,

I have a tabstrip with 7 tabs and 7 pageviews in one multipage. Each of these tabs contains one grid, which binds with data on clicking the corresponding tab. But I want one tab to be selected on page load. I got it as selected by using the following code, but the corresponding grid inside the pageview is not showing.

RadTabStrip3.Tabs[0].Selected =

true; //first tab in the tabs collection
LoadPlanMenuMon.Visible =
true; //corresponding pageview
RadGrid1.Visible =
true; //corresponding radgrid inside pageview


Plz help.

Shinu
Top achievements
Rank 2
 answered on 04 Aug 2010
2 answers
212 views
Hi all,

I have radgrid, on every row selection, we are showing detail view for that particular row.
In that i am showing some field data i.e COMPANY, STATUS, ADDRESS and ACTION REQUIRED
and now i wanted to show YES or NO type of small icons as per some condition for a ACTION REQUIRED field.

How can i show icons for this scenario.
need sample code for this.
arun
Top achievements
Rank 1
 answered on 04 Aug 2010
4 answers
326 views
Hello Sir/Madam

I have radalert in my code, and by default "OK" button display at Left side of radalert window.
as i want to display button at right side.
and while doing that my window size should be not change.
can you suggest me about this.

Thanks
Pritesh
Pritesh
Top achievements
Rank 1
 answered on 04 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
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?