Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
163 views
I have a hierarchical grid that has many top level rows, each top level row can be expanded to display 1-many child level rows. My question is the "Client edit with batch server Update" supported at the detail level (child level). Also the demo for "Client edit with batch server Update" requires a double click in the cell to edit. Can all the rows in a particular column be set to edit when the child rows are displayed.

The Attached image is a sample of what I'm doing and I would like to edit the values in the second column (Value1-n) in batch on the client.

Is there a sample available that would demonstrate this functionality.

Thanks

Marc 
Marin
Telerik team
 answered on 27 Jun 2011
9 answers
114 views
I have a scheduler hooked up to a SQL datasource, it shows the appointments fine but when I try and create or edit an appointment the dropdown pickers for the Start Date / Time do not appear, instead I have to use the arrow keys to scroll up and down to set them.

Do I have to set this functionality somewhere?

I am going through the Apress book and examples but I can't see anything about it.

<telerik:RadScriptManager ID="RadScriptManager" runat="server"></telerik:RadScriptManager>
<div>
 
    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Height="200px" Width="300px">
 
        <telerik:RadScheduler ID="RadScheduler1" runat="server"
            DataDescriptionField="Description" DataEndField="EndTime"
            DataKeyField="EventsID" DataSourceID="SqlDataSource1"
            DataStartField="StartTime" DataSubjectField="Subject">
        </telerik:RadScheduler>
 
    </telerik:RadAjaxPanel>
 
    <asp:SqlDataSource ID="SqlDataSource1" runat="server"
        ConnectionString="<%$ ConnectionStrings:PenDataConnectionString %>"
        SelectCommand="SELECT * FROM [Events]"></asp:SqlDataSource>
 
</div>



 
Plamen
Telerik team
 answered on 27 Jun 2011
2 answers
121 views
Hi All,

  I have two listboxes. I can transfer the items from left listbox to right side listbox. I just don't want the items that are moved from left listbox to right listbox to be removed from the left listbox.

I mean all the items that I am originally displaying in the left listbox should keep displaying even if i transfer the items from left listbox to right listbox.


Is it possible to accomplish this.

Any help will be appreciated.
Anjali
Top achievements
Rank 1
 answered on 27 Jun 2011
3 answers
330 views
hi, hello i have 10 items and each one 1 RadPanel. 

When I raise the click event on the server side and onIntemClick a grid is bind inside it. everything works fine.

When I have many panels bar open the page becomes very long. When I click to expand the Panel Bar, the Page  move for a moment at the beginning and then it is repositioned on the panel giving a curious effect "Table Tennis". The URL appears a strange # as Mypage.aspx #. This does not occur WITHOUT the RadAjaxPAnel as with the Full post back you can not see the effect of expansion.

this does not happen if the size of the panel bars does not exceed the length of the page.  How can we remove this "swap" of the page?

Dimitar Terziev
Telerik team
 answered on 27 Jun 2011
1 answer
96 views
Hi,
I want to know if there is a way to see all threads posted by myself. Thanks.
Atanas
Telerik team
 answered on 27 Jun 2011
2 answers
89 views
Hi, 

I am currently using Combobox to select records to edit in the FormView. 

I want to know if there are any way for me to create next/previous button and possibly first/last button

I tried different methods such as selectedvalue, selectedindex, selectitem, but it's not working

protected void RadButton12_Click(object sender, EventArgs e)
{
    RadComboBox1.SelectedValue = RadComboBox1.SelectedValue + 1;
}

Any help would be greatly appreciated. 
Whanksta
Top achievements
Rank 1
 answered on 27 Jun 2011
1 answer
79 views
Hello,

  I have a grid in my Page. In the first column i set an image using Item Template . i want to display a tooltip for this Image . The Tooltip should be in 200x200 size. I set the ImageID as TargetControl ID of this ToolTIp.. It didnt work. The ToolTip is not displayed.
Svetlina Anati
Telerik team
 answered on 27 Jun 2011
1 answer
104 views
I am using radScheduler in a typical web form page with server side binding to a generic list. I use timeline view only.
In client side's "OnClientAppointmentResizeEnd" javascript event I need to change the subject of the appointment to the new duration. It will help the user to clearly see the change she did.
I am using the following code.
function OnClientAppointmentResizeEnd(sender, args) {
    var start = args.get_appointment().get_start();
    var end = args.get_targetSlot().get_endTime();
    var appDuration = Math.ceil((end.getTime() - start.getTime()) / (60000)); // show in minutes                       
    appointment.set_subject(appDuration);
    //alert(appDuration);
}
The above works well with web service binding and the user can see the subject of the appoinment changes to the new duration as she resizes the appointment. But this does not work (appointment subject change is not visible) with server side binding.
Any ideas apart from using AppointmentUpdate server side event?
Thanks and regards
Kushil
Peter
Telerik team
 answered on 27 Jun 2011
1 answer
404 views
I have a UserControl that implements IPostBackEventHandler and I have several problems:

void IPostBackEventHandler.RaisePostBackEvent(string eventArgument)
{
    if (eventArgument.Equals("Refresh", StringComparison.InvariantCultureIgnoreCase))
        Refresh();
}

1) RadAjaxManager Property Builder does not list my control. I must add it manually in the Page_Load event.
2) When I initiate an ajax postback in javascript with the following code it does a normal postback (not ajax postback):
<%= Page.GetPostBackEventReference(FormView.FindControl("anotaciones"), "Refresh") %>

I solved the problem with two "not elegant" solutions:

1) By ajaxfing the whole FormView (totally inefficient!)
2) Or by putting the usercontrol in a RadAjaxPanel and then implementing the Ajax_Request event:
((sender as Control).FindControl("anotaciones") as Anotaciones).Refresh();

Is this a common practice? Or should RadAjaxManager work?
Thanks a lot!
Maria Ilieva
Telerik team
 answered on 27 Jun 2011
3 answers
81 views
Hello,
here is my sample code,

DataTable

 

 

dt = new DataTable();

 

dt.Columns.Add(

 

"Programs");

 

dt.Columns.Add(

 

"Values");

 

 

dt.Rows.Add(dt.NewRow());

dt.Rows[0][

 

"Programs"] = "ABC";

 

dt.Rows[0][

 

"Values"] = "10";

 

dt.Rows.Add(dt.NewRow());

dt.Rows[1][

 

"Programs"] = "DEF";

 

dt.Rows[1][

 

"Values"] = "20";

 

dt.Rows.Add(dt.NewRow());

dt.Rows[2][

 

"Programs"] = "GHI";

 

dt.Rows[2][

 

"Values"] = "30";

 

dt.Rows.Add(dt.NewRow());

dt.Rows[3][

 

"Programs"] = "JKL";

 

dt.Rows[3][

 

"Values"] = "40";

 

dt.Rows.Add(dt.NewRow());

dt.Rows[4][

 

"Programs"] = "MNO";

 

dt.Rows[4][

 

"Values"] = "50";

 

dt.Rows.Add(dt.NewRow());

dt.Rows[5][

 

"Programs"] = "PQR";

 

dt.Rows[5][

 

"Values"] = "60";

 

 

RadChart3.DataSource = dt;

RadChart3.DataBind();

for the above code I get the barchart, But I am not getting the Programs names like abc, def as axis lable value.

Instead of 1,2,3..6 I want abc, def etc. please someone help me.

Evgenia
Telerik team
 answered on 27 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?