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

Is there any method to persist the client side changes after ajax like .trackChanges() and .commitChanges() for combobox?
Konstantin Dikov
Telerik team
 answered on 07 Jan 2015
6 answers
185 views
      As the form is in ContentPlaceHolder of ContentPlage I ikplement the logic like this........     


      ContentPlaceHolder contentPage = Page.Master.FindControl("ContentPlaceHolder2") as ContentPlaceHolder;
            RadButton radbutton1 = (RadButton)contentPage.FindControl("RadButton1"); 


after this the result in radbutton1  is null as it doesnt find the control RadButton1....

please help me in this
Gopi
Top achievements
Rank 2
 answered on 07 Jan 2015
2 answers
78 views
Hi
I am new to using Scheduler with Group By resources. I have created the page with all the necessary data. But the Scheduler displays multiple entries for the resources. 

You can see my multiple appointments  for resource Mary, though there is only one entry in the database
My Server side code as follows:

    Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
        If Not IsPostBack Then
            'Dim ParamCol = New ParameterCollection
            'ParamCol.Add("Date", Now)
            Dim ds As DataSet = zDataFactory.GetAppointmentListAll()
            RadScheduler1.SelectedDate = Convert.ToDateTime(Now)
            RadScheduler1.SelectedView = SchedulerViewType.DayView
            RadScheduler1.TimelineView.NumberOfSlots = 10
            RadScheduler1.DataSource = ds
            RadScheduler1.DataKeyField = "AppointmentID"
            RadScheduler1.DataStartField = "FromTime"
            RadScheduler1.DataEndField = "ToTime"
            RadScheduler1.DataSubjectField = "ServiceDescription"
            RadScheduler1.GroupBy = "Consultant"
            RadScheduler1.GroupingDirection = GroupingDirection.Horizontal
            
            Dim rt As New ResourceType("Consultants")
            rt.ForeignKeyField = "ConsultantID"
            rt.KeyField = "ConsultantID"
            rt.TextField = "ConsultantName"
            rt.Name = "Consultant"
            rt.AllowMultipleValues = False
            rt.DataSource =zDataFactory.GetConsultantList()
            RadScheduler1.ResourceTypes.Add(rt)

         End If
    End Sub

The data this is returned by the zDataFactory.GetAppointmentListAll()

Where it is going wrong?

Shanmugam Narasimhan
Top achievements
Rank 1
 answered on 07 Jan 2015
2 answers
132 views
I am looking to place a radbutton which will open a radWindow from the marker tooltip. I cannot seem to get this to work.

I am setting the tooltip from the code behind which works great except for this one thing. The radbutton will not even show up. I can use a basic HTML <a href> tag and that will show up but no server controls.
 
 the following shows the code that I am using
TEMPLATE = TEMPLATE + "<button type=\"button\" onclick=\"function openRWdrillDown(){ alert('test test');}\" name=\"" + city + "\">View Details</button>";


                //<telerik:RadButton ID=\"btnDetails\" runat=\"server\" OnClientClicked=\"openRWdrillDown\" CommandArgument=\"" + city.Replace(' ', '@') + "\" Text=\"View Details\" ButtonType=\"LinkButton\" />
                mark.TooltipSettings.Content = TEMPLATE;

any guide as to how to get this to work either JavaScript or server side.

Danail Vasilev
Telerik team
 answered on 06 Jan 2015
2 answers
121 views
Hi,

I have a site using splitters and multiple radpanes. One of those radpane contains a graph reports. After a user logins, we have javascript that resizes the radpane that contains the report based on the actual size of the report (a multipage). The radpane in question is nested inside a splitter.
Now it all works most of the time but occasionally we get null when we try to get the radpane object. This is the code below:

var reportpane = $find("<%= RadPaneReporting.ClientID %>");

We noticed it happens on IE9. We have tried it on IE8, and IE11 and there seems to be no issue. FYI, we are using version 2011.3.1115.35 of the Telerik controls.

Hope you guys can shed some light on this strange issue.
Thanks.

Ricky.
Vessy
Telerik team
 answered on 06 Jan 2015
1 answer
105 views
I have a RadPanelBar.
I want to add RadPanelItem with Item template and into this Item template I want to add other controls (checkboxes and etc..)
This is my javascript function :

function AddRadPanelItem
{
      var panelBar = $find("<%= pbMain.ClientID %>");
      var panelItem = new Telerik.Web.UI.RadPanelItem();
      panelItem.set_text("FIRST PANEL ");

     //here I want to add Item template and my other controls in panelItem ?

      panelBar.trackChanges();
      panelBar.get_items().add(panelItem);
      panelBar.commitChanges();    

}


Ivan Danchev
Telerik team
 answered on 06 Jan 2015
6 answers
229 views
Hello

  I am using RadGrid in our application, i am having issue with the Pager Style it is not align to the Right, it is defaulting to the left. I am using the latest Telerik.Web.UI.dll.  Here is the code as bellow:

<PagerStyle HorizontalAlign="Right" Position="Bottom" VerticalAlign="Middle" Mode="NumericPages">

</PagerStyle>


Thank you

Murali
Pavlina
Telerik team
 answered on 06 Jan 2015
4 answers
143 views
I'm struggling with the inline EditType in the RadEditor.  I need all of the tools at the bottom of the RadEditor, mainly because if they're above the RadEditor, it goes off the top of the page.  If I set the DockingZone to Bottom, none of the controls show up at all.  (as a side note, if you set the EditMode to one type only, the tools disappear if the DockingZone is Bottom as well)  It doesn't matter if I try to form this on the ASPX or programmatically.

Is there a way I resolve this issue?

Thanks for any help you may have.
Ianko
Telerik team
 answered on 06 Jan 2015
1 answer
78 views
Hi 
when i am viewing the grid in small monitor screen  iam getting the pager allignment issue as in the attachment
Please help
Thanks
karthik
Pavlina
Telerik team
 answered on 06 Jan 2015
3 answers
180 views
I've noticed that when one uses Opera 9.27 and clicks the Editor's body in a new message, the cursor does not show up.  It only shows up when one clicks on the first line in the editor. Clicking anywhere in the editor body does not show the cursor and makes it appear that the editor is read-only. 

How can I make it so an Opera user can click anywhere in the Editor's body for a new message (other than the first line) and have the cursor show up?

Note this is not an issue with IE 7.x or Firefox 2.x.
Ianko
Telerik team
 answered on 06 Jan 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?