Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
94 views
Hi,
There are  two chart control on the page.
I want to make the two chart align.
But i didn't find the property to set the label width or others to make the two chart align.

Do you have any suggestions about this ?

Best regards.


Petar Marchev
Telerik team
 answered on 05 Dec 2011
5 answers
249 views

Requirements

RadControls version 2011
.NET version 4.0
Visual Studio version 2010
programming language C#
browser support

all browsers supported by RadControls


PROJECT DESCRIPTION
in this demo, You can able to set the attribute or properties of the other controls in Insert or Edit mode using Jquery.
in addition, I already implemented code for based one combobox's value, enable/Disable the other radcomboboxs in Insert/Edit Mode.
It was worked for Inline and editform mode.

Let me know if any concern.

Thanks,
Jayesh Goyani
Tsvetina
Telerik team
 answered on 05 Dec 2011
1 answer
126 views
I have the problem Filtering By ListTextField for GridDropDownColumn
(http://www.telerik.com/help/aspnet/grid/grdfilteringbylisttextfieldforgriddropdowncolumn.html)
but i use the HeaderContextMenu.


i tryed  without  success


Can you help me?


 
switch (e.CommandName.ToLower())
           {
               case  "headercontextmenufilter":
                   Triplet headercommand = (Triplet)e.CommandArgument;
                   Pair command = (Pair)headercommand.Second;
 
                   if (headercommand.First.ToString().ToLower() == "fg")
               {
                   e.Canceled = true;
                  /// GridFilteringItem filter = (GridFilteringItem)e.Item;
                   GridHeaderItem filter= (GridHeaderItem)e.Item;

Lasly
Top achievements
Rank 1
 answered on 05 Dec 2011
1 answer
37 views
I'm trying to find an simple way of having about 20 combobox filters for a grid that only displays about 5 columns.  Our original grid just had a seperate filter section outside of the grid, but that is difficult to manage.  Is there a way to do this within radgrid?
Andrey
Telerik team
 answered on 05 Dec 2011
1 answer
93 views
Hello!
I am trying to export to rtf some content using radeditor. I have some labels and a grid.
i can export it with no problems, but when i open the rft on microsoft word i get the message that a table is damage and when i open it on wordpad, the content is empty.

Can i export grid to rtf with radeditor??

thanks
Rumen
Telerik team
 answered on 05 Dec 2011
3 answers
93 views
Hello!
i want to know if it is possible to export images and tables to rtf using radeditor. I've tried to export tables but once it is  exported, the table does not have a format, the lines don't appear and the content looks  like there is a letter for row. I attached a picture where you can see how a table looks like when it's exported

Is it  possible to export images and tables to rtf using radeditor?

thanks in advance!
Rumen
Telerik team
 answered on 05 Dec 2011
3 answers
144 views

After upgrading a web application to use the latest update, the AppointmentTemplate now show the delete cross. This had been disabled and replaced with custom functionality (see below). As a result, this overlaping delete cross makes the custom functionailty inopperable. As soon as I revert the project back to an older version of the Telerik controls, everything works as it it's supposed to.

 

         <AppointmentTemplate>
            <div class='rsCustomAppointmentContainer <%# Eval("Fullname") %>'>
               <strong><%# Eval("Fullname")%></strong>
               <asp:HiddenField ID="hidStatusId" runat="server"
                  Value='<%# Eval("StatusId") %>' />
            </div>
<div style="text-align: right;">
<asp:Button runat="server" ID="Button1" CssClass="rsExportButton" ToolTip="Change Status"
CommandName="ChangeStatus" OnClientClick="ChangeStatus(this, event); return false;" Style="cursor: pointer;
cursor: hand;" />
</div>
         </AppointmentTemplate>

Peter
Telerik team
 answered on 05 Dec 2011
2 answers
336 views
Hi,

I am using version 2011.1.519.35 of your ASP.NET for AJAX controls.

My problem is that client-side validation isn't firing when I click a linkbutton in the CommandItemTemplate.

My grid has a CommandItemTemplate which contains linkbuttons to put the grid into add or edit mode, and a button to save rows that are in add or edit mode.  See below:

<CommandItemTemplate>
  <div class="gridCommandItemRow">
      <asp:LinkButton runat="server" ID="AddNew" Text="Add New" CssClass="add" 
            CommandName="InitInsert" 
            Visible="<%# Not TeamMetricsRadGrid.MasterTableView.IsItemInserted %>" />
     <asp:LinkButton runat="server" ID="UpdateAll" Text="Save All" CssClass="save" 
                  CommandName="SaveAll" 
                  CausesValidation="true" />
  </div>
</CommandItemTemplate>

I also have the following line in the grid, to try to get validation to work:

<ValidationSettings CommandsToValidate="SaveAll,PerformInsert,Update" 
          ValidationGroup="TeamMetricsValidationGroup" />

I have asp.net required field validator controls on several of the controls within EditItemTemplates.

Prior to using my own linkbuttons in the CommandItemTemplate, I was using the built-in Add / Edit buttons supplied by the GridEditCommandColumn.  When I did this, the client-side validation was firing correctly, and preventing the postback as expected.

 

But my linkbutton in the CommandItemTemplate, with the CommandName of "SaveAll" is NOT firing client-side validation.  It does a postback without validation.

 

I thought I could set CausesValidation="true" for that button, and add that button's CommandName to the CommandsToValidate property, as I've done above, but that didn't work.  Does the grid validation not work with CommandNames from other buttons, in the CommandToValidate property, like I've done?

 

What am I missing?  Is it possible to fire client-side validation from buttons in the CommandItemTemplate?

Thanks,
Michael

Michael Hunt
Top achievements
Rank 1
 answered on 05 Dec 2011
0 answers
113 views
Hi Everybody,

     I have downloaded the latest version(2011.2.915.35) trial of telerik.

     I have an file explorer control in my page in which i need to show folders in user basis,
     some folders are common to all users and some are specific to users.

     Have done this, and in addition i want to disable deleting of the default folders.

    The users can be allowed to delete other folders except the default folders, is it possible to set delete permissions folder wise.
    Any one please give me a suggestion.

Thank you,
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
 asked on 05 Dec 2011
2 answers
103 views
Hi,

I am using Radscheduler for checking room availability as in one of your demos. However, I am using the timeline view instead of day view as I want the timescales at the top. There are 2 issues in this.
1. Even though I set the row height, it expands automatically for rows having an appointment. (Please see attached snapshot)
2. The previous and next buttons on the navigation pane work only one day back and forward and no further. How canI correct this? Or if this is the default behaviour in the tiemline view, how can I hide these buttons alone and not the calendar as I need navigation to see availability for other days

Code snippet is below. Any help appreciated.

Thanks.

<telerik:RadScheduler runat="server" ID="rsBookings" DataSourceID="odsBookings" RowHeight="50px" TimelineView-HeaderDateFormat="dd/MM/yyyy"
            DataKeyField="BookingID" DataSubjectField="Description" DataStartField="StartDate" DataEndField="EndDate"
            GroupBy="Room" GroupingDirection="Vertical" StartEditingInAdvancedForm="false" SelectedView="TimelineView" 
            TimelineView-TimeLabelSpan="1" TimelineView-SlotDuration="00:30:00" TimelineView-NumberOfSlots="48" 
            TimelineView-ColumnHeaderDateFormat="HH:mm" DayStartTime="00:00" DayEndTime="23:59"  ColumnWidth="80px"         
            AllowDelete="false" AllowEdit="false" AllowInsert="false" CustomAttributeNames="Description, CompanyName, BookingID"
            OnDataBound="rsBookings_DataBound">
            <AdvancedForm Modal="true" />
            <TimelineView UserSelectable="false" />
            <WeekView UserSelectable="false" />
            <MonthView UserSelectable="false" />
            <DayView UserSelectable="false" />
            <ResourceTypes>
                <telerik:ResourceType KeyField="RoomID" Name="Room" TextField="Name" ForeignKeyField="RoomID"
                    DataSourceID="odsRooms" />
            </ResourceTypes>
            <AppointmentTemplate>
                <a href='BookingDetails.aspx?BookingID=<%# Eval ("BookingID") %>'><%# Eval("Description") %></a>
                <br />
                <%# Eval("CompanyName")%> 
            </AppointmentTemplate>
            <TimeSlotContextMenuSettings EnableDefault="true" />
            <AppointmentContextMenuSettings EnableDefault="true" />
        </telerik:RadScheduler
  
  
Code Behind:
  
  
protected void Page_Load(object sender, EventArgs e)
        {
           rsBookings.SelectedDate = DateTime.Today;
            }
Kanchana
Top achievements
Rank 1
 answered on 05 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?