Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
87 views
hi,
i use a radwindow and a radgrid in a usercontrol.after radwindow clientclose,
$find("<%= RadGrid1.ClientID %>")
and
$find("<%= RadAjaxManager1.ClientID %>") return null.
i add usercontrol to the page in runtime using loadcontrol.
what should i do?
thanks
Sebastian
Telerik team
 answered on 19 Oct 2009
1 answer
154 views
For some reason my first editor on my page will not show modules no matter what I've tried.. does anyone have any idea why this is occuring?

  <telerik:RadTabStrip ID="radtabstrip1" runat="server" Skin="Web20" MultiPageID="RadMultiPage1"> 
                    <tabs> 
                        <telerik:RadTab Text="HTML"> 
                        </telerik:RadTab> 
                        <telerik:RadTab Text="TEXT"> 
                        </telerik:RadTab> 
                    </tabs> 
                </telerik:RadTabStrip> 
                <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0"> 
                    <telerik:RadPageView ID="RadPageView1" runat="server" Visible="true"> 
                        <telerik:RadEditor ID="HTMLEditor" OnClientLoad="OnClientLoad" EditModes="All"  
                            SkinID="BasicSetOfTools" Width="650" Height="460px" runat="server" Skin="Web20" 
                            ExternalDialogsPath="~/EditorDialogs/" EnableResize="false" > 
                            <modules> 
                                <telerik:EditorModule Name="RadEditorStatistics" Enabled="true" Visible="true" /> 
                                <telerik:EditorModule Name="RadEditorNodeInspector" Enabled="true" Visible="true" /> 
                                <telerik:EditorModule Name="RadEditorDomInspector" Enabled="true" Visible="true" /> 
                            </modules> 
                            <contextmenus> 
                                <telerik:EditorContextMenu TagName="A" Enabled="true"> 
                                    <telerik:EditorTool Name="Unlink" /> 
                                    <telerik:EditorTool Name="LinkManager" /> 
                                </telerik:EditorContextMenu> 
                                <telerik:EditorContextMenu TagName="*" Enabled="true"> 
                                    <telerik:EditorTool Name="PasteFromWordNoFontsNoSizes" /> 
                                    <telerik:EditorDropDown Name="PasteFromWord" /> 
                                    <telerik:EditorDropDown Name="PastePlainText" /> 
                                    <telerik:EditorDropDown Name="LinkManager" /> 
                                </telerik:EditorContextMenu> 
                                <telerik:EditorContextMenu TagName="IMG"> 
                                    <telerik:EditorTool Name="Cut" /> 
                                    <telerik:EditorTool Name="Copy" /> 
                                    <telerik:EditorTool Name="Paste" /> 
                                </telerik:EditorContextMenu> 
                            </contextmenus> 
                            <tools> 
                                <telerik:EditorToolGroup> 
                                    <telerik:EditorTool Name="SaveDesign" Text="Save" ShowText="true" ShowIcon="false" /> 
                                    <telerik:EditorTool name="ClearHTML" ShowText="true" ShowIcon="false" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="AjaxSpellCheck" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="FindAndReplace" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="Cut" /> 
                                    <telerik:EditorTool Name="Copy" /> 
                                    <telerik:EditorTool Name="Paste" /> 
                                    <telerik:EditorTool Name="PasteFromWordNoFontsNoSizes" /> 
                                    <telerik:EditorTool Name="FormatStripper" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="InsertHorizontalRule" ShowIcon="true" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="Undo" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="Redo" ShowIcon="true" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="LinkManager" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="Unlink" ShowIcon="true" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="InsertTable" ShowIcon="true" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="ToggleScreenMode" Text="Full Screen" /> 
                                </telerik:EditorToolGroup> 
                                <telerik:EditorToolGroup> 
                                    <telerik:EditorTool Name="FormatBlock" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="FontName" Text="Font" /> 
                                    <telerik:EditorTool Name="FontSize" Text="Size" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="JustifyLeft" Text="Left" /> 
                                    <telerik:EditorTool Name="JustifyCenter" Text="Center" /> 
                                    <telerik:EditorTool Name="JustifyRight" Text="Right" /> 
                                    <telerik:EditorTool Name="JustifyFull" Text="Both" /> 
                                    <telerik:EditorTool Name="JustifyNone" Text="None" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="ForeColor" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="BackColor" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="Bold" /> 
                                    <telerik:EditorTool Name="Italic" Text="Italic" /> 
                                    <telerik:EditorTool Name="Underline" Text="Underline" ShowIcon="true" /> 
                                </telerik:EditorToolGroup> 
                            </tools> 
                            <content></content> 
                             
                        </telerik:RadEditor> 
                    </telerik:RadPageView> 
                    <telerik:RadPageView ID="RadPageView2" runat="server" Visible="true"> 
                        <telerik:RadEditor ID="textEditor" OnClientLoad="OnClientLoadTextEditor" SkinID="BasicSetOfTools" 
                            Width="650px" Height="460px" runat="server" Skin="Web20" ExternalDialogsPath="~/EditorDialogs/" 
                            OnClientCommandExecuting="OnClientCommandExecuting" EditModes="Design" StripFormattingOptions="AllExceptNewLines" 
                            StripFormattingOnPaste="AllExceptNewLines" EnableResize="false"> 
                            <modules> 
                                <telerik:EditorModule Name="RadEditorStatistics" Enabled="true" Visible="true" /> 
                                <telerik:EditorModule Name="RadEditorNodeInspector" Enabled="true" Visible="true"/> 
                                <telerik:EditorModule Name="RadEditorDomInspector" Enabled="true" Visible="true" /> 
                            </modules> 
                            <tools> 
                                <telerik:EditorToolGroup> 
                                    <telerik:EditorTool Name="SaveDesignFromText" ShowText="true" ShowIcon="false" /> 
                                    <telerik:EditorTool name="ClearText" ShowText="true" ShowIcon="false" /> 
                                    <telerik:EditorTool Name="GetHtmlContent" Text="INSERT TEXT FROM HTML" ShowText="true" 
                                        ShowIcon="false" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="AjaxSpellCheck" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="FindAndReplace" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="Cut" /> 
                                    <telerik:EditorTool Name="Copy" /> 
                                    <telerik:EditorTool Name="Paste" /> 
                                    <telerik:EditorTool Name="PasteFromWordNoFontsNoSizes" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="Undo" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="Redo" ShowIcon="true" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="ConvertToLower" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="ConvertToUpper" ShowIcon="true" /> 
                                    <telerik:EditorTool Name="FormatStripper" ShowIcon="true" /> 
                                    <telerik:EditorSeparator Visible="true" /> 
                                    <telerik:EditorTool Name="ToggleScreenMode" Text="Full Screen" /> 
                                    <telerik:EditorTool Name="ImageManager" Enabled="false" Visible="false" /> 
                                    <telerik:EditorTool Name="ImageEditor" Enabled="false" Visible="false" /> 
                                    <telerik:EditorTool Name="ImageMapDialog" Enabled="false" Visible="false" /> 
                                    <telerik:EditorTool Name="LinkManager" Enabled="false" Visible="false" /> 
                                    <telerik:EditorTool Name="Unlink" Enabled="false" Visible="false" /> 
                                </telerik:EditorToolGroup> 
                            </tools> 
                        </telerik:RadEditor> 
                    </telerik:RadPageView> 
                </telerik:RadMultiPage> 

