Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
73 views
How to animate rad chart control in asp.net?
pls help..
Giuseppe
Telerik team
 answered on 22 Nov 2011
1 answer
71 views
Hello,

I am using radeditor on my company CMS. So far i have a template which contains 5 to7 editor on a single page this editor work excellent but one of our client upload a new template which contain 18 editor on single page and my client claim that page is not loading.
when i debug this problem so i got that. the problem is my client has slow internet connection so that 18 editor cannot load properly or taking a long time to load or sometime got an error connection timeout or connection reset etc.
please suggest me how to resolve this type of problem where internet connection is slow. Is it possible that, all 18 editor load like single editor means send single request on server so that connection timeout error or these type of error never occur and loading fast.
Rumen
Telerik team
 answered on 22 Nov 2011
3 answers
65 views
Hi All,

I have a doubt regards get the tag name by click in editor content.
In editor , i am able to get the tag name by the below method

editor.attachEventHandler(

 

"click", function (e) {

 

 

 

alert(e.srcElement.nodeName);

 

 

});

But i need to get tag for below ,
<Store>dfg fdg</Store>
WHen i click inside / over the text "dfg fdg" (i.e.,Inside the editor content).i want to get the tage name "Store".Similar the node inspector.

It working for only HTML tags.
I know RadEditor is not xml Editor. But i need to get the custom tag.

Is any possibility to get the current cursor position to find the text or Kindly explian detail what function done by click the cursor in editor content shows the breadcrumb in editor's footer (i.e., Store > )?

Kindly expect your co-operation regards this ASAP.

 

Rumen
Telerik team
 answered on 22 Nov 2011
1 answer
59 views

Hi

Is it possible to have the GridClientSelectColumn check box take on the skin look?

In your examples:
http://demos.telerik.com/aspnet-ajax/grid/examples/client/selecting/defaultcs.aspx

Select Metro, the check boxes do not have the Metro look.

Thanks
Russell Mason

Milena
Telerik team
 answered on 22 Nov 2011
2 answers
141 views
Hi

I have a radgrid that has a GridBoundColumn with the ability to be searched. I want to include a list of links outside the grid that provides an alphabet for the user to search by.

This alphabet would be the equivalent to typing 'A' (for example) into the search box and clicking 'Starts With'. Correct me if I'm wrong but I think the best approach for this would be to somehow use javascript to simulate this action.

When the user clicks the 'A' link I want to find the search textbox and put an 'A' in it and do filterButton.click(). However, I cannot find the search button in the grid because it doesn't exist in the page. It gives me an error that it can't find the textbox I'm searching for.

Any suggestions welcome

Thanks
Corina
Top achievements
Rank 1
 answered on 22 Nov 2011
1 answer
78 views

My Editor background is using my site's background. Ugh.

http://www.telerik.com/help/aspnet-ajax/editor-content-area-appearance-problems.html
I want to override. I've looked this up and I find code-in-front but want to use codebehind. It should be something like this, but this says the EditorCssFile is not part of the collection.

myEditor.CssFiles.EditorCssFile = resolvePath & "Scripts/RadEditorStyleSheet.css"

 I found this link:
http://www.telerik.com/help/aspnet/editor/radeditor-telerik.webcontrols.radeditor-cssfiles.html
which recommends doing this:
RadEditor1.CssFiles = New String(2) {"~/styles/1.css", "~/styles/2.css"}

But this says "CssFiles" is read only. So it appears this page is obsolete?

How can I load this programmatically?

thanks!



Rumen
Telerik team
 answered on 22 Nov 2011
1 answer
61 views
Greetings,

I'm not sure if this is a reported bug yet or not, however, my company uses version the following version of Telerik Controls:

Telerik.Web.UI_2011_2_809

Currently we experience an issue with the following browser/operating system combo:  IE8 and Win7 Ultimate.

The issue is when using the RadEditor's image manager, when a user tries to upload an image, the Select button is missing.  If you click where it should be, it works.  Once more, once an image is picked, the text does not show up in the text box for it.  This issue does not show up in any other browser or operating system combo.  It was proven to be a bug due that it was on your site originally, however, it may have been corrected since the newer version has come out.  Just not sure if it is a bug still or not.  Thanks.

Kindest Regards,
Chad Johnson
Rumen
Telerik team
 answered on 22 Nov 2011
10 answers
177 views
Hi all:
   I use dockzone to load docks in. each dock is user control. I have a dropdownlist which user select and then it will load the existing dockstates

the issue now is that the dock order mess up after I switch dropdownlist  selection. example: for dropdownlist, it has value "a" and value "b". when I select value "A", it will load dockstate1 and then when I select value "b", it will load dockstate2 from database. now I select  value "A"  and the dockstate1 is loaded and docks are ordered correctly. then I change some dock's postion by drag and drop. every thing works fine and dock index saved to database with correct number. then I select value "b" so dockstate2 is loaded. Then  I reselect value  "a", the dockstate1 is reloaded from database with correct index but the dock orders are changed. they order with the Alphbetic instead of the previous order. I found the dock/state index  value changed after   RadDockLayout1.GetRegisteredDocksState()  is called. why the dock index change ? Please see rough codes

