Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
159 views
For some reason our raddatetimepicker does not work when published.

It removes the time completely... I tried to add the display dateformat, with some success it now shows the datevalue but I still cannot change it from the timepopup anymore.

Funny thing is that it works fine when im in visual studio and host it from there
lkj lkj
Top achievements
Rank 1
 answered on 23 Apr 2010
3 answers
137 views
hi

how cn i add the scroll thing when my datagrid item reach the max height on video?

thank
regards webster
Veli
Telerik team
 answered on 23 Apr 2010
1 answer
69 views
Hi,

I tried to modify the custom appointment template and used one off of the KB's on Telerik's website.  The template is

 

<AppointmentTemplate>

 

(

<asp:Literal ID="AppointmentStartTime" runat="server" Text='<%# Eval("Start", "{0:t}") %>'></asp:Literal>

 

-

 

<asp:Literal ID="AppoitmentEndTime" runat="server" Text='<%# Eval("End", "{0:t}") %>'></asp:Literal>)

 

 

<asp:Literal ID="AppointmentSubject" runat="server" Text='<%# Eval("Subject") %>'></asp:Literal>

 

 

</AppointmentTemplate>

 



I am using a timeoffset of -5.00 and everything else on the calendar works fine except for this.  The times are shows in UTC and not adjusted for selected timezone.  So basically I got an appointment showing in the calendar at 8:00am but the apppointment template says 4:00pm as start.

Regards,
Mans.
Peter
Telerik team
 answered on 23 Apr 2010
1 answer
162 views
The datasource returns the records by salesperson last name.

My radchart is sorted correctly by last name but last name starting with "A" appear at the bottom of the chart then sort up.

Is there a way to reverse this sort so user can see the last name starting with "A" at the top of the chart?

I use same datasource to fill datatable and it works fine.

thanks
Vladimir Milev
Telerik team
 answered on 23 Apr 2010
1 answer
60 views
I have a grid with columns that are generated dynamically based on a specific dataset.  For example, if there are 6 records in my dataset then I will add 6 columns to a grid.  If there are 7 I would add 7 columns to the grid.  The columns I am generating are template columns that are being created on the server side.  In these columns there is either a red or green ball image displayed based on a certain criteria (a calculation performed in the constructor of my template).  Essentially this is leaving the columns un-databound to a specific field in the result set.

I am trying to sort these dynamically created columns so I could show all the green ball images on top or the other way around.  I figured the easiest way to do this would be to add a hidden column with each image template column I create.  So instead of creating 6 columns for my dataset I would create 12 with 6 of them being hidden.  In these hidden columns I could simple put the path to the ball images; either "redBall.gif" or "greenBall.gif".  The question is how do I then sort using one of the hidden columns?

Simply put: I want to sort by the text in a specific column (redBall.gif or greenBall.gif).  The problem I am running into is I do not have a DataField or SortExpression to bind the grid to.  I've looked at most, if not all, of the articles on Telerik and cannot find much help.

I appreciate any ideas.

Thanks.
Iana Tsolova
Telerik team
 answered on 23 Apr 2010
2 answers
145 views
Hi

I'm tryging to trigger some serverside code from my contextmenu, but it does not seem to work below is th server code
 Protected Sub RadScheduler1_AppointmentContextMenuItemClicked(ByVal sender As ObjectByVal e As Telerik.Web.UI.AppointmentContextMenuItemClickedEventArgs)  
        Dim strID As String 
        strID = e.Appointment.ID.ToString  
        Commonlib.SendToDick("bbb""")  
 
        Select Case e.MenuItem.Value  
            Case Is = "bek" 
                Response.Redirect("visadoc.aspx?doctyp=bek&bokningsid=" & strID)  
        End Select 
        If e.MenuItem.Value = "EnableGrouping" Then 
            RadScheduler1.GroupBy = "Calendar" 
        ElseIf e.MenuItem.Value = "DisableGrouping" Then 
            RadScheduler1.GroupBy = "" 
        End If 
    End Sub 