Rumen
Telerik team
 answered on 19 Oct 2009
3 answers
101 views

Hi,

I’ve discovered a bug in the editor version
2009.2 826.

 

Steps to reproduce:

  1. Go to HTML view
  2. Paste the following HTML into the editor:
    <table cellspacing="0" cellpadding="0">  
        <tbody> 
            <tr> 
                <td valign="top">  
                    <img width="24px" height="20px" src="http://www.telerik.com/App_Themes/ProductOverview/quotmark-left.gif" alt="" /> 
                </td> 
                <td> 
                    <a href="#left-item-1" style="font-family: arial, verdana, helvetica; color: #000000;  
                        font-size: 11px; text-decoration: none;">left item 1</a> 
                </td> 
            </tr> 
        </tbody> 
    </table> 
  3. Go to Design view
  4. Go to HTML view
  5. Now the “height” and “width” attributes of the IMG tag are duplicated. Also, they’ve lost the “px” indicator.

 

Is there a way to disable the HTML reformatting of the editor completely? If not, I would like to suggest it for a future version of the editor. For us, it’s very (very!) important to leave the HTML exactly as it is provided by us.


Thanks,
Ramon

Rumen
Telerik team
 answered on 19 Oct 2009
1 answer
155 views
I have a rad grid that has 3 columns  horizontally aligned.  I want the columns to be vertically aligned and the rows returned to be horizontally aligned.  The reason is that their is plenty of space vertically but only 3 columns horizontally. 
Shinu
Top achievements
Rank 2
 answered on 19 Oct 2009