any suggestion?

Thanks
Helena
Protected Sub RadDockLayout1_LoadDockLayout(ByVal sender As Object, ByVal e As DockLayoutEventArgs) Handles RadDockLayout1.LoadDockLayout
        'Populate the event args with the state information. The RadDockLayout control
        ' will automatically move the docks according that information.
        'If isNeedReload Then
        Dim state As DockState
        Dim intIndex As Integer
  
            Dim serializer As Script.Serialization.JavaScriptSerializer = New Script.Serialization.JavaScriptSerializer()
            Dim stateList As List(Of DockState) = Me.RadDockLayout1.GetRegisteredDocksState()
              If Not stateList Is Nothing Then
                For Each state In stateList
                     e.Positions(state.UniqueName) = state.DockZoneID
                    e.Indices(state.UniqueName) = state.Index
                Next
            End If
        End If
    End Sub
  
  
  
  
Protected Sub RadDockLayout1_SaveDockLayout(ByVal sender As Object, ByVal e As DockLayoutEventArgs) Handles RadDockLayout1.SaveDockLayout
        Dim strMethodName As String = Me.strClassName & "RadDockLayout1_SaveDockLayout"
        Try
  
     Dim stateList As List(Of DockState) = Me.RadDockLayout1.GetRegisteredDocksState()
                
//on stateList , the dock index changed ????
  
End sub              
  
  
    Protected Sub RadComBoxView_SelectedIndexChanged(ByVal o As Object, ByVal e As Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs) Handles RadComBoxView.SelectedIndexChanged
        Dim strMethodName As String = Me.strClassName & "RadComBoxView_SelectedIndexChanged"
        Try
  
            If Not Me.RadComBoxView.SelectedItem Is Nothing Then
  
                'reset SystemUserWidgetID
                SystemUserWidgetID = -1
                Me.CurrentViewTypeID = Me.RadComBoxView.SelectedItem.Value
  
                'need to load WidgetState based on viewid
                Me.GetUserWidgetState()
               CreateWidgetStates()
  
End if                         
           End Sub
 
Slav
Telerik team
 answered on 22 Nov 2011
2 answers
88 views
Hi,

I have a radcombobox declared like this:
<telerik:RadComboBox ID="RadComboBox1" Runat="server" Width="300"
    AppendDataBoundItems="True">
    <ItemTemplate>
        <div class="item c1"><asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("URLImage") %>' /></div>
        <div class="item c2"><%# Eval("Imagename") %></div>
    </ItemTemplate>
</telerik:RadComboBox>

 and I'm populating whith this code:

RadComboBox1.DataSource = getimages()
Function getimages() As List(Of Fotos)
    Dim ofile, foto
    Dim ObjetoFSO = Server.CreateObject("Scripting.FileSystemObject")
    Dim ObjetoFolder = ObjetoFSO.GetFolder(Server.MapPath("../images/works"))
    Dim ofotos = New List(Of Fotos)
 
    For Each ofile In ObjetoFolder.Files
        foto = New Fotos()
        foto.Imagename = fichero.name
        foto.URLImage = ResolveUrl("~/Images/works/thumbs/" & ofile.name)
        ofotos.Add(foto)
    Next
 
      file= Nothing
    ObjetoFolder = Nothing
    ObjetoFSO = Nothing
 
    Return ofotos
End Function
Everything seems to be allright butI'm unable to select an item . The dropdown show the elements but in the displayed text I always have:
"SampleProject.WebForm13+Fotos"

Am I doing something wrong? Where is my mistake?

Thanks!
Perico
Top achievements
Rank 1
 answered on 22 Nov 2011
8 answers
153 views
I have a combo box with items that allow a user to select a built-in date range or specify a custom date range (see attached ff.jpg for example). When an Item is selected, I postback and perform various funciions depending on the selected date range. If the selected Item is "Custom dates..." or "Custom to date...", I display a tooltip server-side which allows users to enter a custom date range. Everything works fine... however, if the user enters a custom date range by selecting "Custom dates...", they cannot then go and alter their date range because they can't re-select "Custom Dates...". It is already selected. They have to choose another item in the list and then select "Custom dates...". Since the SelectedIndexChanged event is not fired if you select an item which is already selected, Is there some way to handle an item_clicked, or similar event instead of SelectedIndexChanged server-side? Ideally, I would retrieve the value of the item clicked in this event handler and only perform the necessary functions if it corresponds to the "Cusomt Dates..." or "Custom to date..." items. Otherwise, would perform my functionality in the SelectedIndexChanged server-side handler.
Dimitar Terziev
Telerik team
 answered on 22 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?