Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
91 views
Hi guys,

It's not hardly reproducable, but not obvious bug.
My scenario is:
1. Writing text with 5-10 lines pressing Ctrl+Enter for new line.
2. Start pressing Ctrl+Z.
Sometimes bug reproduces at once, sometimes several lines will be successfully removed before we suddenly get all text in editor selected.
Bug reproduces in IE7.
Does anybody have any ideas, what to do with it?

Sergey.
Rumen
Telerik team
 answered on 22 Jul 2008
3 answers
219 views

Hi,

I am trying to Bind Values to RadCombo Box Dynamically when we perform “SelectedIndexChanged” event.

But I want to perform this operation without postback.

I taken one small Example as like

<telerik:RadAjaxManager ID="RadAjaxManager2" DefaultLoadingPanelID="RadAjaxLoadingPanel1"

        runat="server">

        <AjaxSettings>

            <telerik:AjaxSetting AjaxControlID="RadComboBox1">

                <UpdatedControls>

                    <telerik:AjaxUpdatedControl ControlID="RadComboBox1" />

                </UpdatedControls>

            </telerik:AjaxSetting>

        </AjaxSettings>

    </telerik:RadAjaxManager>

    

   

    <table cellpadding="0" cellspacing="0" width="100%" border="1" style="border-color: Green">

        <tr>

           

            <td>

                <telerik:RadComboBox ID="RadComboBox1" Runat="server"

                    onselectedindexchanged="RadComboBox1_SelectedIndexChanged">

                </telerik:RadComboBox>

            </td>

        </tr>

       

    </table>

protected void Page_Load(object sender, EventArgs e)

    {

        if (!IsPostBack)

        {

            RadComboBox1.Items.Add(new RadComboBoxItem("One"));

            RadComboBox1.Items.Add(new RadComboBoxItem("Two"));

            RadComboBox1.Items.Add(new RadComboBoxItem("Three"));

            this.Label1.Visible = false;

        }  

 

       

    }

protected void RadComboBox1_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)

    {

        // Put a breakpoint here  

        RadAjaxPanel1.ResponseScripts.Add("alert('OnChangeEventWas Handled')");

        Label1.Visible = true;

 

    }

But I am nt able to do this …pls give some exaples on this.

Rosi
Telerik team
 answered on 22 Jul 2008
1 answer
182 views
Hi

I am using the FindAndReplace dialogs. In order to hide the Replace tab in the FindAndReplace dialog, I have copied the EditorDialogs directory from the RadControls installation to the author folder of my application and set the ExternalDialogsPath property of the Radeditor to the path referencing the above created folder. Below is the exact path 

ExternalDialogsPath

="~/app/authoring/author/EditorDialogs/EditorDialogsForLOs"

I have also added the below statement in the user control
this._tab._tabs[1].style.display = "none";

the above statement is added just below the statement
this._tab = $find("dialogtabstrip");

In the EditorDialogs folder I have created one more folder named EditorDialogsForLOs where we have the FindAndReplace.ascx user control file.

ExternalDialogsPath is pointing to the folder where I have copied the FindAndReplace.ascx user control. But when I build and install the application I don't see the user control file inthe location and also it is showing the Replace tab in the FindAndReplace popup. It perhaps is not pointing to the exact location and may be it is taking the default location from the dll.

Please let me know if the above procedure is correct. Can't I set the ExternalDialogsPath to the exact location of the FindAndReplace.ascx where ever it is?

Thanks,
Srinivas Vaidya.

Rumen
Telerik team
 answered on 22 Jul 2008
1 answer
134 views
How can I clone or make a copy of RadDock object in client side?

Pedro
Sophy
Telerik team
 answered on 22 Jul 2008
2 answers
120 views

Hello

I have explored the forums and help files, but I am unable to find an answer.

I have an application where I have a grid, which has a corresponding image button which when clicked exports the data to excel.
This works fine.

I have set this grid to edit via a Template Form.Within this edit form, I display various labels relating to the selected record.
I also have an embeded grid on this form whose data source is filtered according to the selected record, this grid has it's own related image button to enable export.

I wish to be able to click the image button on the edit form, and export this second grid. My problem is that I am unable to reference this second grid within the code behind of the onClick event of the image button.

VS2008 states that the second gid is undifined.

Any help please.!

(VS 2008 – Telerik AJAX – .NET 3.5)

Many Thanks

Bill Noble

Bill Noble
Top achievements
Rank 1
 answered on 22 Jul 2008
1 answer
179 views
Hi,

Is it possible to perform a spell check without user interaction and entirely on the server side?  I'd like to call a method that runs a spell check on a segment of text, and then return a list of misspelled words  Is this possible?

Thanks
George
Telerik team
 answered on 22 Jul 2008
4 answers
227 views
Hey

I had the previous version of Telerik controls, and the PastePlainText was not working so we had to put custom javascript in the code, now that i am trying to upgrade using the trail version of telerik before we purchase the new version, i have tried
<Telerik:RadEditor ID="radEditor1" Runat="server"
                                        Width="99%" Height="350px" EditModes="Design"
                                        Skin="WebBlue" StripFormattingOptions="All"
                                        ToolsFile="ToolsFile.xml" OnClientCommandExecuting="OnClientCommandExecuting" >
                                        </Telerik:RadEditor>
<script type="text/javascript">          
                                            function OnClientCommandExecuting(editor, commandName, oTool) {          
                                                    if (commandName == "Paste") {          
                                                            editor.fire("PastePlainText");       
                                                            return false;          
                                                    }              
                                            }
                                        </script>
but when i try to load html text from word into the editro control it is still taking all the html tags along with it.

In the old version with the custom javascript on the page the stripping was working but now it seems not to be, am i missing something?

Many thnaks in advance

I have also tried the the following javascript but it doesnt work either
function OnClientCommandExecuting(editor, args) {          
                                                    var name = args.get_name();
                                                    var val = args.get_value();
                                                    if (name == "Paste")
                                                    {
                                                            editor.fire("PastePlainText");  
                                                            args.set_cancel(true);
                                                    }              
                                            }

Zal
Zal
Top achievements
Rank 1
 answered on 22 Jul 2008
2 answers
142 views
Hi,

Im using the radconfirm with thread locking example from the code library.  this works great on a stand alone page but when i move the code so it is operating in a master page it will only work once then when the user trys to click again its like the button is dissabled.

Has anyone else had any issues like this?

Thanks
 
Georgi Tunev
Telerik team
 answered on 22 Jul 2008
1 answer
69 views
Hi All,

i have a problem with the radgrid....in vb.net the grid has a item command function but when i try to use this function in c# then it just doesnt work...is it coz there is no function available or am i just not doing it rite?

Plz help!
Shinu
Top achievements
Rank 2
 answered on 22 Jul 2008
1 answer
145 views
Hi all

Does anybody know if i can change the width of the rad editor toolbar, to make it longer than the content editor when using ToolbarMode="ShowOnFocus" ??

Carl
Rumen
Telerik team
 answered on 22 Jul 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?