Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
152 views
Hi,

Is it possible to select a text displayed on RadPanelBarItem? I turned off autopostaback for each panelbar item and want to achieve some kind of selectable behaviour of each subnode.

Regards
Rycho
Rycho
Top achievements
Rank 1
 answered on 23 Sep 2008
2 answers
105 views

I need to enumerate all instances of RadEditor control on the page.

Scenario: there are several text editors on the page and OK and Cancel buttons. When user presses Cancel button I'd like to check if there are any changes made by the user and warn the user that the changes will be lost.

I can check if editor content has been changed by the following piece of code:

 
var manager = editor.get_commandsManager();  
var length = manager.getCommandsToUndo().length;  
 
... 

The question is how to get each text editor instance on the page? I can use, for instance, OnClientLoad event to collect text editor instances in some collection on client side, however I suppose there can be some other way to do that using existing features of client-side API?

QualiWareUA
Top achievements
Rank 1
 answered on 23 Sep 2008
2 answers
190 views
Hi. I asked a similar question earlier where wanted to be able to find the controls in c# code-behind on a postback. Although it worked, I want to compare it with doing the same work but on the client side and in javascript. Can anyone help me with the javascript code to 'find' the calling control as well as find the values from the other five controls. Here is the situation...

I have a Grid with an Edit FormTemplate which has six controls of Type RadNumericTextBox all sitting inside a table.

The grid goes into edit mode and, as each textbox has data entered into it, I need to be able to find the other five, get their values and keep a running total which I'll be displaying elsewhere on the page.

How do I extract the value from the control that has fire its OnTextChanged client side event and how do I extract the value from the other five?

Can anyone help point me in the right direction.

Thanks in advance, Steve
Steve Y
Top achievements
Rank 2
 answered on 23 Sep 2008
3 answers
169 views

On clientside how can I tell if a child tab is selected when itterating the RadTabCollection

 function LoadSelected(sender, eventArgs)
    {
    var tab = eventArgs.get_tab();
   
    //If we don't have any child tabs, we'll exit
    var TabSubCount = tab.get_tabs().get_count();
    if ( TabSubCount == 0 ) { return false; }
  
   
    for (var i = 0; i < TabSubCount; i++)
        {
            How to tell if tab.get_tabs().getItem(i) is selected ?
             Something like
              alert(tab.get_tabs().getItem(i).selected);  
        }
    }

 

Yana
Telerik team
 answered on 23 Sep 2008
9 answers
224 views
Is there any way to disable dragging?

Any time a user goes to drag slide handle, (IE7) the page scrolls all over the place.  The sliders are great looking, but I don't think they'll put up with that.

Thanks,

- Brad
Svetlina Anati
Telerik team
 answered on 23 Sep 2008
6 answers
177 views
Hi

Dears,
                I have to need a skin of colorpicker , please provide me the Different skins,Skin is not showing with ajax technique, And tell what this problem ,where
i am missing something .

nad please tell how i can  attach image or code file with this message.

Thankx and regards 
Muhammad Khalid Latif   
 
Missing User
 answered on 23 Sep 2008
1 answer
112 views
Hi,

I am creating a timesheet web page that uses 2 timepickers in a user control (time in & time out). I do not want to load separate time view controls for each time picker as 2X4X7=56 timeview controls would have to be created.

I used the documentation to code a radTimeView and add it to a placeholde.controls collect then set the SharedTimeView property to the newly created radTimeView and everthing seems to be working OK but when I click on the popupbutton...no timeview.

Code for creating shared calendar:
Dim popTime As New RadTimeView
popTime.ID =
"sharedDynamicTimeView"
popTime.Skin = "Office2007"
sharedPopupPlaceHolder.Controls.Add(popTime)

Code for assigning popup:
uc.SharedTimeView = popUpTime
Where uc=usercontrol & I have a property in the control:
Public WriteOnly Property SharedTimeView() As RadTimeView
   Set(ByVal value As RadTimeView)
      Me.RadTimePickerIn.SharedTimeView = value
      Me.RadTimePickerOut.SharedTimeView = value
   End Set
End Property

There is no mention of any extra coding to get up the timeview window...so what do I do now ????

Regard
Roger
Roger
Top achievements
Rank 1
 answered on 23 Sep 2008
1 answer
69 views

I installed the Q2 2008 Rad ASP.NET AJAX controls, and based on this page, I figured it would create a single Telerik.Web.Ui.dll in the /bin directory. Instead, I got a /NET1 and /NET2 directory, each of which has a /bin beneath it with all a separate dll for each control.

The effect of this is that, when I went to add a grid to a page from the toolbox, it tried to use the RadGrid.Net2 assembly rather than the Telerik.Web.UI. Also, I am unable to use a popup edit form on that grid, since that assembly seems to have no knowledge of popup mode (only "EditForms" and "InPlace"). I did have an older version of the controls installed previously, so it could be a problem with my GAC, but I've since uninstalled them, leaving only Q2 2008.

Does anyone have an explanation for what I am doing wrong, and how I might fix it?

Sebastian
Telerik team
 answered on 23 Sep 2008
1 answer
92 views
Is it possible to use web service Page Methods for a load on demand RadComboBox instead of a traditional web service?

Thank you
Rosi
Telerik team
 answered on 23 Sep 2008
1 answer
107 views
Hi,
       I am using radchart in my project.In  this  chart i am binding the datasource,assigning values for X and Y axis all in the runtime.The view of the chart is Bar.Here i have the problem is the y axis value is show correctly but in the x axis i am binding the month value.So actually it want to show the month name but in the x axis only the numbers will show like 1,2 etc......Here my codings are........


 Dim strsql As String

                Dim ds As New DataSet
                Dim conn As String = ConfigurationManager.ConnectionStrings("ConnectionString").ConnectionString
                Dim sqlconn As New SqlConnection(conn)
                strsql = "SELECT Month, QtyProduced FROM vw_productionyr WHERE year = " & Date.Today.Year
                Dim da As SqlDataAdapter = New SqlDataAdapter(strsql, sqlconn)
                da.Fill(ds)
              
                RadChart1.Series(0).Clear()
                RadChart1.Series(0).DataXColumn = "Month"
                RadChart1.Series(0).DataYColumn = "QtyProduced"
                             
                RadChart1.DataSource = ds
                RadChart1.DataBind()

                For i As Integer = 1 To RadChart1.Series.Count - 1
                    RadChart1.Series(i).Clear()
                Next

Help me to solve this problem and all i want to do in the runtime only.
Ves
Telerik team
 answered on 23 Sep 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?