And here is parts of the clientcode
 <AppointmentContextMenus> 
            <telerik:RadSchedulerContextMenu ID="RadSchedulerContextMenu1" runat="server">  
                <Items> 
                <telerik:RadMenuItem runat="server" Text="Ändra bokning" Value="andra">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Skriv ut bekräftelse" Value="bek">  
                    </telerik:RadMenuItem> 
                     <telerik:RadMenuItem runat="server" Text="Skriv ut avtal" Value="avt">  
                    </telerik:RadMenuItem> 
                  
                     
                </Items> 
            </telerik:RadSchedulerContextMenu> 
        </AppointmentContextMenus> 
 

/Kind Regrards,
Dick
Dick Arlbring
Top achievements
Rank 1
 answered on 23 Apr 2010
6 answers
171 views
I am using the Vista skin for my RadSplitter.  Some users have requested that I make the collapse/expand arrows larger.  I have changed the expand/collapse images found in the C:\Program Files\Telerik\RadControls for ASPNET AJAX Q1 2008\Skins\Vista\Splitter folder.  To my dismay, this did not change my control.  Is there something else I need to do?

Seth
Svetlina Anati
Telerik team
 answered on 23 Apr 2010
4 answers
87 views
Hello,
When I insert template files from Template Manager, I notice all <Style> tags will be removed. Below steps could repro the problem.







1) open notepad and save the following lines as template.htm
---------------
<BODY>
<STYLE type=text/css>
     table.custom {
         border-width: 1px;
         border-spacing: ;
         border-style: outset;
         border-color: gray;
         border-collapse: separate;
         background-color: white;
            }
       table.custom th {
         font: bold 11px  Arial;
         color: #4f6b72;
         border-right: 1px solid #C1DAD7;
         border-bottom: 1px solid #C1DAD7;
         border-top: 1px solid #C1DAD7;
         letter-spacing: 2px;
         text-transform: uppercase;
         text-align: left;
         padding: 6px 6px 6px 12px;
         background: #CAE8EA url('images/bg_header.jpg') no-repeat;
        }
</STYLE>
<TABLE class=custom width="100%">
<TBODY>
<TR>
<TH>&nbsp;Category&nbsp;</TH>
<TH>&nbsp;Comments&nbsp;</TH></TR>
<TR>
<TH class=spec>All:&nbsp;</TH>
<TD class=td style="WIDTH: 90%"></TD></TR>
<TR></TR></TBODY></TABLE></BODY>
------------------------



2) In RadEditor, insert this template.htm from Template Manager. What you get is
---------------

<BODY><TABLE class=custom width="100%">
<TBODY>
<TR>
<TH>&nbsp;Category&nbsp;</TH>
<TH>&nbsp;Comments&nbsp;</TH></TR>
<TR>
<TH class=spec>All:&nbsp;</TH>
<TD class=td style="WIDTH: 90%"></TD></TR>
<TR></TR></TBODY></TABLE></BODY>




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

Why Template Manager would like to remove my <style> tag? any workaround? thanks.
Rumen
Telerik team
 answered on 23 Apr 2010
1 answer
103 views
Good morning, I have a problem and not how to solve it.
I have a dataPicker control and do not know how to check if the date is entered is válida.El qeu own control have confirmation and if the date is not valid puts a red icon and your input, but I can know what code has been entered is valid or not?
Maria Ilieva
Telerik team
 answered on 23 Apr 2010
2 answers
207 views
Hello All,

I've been tasked with an interesting scenario from our business unit, and tried to address it with RadGrid, but after the work I've done so far, I'm not sure I'm going to walk away with a solution that is going to work.

Basically, I need to make grid that looks like an excel mockup. Attached is the mockup.png file, and I've been testing with AdventureWorks, so this isn't the real data, but a pretty close idea. I need to subtotal and expand/collapse at one level, and display the subtotal above the details, and then inside of those details subtotal (but without expand/collapse), and display those subtotals below their details. I don't need subtotals both above and below for either levels. I started working on it, and the attached wip.png is a screenshot of what I have now, but the problem I have is the group header row is not really part of the table, it is inside of a <p> tag inside of a <td> with colspan=4.

I have the complete code, too, but I'm not allowed to upload .zip files. I'll put the code in another reply, but if you'd like the complete code to play with, please email me (mhowell at newportgroup dot com) or PM(?) me.

Thanks,

Matthew
Radoslav
Telerik team
 answered on 23 Apr 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?