1 answer
83 views
Hello,

The problem with Dynamic Data is that there is no visual element to indicate to the user that work is being performed. Is it possible to integrate the AjaxLoadingPanel into a standard Dynamic Data application to remedy this?  I am using the Futures Preview 4 bits.

Any help is appreciated.

James
Nikolay Rusev
Telerik team
 answered on 19 Oct 2009
1 answer
361 views
Hello,

    I am using Telerik 2009.2 
    I have a grid that is filled by an object data source. In the itemcommand event I insert a new row in the data table. 
    Unfortunately, Nothing that I do forces the grid to reload the list from the database. It grabs some values from the the new object inserted but not all of them. I tried rebind, force bind, etc, without success. 
 
   What can I do to reload the objects from the database? 



Thanks, 
Nikolay Rusev
Telerik team
 answered on 19 Oct 2009
1 answer
124 views
Hello,

I need to add a new record with default values each time the user click on add new record, without staying in edit mode, what is the best method.


Regards
CS
Shinu
Top achievements
Rank 2
 answered on 19 Oct 2009
1 answer
231 views
Hey,

I'm using a radtreeview control to map relations between 2 recordsets and I do it all in a single stored proc as specified in the example provided in the documentation.

I get the radtreeview working flawlessly, except for in one situation. The situation involves a parent and child sharing the same id which confuses the control somehow. The failing recordset would look like.

ParentID    ID    Title
null             1       Car
null             2       Motorcycle
1                1        Honda Civic
1                5        Ford Focus
2                3        Yamaha
2                6        Suzuki


radTreeView1.DataTextField =

"Title";

radTreeView1.DataFieldID =

 

 

"ID";

radTreeView1.DataFieldParentID =

 

 

 

"ParentID";

radTreeView1.DataSource = myResultSet;

radTreeView1.DataBind();

The italized record in the example where parentid and id are sharing the same value of 1 would throw an error "these columns don't currently have unique values." If I remove that record, then it will work.

This example should read if the parentid is null then make it the root element, then map all records with a parentid value to it's corresponding id value, but in this case it does not like the fact that I have a child and parentid matching even though the id field of the second level items should not matter one bit because it shouldn't be factored in the equation.

Thanks in advance.

 

 

 

 

Atanas Korchev
Telerik team
 answered on 19 Oct 2009
1 answer
73 views
Hi,

We build solution for our customer based on Sitecore Intranet Portal (SIP) CMS system (that has RadEditor 6.5.2 by default).

Editor works well on clean CMS, but recently we noticed that it doesn't work in IE (6,7) on developing solution, please see attached screenshot. Toolbars are not shown, and textarea is disabled, so it is not usable. But it works well in Firefox and Chrome.

We didn't changed any editor related folder/files, scripts or something, so it seems very strange. I compared html from both sites (clean CMS and one that is being developed), and it is basically the same except auto-generated IDs of html elements.
Just to mention, both servers (with clean and customer sites) have .NET 3.5 SP1 installed, but it is unclear what might be a source of the problem....
Please help to find a reason.
Rumen
Telerik team
 answered on 19 Oct 2009
1 answer
184 views
Is there a clientside event that I can access when the RadGrid goes into Edit mode or Insert mode when I am using a template for insertin/editing?
Shinu
Top achievements
Rank 2
 answered on 19 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?