Telerik Forums
UI for ASP.NET AJAX Forum
12 answers
154 views
Hi! RadWindow is a great component. However, the skins look terribly outdated nowadays. Does Telerik have any plans to add more trendy styles? E.g. border shadows, a close button stretching beyond the main window area, etc? And: Why can't we get the simple (and great) style of a Tooltip into a RadWindow.
Thanks, Stephan

PS: We use tooltips and modal dialogs heavily and in many cases either one can do the same stuff. These two components should simply be merged together. My opinion.



sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 14 May 2010
1 answer
60 views
I'm adding a treenode like this;

    function AddNode(parentNode) { 
      var tree = $find("<%= tvCategory.ClientID %>"); 
      tree.trackChanges(); 
      var node = new Telerik.Web.UI.RadTreeNode(); 
 
      node.set_text("New Node"); 
      node.set_imageUrl("<%= NodeImageURL %>"); 
 
      if (parentNode == null) { 
        tree.get_nodes().add(node); 
      } 
      else { 
        parentNode.get_nodes().add(node); 
        parentNode.expand(); 
      } 
 
      tree.commitChanges(); 
 
      node.BeginEdit(); 
    } 

I'd like to be able to initiate the editing of the newly added node in order for the user to easily change the node text; "New Node"

Is it possible, can you provide the js code?
Gordon
Top achievements
Rank 1
 answered on 14 May 2010
6 answers
360 views
I am trying to associate a label with radcombobox like in this example.
http://www.telerik.com/help/aspnet-ajax/combo-associate-label.html

it's working but when i change the selected item it doesn't change in the radcombobx, the first item is always shown as the selected.
i tried this example also in an empty project and it doesn't work.


<asp:Label ID="Label1" runat="server"
   
Text="Select a country"
   
AssociatedControlID="RadComboBox1_Input">
</
asp:Label>
<
input type="hidden" id="RadComboBox1_Input"
   
runat="server"
   
style="display:none" />
<telerik:RadComboBox ID="RadComboBox1" runat="server">
   
<Items>
       
<telerik:RadComboBoxItem Text="USA" />
       
<telerik:RadComboBoxItem Text="Germany" />
       
<telerik:RadComboBoxItem Text="Canada" />
   
</Items>
</
telerik:RadComboBox>

The problem i think is the <input /> field

Thank you.
Simon
Telerik team
 answered on 14 May 2010
1 answer
123 views
Hi I have a hierarchy grid of 3 level depth. All the three details table consists of Date time column. I want set the sort expression of Date Time in descending order by default. If i set like below column is not getting sorted in descending order.

Dim

 

 

sortExpr As New GridSortExpression

 

sortExpr.FieldName =

 

PresentationConstants.DATE_LBL

 

sortExpr.SortOrder =

 

GridSortOrder.Descending

 

radgrdPatChronology.MasterTableView.DetailTables(0).SortExpressions.AddSortExpression(sortExpr)

In Design for Date Time column i have set the DatetimeFormat property.
DataFormatString="{0:MM/dd/yyyy}"

Where am I going wrong?
Please help me in sorting the Date Time column in hierarchy grid.

 

Pavlina
Telerik team
 answered on 14 May 2010
1 answer
116 views
hi,

 can u Please me for DeleteAll in Hierarchical Grid when its in Linq based Automatic operation ( add,edit,delete ) ..

this is the error  I face..

Could not find a row that matches the given keys in the original values stored in ViewState.  Ensure that the 'keys' dictionary contains unique key values that correspond to a row returned from the previous Select operation.


below is my code for your Reference ..

  <script type="text/javascript">
         function RowContextMenu(sender, eventArgs) {
             var menu = $find("<%=RadMenu1.ClientID %>");
             menu.show(eventArgs.get_domEvent());

             document.getElementById("radGridClickedRowIndex").value = eventArgs.get_itemIndexHierarchical();
             var ownerTable = eventArgs.get_tableView();

             document.getElementById("radGridClickedTableId").value = ownerTable._data.UniqueID;
         }
                </script>     


  ------------------------------------------------------------------------------------------------------------------------

   int radGridClickedRowIndex;
        string UId;

        string[] indices = Request.Form["radGridClickedRowIndex"].Split('_');
        radGridClickedRowIndex = Convert.ToInt32(indices[indices.Length - 1]);
        UId = Request.Form["radGridClickedTableId"]; 


if (Convert.ToInt32(RadGrid2.SelectedItems.Count) > 1)
                {
                     
                    tableView = this.Page.FindControl(UId) as GridTableView;

                    foreach (GridDataItem item in tableView.GetSelectedItems())
                    {
                    (tableView as GridTableView as GridTableView).PerformDelete(item,true);

                    }

                    RadGrid2.MasterTableView.Rebind();

                }
Pavlina
Telerik team
 answered on 14 May 2010
2 answers
69 views
Is there any telerik control able to do some clientside JSON binding under asp.net 4.0?
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 14 May 2010
2 answers
107 views
I have a Hierarchical  grid which I want to export to Excel, this works fine but I would like to ignore the paging, but in doing so it will only print the details of the parent grid - am I missing something?

