Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
142 views
Two questions:

1) How do you get the word and char count to update after every character typed instead of just when you click inside editor with mouse?

2) For some reason the width of radeditor is set in stone, otherwords I try to change the width and does not change?

<tr>
                                <td>
                                    <telerik:RadEditor ID="tbBody" runat="server" Skin="Web20"
                                        EditModes="Design" ToolbarMode="Default" EnableResize="false"
                                        Width="300px" Height="400px"
                                        ToolsFile="~/Editor/BasicTools.xml" ToolsWidth="310px"
                                        CssClass="RadEditor"
        
                                        >
                                       
                                       <Modules>
                                          <telerik:EditorModule Name="RadEditorStatistics" Enabled="true" Visible="true"  />
                                       </Modules>
                                    </telerik:RadEditor>
                                </td>
                            </tr>
Rumen
Telerik team
 answered on 04 Sep 2009
3 answers
410 views
Hi:
Does Telerik have something like the Ajax-Toolkit ModalPopupExtender?  Something that works like a hidden modal panel (not RadWindow).
Phil
Georgi Tunev
Telerik team
 answered on 04 Sep 2009
1 answer
66 views
Hi All,

I have one application and my client needs rich treeview control as same as telerik Asp.net ajax treeview control.
But my budget is very low so I cant buy whole toolkit of asp.net ajax control.

So, is it possible that I can purchase only treeview control???

If yes then what would be the charge for the same.
Please reply me its very very urgent

Regards,
Trayko Stoilov
Telerik team
 answered on 04 Sep 2009
0 answers
65 views
hi,

i have an image button in master page. Rad ToolTip is opening while pressing over the image button option. User control having a textbox and button Inside the toll tip for search operation.

If a user will press over the button by writing something, contents will show.

Contents are showing by mouse click over the button.

But problem is, automatically comming into end session (logging out) instead of showing contents by pressing over the enter key.....

Enter key is working after setting focous into the button.


please check the above problem.


Nirakar.
NIRAKAR
Top achievements
Rank 1
 asked on 04 Sep 2009
1 answer
448 views
I'd like to create a function to request user to enter a text message to describe the purpose of making change to the content in RadEditor. Could someone help me please? Here's the codes I've got so far:

protected void RadAjaxManager1_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e)  
        {  
            if (e.Argument != "Save")  
            {  
                return;  
            }  
 
            //Some codes to save content comes here...  
            //...  
         } 

And here is my codes in the client

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Editor.aspx.cs" Inherits="ESS.Editor" %> 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head id="Head1" runat="server">  
    <title><%=GetTitle() %></title>  
      
    <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">  
       <script type="text/javascript">  
           function ajaxRequest(operation)  
           {  
              var ajaxManager = $find("<%=RadAjaxManager1.ClientID %>");  
              ajaxManager.ajaxRequest(operation);  
           }  
       </script> 
    </telerik:RadScriptBlock>   
 
        <script type="text/javascript">  
            function OnClientLoad(editor, args)   
            {  
                editor.fire("ToggleScreenMode");  
            }  
    </script> 
 
    
</head> 
<body> 
    <form id="form2" runat="server">  
 
        <telerik:RadScriptManager ID="ScriptManager1" runat="server" EnableTheming="True"/>  
 
        <div style="text-align: center"/>  
          
        <telerik:RadAjaxManager ID="RadAjaxManager1"   
                                runat="server"   
                                OnAjaxRequest="RadAjaxManager1_AjaxRequest">  
                                </telerik:RadAjaxManager> 
          
        <telerik:RadEditor  ID="RadEditor1"   
                            Runat="server"   
                            OnClientLoad="OnClientLoad" Height="500px" Width="100%">  
                            <Content> 
                            </Content> 
            <CssFiles> 
                <telerik:EditorCssFile Value="ESS.css" /> 
            </CssFiles> 
        </telerik:RadEditor> 
          
        <script type="text/javascript">  
            RadEditorCommandList["Save"] = function(commandName, editor, oTool)  
            {  
                ajaxRequest("Save");  
            }  
            RadEditorCommandList["Cancel"] = function(commandName, editor, oTool)   
            {  
                ajaxRequest("Cancel");  
            }  
        </script>    
          
        </form> 
</body> 
</html> 
 
Rumen
Telerik team
 answered on 04 Sep 2009
1 answer
68 views
Is this possible that I can purchase your Ajax Control only? And how much it cost?
Trayko Stoilov
Telerik team
 answered on 04 Sep 2009
3 answers
202 views
Is there a way to be able to set the onblur and onfocus events of the items in the radlistbox? 

Essentially, my goal is to be able to capture on the entire onblur event of the RadListBox.  I noticed when i added the onblur to the listbox, it fired when i was going through the items in the list.  Also, a suggestion is that the behavior I've observed really shouldn't be the radlistbox onblur since the control is somewhat of a package deal to the oblivious developer.

Thanks,
sash
Genady Sergeev
Telerik team
 answered on 04 Sep 2009
1 answer
154 views
Hi,