Thanks
Claire Thomson
Top achievements
Rank 1
 answered on 14 May 2010
1 answer
105 views
Hi, 

  I am using Telerik 2010.1.415.35 trial version. 
  I am using RadScheduler and RadCalendar controls in my page.
  I am getting below javascript error on click of week option from the ViewTabs of the RadScheduler:

          Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException:
                                                                                      Specified argument was out of the range of valid values.
          Parameter name: value

  I am binding a dynamic list to a resourcetype and I have set resource grouping based on this resourcetype through code in the
  codebehind. 
  Day view loads properly. But when the view is changed from dayview to week view or month view , the above error occurs  
  
  Error does not occur if the number of list items bound to the resourcetype is less may be below 10 - 15 resources.
  And the list contains only 55 resources.
  
  Please help me to solve this issue.

Thanks
 Babu

Peter
Telerik team
 answered on 14 May 2010
11 answers
355 views
Hi
I'm using the scheduler in timeline view and want to change the header.  Is there a template for the header?

Specifically I want to include new header text and change have the full date/time display in the header (while leaving the column headers in the view with time only header value) and leave the current navigation controls in place.

Thanks

Peter
Telerik team
 answered on 14 May 2010
2 answers
109 views

Dear Sir,

i m using Rad shceduler control and for Single Provider its working Fine. But When
I want to Show Multiple Doctor Appointment in Scheduler Control i just Set GroupId="DoctorName"  But it showing  Error rows.0.cells is null or not an object.
With out GroupBy="DoctorName" its working Fine. But Without GroupName How Can i Achive Multiple Doctor Appointment Case.
Please Help Me.
Thanks
Chandan Kumar.

aspx page coding.

<

 

telerik:RadScheduler GroupBy="DoctorName" AllowInsert="false" HoursPanelTimeFormat="hh:mm tt" OnAppointmentDataBound="RadScheduler1_AppointmentDataBound"

 

 

OnAppointmentCreated="RadScheduler1_AppointmentCreated" runat="server" ID="RadScheduler1"

 

 

Skin="Office2007" Height="545px" CustomAttributeNames="StatusId" Width="690px"

 

 

ShowFooter="false" SelectedDate="2010-03-18" DayStartTime="07:00:00" DayEndTime="21:00:00"

 

 

FirstDayOfWeek="Monday" LastDayOfWeek="Sunday" EnableDescriptionField="true"

 

 

ShowNavigationPane="false" OnAppointmentDelete="RadScheduler1_AppointmentDelete"

 

 

DataSubjectField="Subject" DataStartField="FromTime" DataEndField="ToTime" ShowAllDayRow="false"

 

 

AllowEdit="false" DataKeyField="AppointmentId" DataDescriptionField="Description" OnTimeSlotContextMenuItemClicked="RadScheduler1_TimeSlotContextMenuItemClicked"

 

 

AllowDelete="false" OnAppointmentContextMenuItemClicked="RadScheduler1_AppointmentContextMenuItemClicked"

 

 

OnNavigationCommand="RadScheduler1_NavigationCommand" OnTimeSlotCreated="RadScheduler1_TimeSlotCreated">

 

 

<AppointmentContextMenuSettings EnableDefault="false" />

 

 

<TimelineView UserSelectable="false" />

 

 

<AppointmentTemplate>

 

<%

# Eval("Subject")%>

 

 

<br />

 

 

<asp:Label runat="server" ID="Teacher" />

 

 

<br />

 

 

<asp:Label runat="server" ID="Students" />

 

 

</AppointmentTemplate>

 

 

<AppointmentContextMenus>

 

 

 

<telerik:RadSchedulerContextMenu runat="server" DataTextField="Status" DataValueField="StatusId"

 

 

ID="SchedulerAppointmentContextMenu" AppendDataBoundItems="true">

 

 

<Items>

 

 

<telerik:RadMenuItem Text="Copy" Value="Copy" />

 

 

<telerik:RadMenuItem IsSeparator="True" />

 

 

<telerik:RadMenuItem Text="Edit" Value="Edit" />

 

 

<telerik:RadMenuItem IsSeparator="True" />

 

 

</Items>

 

 

</telerik:RadSchedulerContextMenu>

 

 

</AppointmentContextMenus>

 

 

<TimeSlotContextMenus>

 

 

<telerik:RadSchedulerContextMenu runat="server" ID="SchedulerTimeSlotContextMenu">

 

 

<Items>

 

 

<telerik:RadMenuItem Text="New Appointment" Value="New" />

 

 

<telerik:RadMenuItem IsSeparator="true" />

 

 

<telerik:RadMenuItem Text="Paste" Value="Paste" />

 

 

</Items>

 

 

</telerik:RadSchedulerContextMenu>

 

 

</TimeSlotContextMenus>

 

 

<TimeSlotContextMenuSettings EnableDefault="False" />

 

 

</telerik:RadScheduler>

 

Peter
Telerik team
 answered on 14 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?