I have a strange behavior in the multi-select ListBox. If I select two items, then click whatever I have for submit button, the SelectedItems on the server side carry 2 items, as they should. Then I click on one of the selected items. Visually this de-selects the second item. However when request goes to the server, SelectedItems still have two items previously selected. If I unselect the second item by clicking and holding Ctrl key, it works fine. Please advice if there is any way to fix that.

Thank you,

Irene
Genady Sergeev
Telerik team
 answered on 04 Sep 2009
5 answers
186 views
I have been using a slightly modified version of the technique discussed in this video to filter on enter
http://telerikwatch.com/2008/09/telerik-watch-minute-enhancing-radgrid.html

For example, this technique allows a user to type "foo*" and press enter to display only values in that column that begin with "foo".

I would like to use this same technique for GridNumericColumn so that a user could type "> 1" to display all values greater than 1.  The problem is that GridNumericColumn renders a RadNumericTextBox for the filter and you cannot type ">" nor any other useful filtering character.

I am binding to reporting data and cannot know the columns ahead of time nor their datatypes.

Is there a way to force GridNumericColumn to use an asp TextBox like GridBoundColumn does?  Or any other clever solution?

Thanks in advance.

Chris
Sebastian
Telerik team
 answered on 04 Sep 2009
2 answers
99 views
hi, we use FormBaseAuthentication in WSS 3.0.

I create a "new user" aspx page to let new user to create a profile. We want to use Teletik control (Panel, textbox, ...) in this page.
I follow the great article to enable Telerik and .net 3.5 on WSS. I try with the webparts example that you provide, it work good. But now I try to add some telerik control to my custom NouvUsager.aspx. If I simply drag and drop a telerik control on my aspx page, deploy it and try, I god a "could not load assemblies" error. (but the Telerik.web.ui.dll are in the GAC). 

my aspx code without the reference to telerik:
<%@ Assembly Name="Microsoft.SharePoint.ApplicationPages, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%> 
 
<%@ Page Language="vb"   
    Inherits="ExtranetArbaultWssAddon.NouvUsager, ExtranetArbaultWssAddon, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d71c63e255e32165"   
    MasterPageFile="simple.master"      %> 
 
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>   
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>   
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>   
<%@ Import Namespace="Microsoft.SharePoint" %> 
 
<asp:Content ID="Content5" ContentPlaceHolderId="PlaceHolderMain" runat="server">  
    <telerik:RadTextBox ID="RadTextBox1" runat="server">  
    </telerik:RadTextBox> 
</asp:Content> 

My vb class linked in the Inherit section:
Imports System  
Imports System.Runtime.InteropServices  
Imports System.Web.UI  
Imports System.Web.UI.WebControls  
Imports System.Web.UI.WebControls.WebParts  
Imports System.Xml.Serialization  
 
Imports Microsoft.SharePoint  
Imports Microsoft.SharePoint.WebControls  
Imports Microsoft.SharePoint.WebPartPages  
 
Imports Telerik.Web.UI  
 
Partial Public Class NouvUsager  
    Inherits Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase  
 
    Protected Overloads Overrides ReadOnly Property AllowAnonymousAccess() As Boolean 
        Get 
            Return True 
        End Get 
    End Property 
    Protected Overloads Overrides ReadOnly Property AllowNullWeb() As Boolean 
        Get 
            Return True 
        End Get 
    End Property 
 
    Private Sub Page_Init(ByVal sender As ObjectByVal e As System.EventArgs) Handles Me.Init  
 
        'Ajout du scrip manager au besoin  
        Dim scriptManager As RadScriptManager = RadScriptManager.GetCurrent(Me.Page)  
        If scriptManager Is Nothing Then 
            scriptManager = New RadScriptManager  
            Me.Page.Form.Controls.AddAt(0, scriptManager)  
        End If 
 
 
        Page.ClientScript.RegisterStartupScript(GetType(NouvUsager), Me.ID, "_spOriginalFormAction = document.forms[0].action;_spSuppressFormOnSubmitWrapper=true;"True)  
        If Me.Page.Form Is Nothing Then 
            Dim formOnSubmitAtt As String = Me.Page.Form.Attributes("onsubmit")  
            If Not String.IsNullOrEmpty(formOnSubmitAtt) AndAlso formOnSubmitAtt = "return _spFormOnSubmitWrapper();" Then 
                Me.Page.Form.Attributes("onsubmit") = "_spFormOnSubmitWrapper();" 
            End If 
        End If 
 
        Dim test As New RadTextBox  
        Me.Controls.Add(test)  
 
    End Sub 
Like you can see at the end of the init page, I add a radTexbox (like in the webpart example) but nothing appear on the form. But with this code not error are raised.

Question:
1- It ok to replace the GetType(Webpart1) to GetType(NouvUsager) in this:
Page.ClientScript.RegisterStartupScript(GetType(NouvUsager), Me.ID, "_spOriginalFormAction = document.forms[0].action;_spSuppressFormOnSubmitWrapper=true;"True)

2- How can I add with drag and drop control to my aspx page without the could not load assemblie error?
3- Do you have a good sample for creating a complex ascx (usercontrol) with some Telerik control added into a webpart?

Thanks
Sebastian
Telerik team
 answered on 04 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?