Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
233 views
Hi i need to be able to disable dates in a calendar based on an if statement which would pass a value in

dates would be along these lines
1 day
3 days
a week
10 days
20 days
24 days
a month
many thanks
Kevin
Top achievements
Rank 1
 answered on 15 Jun 2009
1 answer
67 views
Hi All, I would like to use the schedule to show the status of rented equipment.

Using the Timeline view i would like to show list of equipment that is rented. Some of the equipment will have no return date (dataEndField is null) as the order (appointment) is open until the customer specifies they will be returning it.

In Timeline view the appointments with null end date do not show. Is there some way to show these from start with no end as you navigate the days? Thanks!

Rich
Peter
Telerik team
 answered on 15 Jun 2009
1 answer
143 views
I've got an app that uses the panelbar to display different grids of data.  Some of our users like to use keyboard shortcuts to expand and collapse the panel items.  So I created a small Javascript function attached to the OnClientItemFocus to accomplish this:
function focusItem(panelbar, args) {  
    var item = args.get_item();  
    if (item.get_level() == 0) {  
//        item.click();  
        if(item.get_expanded()) item.collapse();  
        else item.expand();  
    }  
Here's the problem - a mouseclick also focuses on the item, but has it's own event that expands or collapses the panel item.  So what I get when I click it with a mouse is, it expands just fine, but when I click again to collapse it collapses and expands again.  I've tried  using the "stopProgagation" method on the domEvent in the ItemClicked and ItemClicking client-side events, but that doesn't help.  What I think I need is a way to differentiate between a mouseclick and key press in the client-side event so I can handle them differently.  Unless there's an easier way?

All I really want to do its allow users to expand or collapse panelbar items when they click on them, or if they use a keyboard shortcut to select them.  Is that possible with RadPanelBar?

Thanks for the help!
Veselin Vasilev
Telerik team
 answered on 15 Jun 2009
4 answers
108 views
Hello,

I've got a group of buttons into a div, which is defined as a decorated zone.
When one of the buttons is pressed a context menu is displayed, but this menu collapses inmediately. I have tried the same removing the div from the DecorationZoneID property, and then it works (the context menu keeps expanded).

Here is my code:

<script type="text/javascript">
function showMenu(e) {
          var contextMenu = $find("<%= RadContextMenu1.ClientID %>");
                 
          contextMenu.showAt(e.screenX, e.screenY);          
        }
</script>

<telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecorationZoneID="Buttons"
                              DecoratedControls="All" />
<div id="Buttons" >
      <input id="Button1" type="button" onclick="showMenu(event)" value="Sections" />
                    <telerik:RadContextMenu ID="RadContextMenu1" runat="server" CollapseDelay="50000">
                      <Items> 
...
                      </Items>
                    </telerik:RadContextMenu>
    </div>


Any help? Thank you.
Luis
Top achievements
Rank 1
 answered on 15 Jun 2009
1 answer
105 views
Hi,

I wanted to achieve the color rgb(175, 223, 229) in my chart, this is ok in FF3 as you'll get exactly the colors you define.
However, in IE the rendered colors are different, it becomes rgb(167, 219, 226). So I made some ajdustments to achieve rgb(175, 223, 229).
Unfortunately, I cant get the red part (175) to render correctly.

I used the following rgb colors:
rgb(182, 226, 232) becomes rgb(174, 223, 229)
rgb(183, 226, 232) becomes rgb(176, 223, 229)

Is there anyway to render the color rgb(175, 223, 229) correctly in IE?

Thank you in advance.

Regards,
Raffy
Ves
Telerik team
 answered on 15 Jun 2009
1 answer
92 views
Please send sample coding for RadSplitter, RadSplitter like Left pane-slidding pane1 and slidding pane2, right pane -RadGrid control
while collapse the left radpane, how to resize the width right radpane -Radgrid control
Svetlina Anati
Telerik team
 answered on 15 Jun 2009
1 answer
134 views
Hi, Telerik.
I´m using radcontrols for asp.net ajax and everything was working with version 1 of Chrome.
Now I installed version Chrome 2 and my toolbar dissapeared, is not visible. What happened?!
This is the code for the toolbar:

 

<telerik:RadToolBar ID="radtbMenu" runat="server"

 

 

CausesValidation="False" Skin="Outlook" OnClientButtonClicked="GUIToolBarOnClientButtonClicked">

 

 

<Items>

 

 

 

 

<telerik:RadToolBarButton runat="server" Value="Buscar" CommandName="Buscar" ToolTip="Buscar" />

 

 

<telerik:RadToolBarButton runat="server" Value="QuitarFiltro" CommandName="QuitarFiltro" ToolTip="Quitar Filtro" AllowSelfUnCheck="true" CheckOnClick="true" />

 

 

<telerik:RadToolBarButton IsSeparator="true"></telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" Value="ExportarExcel" NavigateUrl="exportar.aspx?rw=1&tip=1&pag=Gastos" Target="_blank" ToolTip="Exportar a Excel" />

 

 

<telerik:RadToolBarButton runat="server" Value="ExportarPDF" NavigateUrl="exportar.aspx?rw=1&tip=2&pag=Gastos" Target="_blank" ToolTip="Exportar a PDF" />

 

 

<telerik:RadToolBarButton IsSeparator="true"></telerik:RadToolBarButton>

 

 

<telerik:RadToolBarButton runat="server" Value="Actualizar" CommandName="Actualizar" ToolTip="Actualizar" />

 

 

 

<telerik:RadToolBarButton IsSeparator="true"></telerik:RadToolBarButton>

 

 

</Items>

 

 

</telerik:RadToolBar>

 


I set the image for the toolbarbuttons using:

radtbMenu.FindItemByValue(

"Buscar").ImageUrl = CUtil.URLImagen(this.Page, "iconos.menfiltrar.gif");

 

radtbMenu.FindItemByValue(

"QuitarFiltro").ImageUrl = CUtil.URLImagen(this.Page, "iconos.menquitarfiltro.gif");

 

radtbMenu.FindItemByValue(

"ExportarExcel").ImageUrl = CUtil.URLImagen(this.Page, "iconos.menexportarexcel.gif");

 

radtbMenu.FindItemByValue(

"ExportarPDF").ImageUrl = CUtil.URLImagen(this.Page, "iconos.menexportarpdf.gif");

 

radtbMenu.FindItemByValue(

"Actualizar").ImageUrl = CUtil.URLImagen(this.Page, "iconos.menactualizar.gif");

 


Can you help me, please?
thanks a lot,
Daniel.
Veselin Vasilev
Telerik team
 answered on 15 Jun 2009
5 answers
197 views
Hi,

I am using the RadScheduler, and would like to sync it with Exchange; however, I can't seem to find the ExchangeSchedulerProvider  class anywhere.

Please advise.

Regards,
Vincent
Peter
Telerik team
 answered on 15 Jun 2009
1 answer
119 views
Hi,

I don't know if it is a known bug, or a normal behavior, but...

On this page : http://demos.telerik.com/aspnet-ajax/window/examples/restrictionzone/defaultcs.aspx

Just drag the top border of one windows under its bottom... Window height will remaing to a minimum value, but will start to move... Until it exists restriction zone...

Only one pixel remains stuck in zone.

Same behavior for width...
Georgi Tunev
Telerik team
 answered on 15 Jun 2009
1 answer
67 views
Hi,

I want to give users an easy way to create new appointments, instead of searching through shceduler weeks.

Here is what I am thinking about :

I have a DataSource that accourding to appointment duration, available time slots (like working hours) and existing appointments, can give me free time areas where the new appointment can be placed without overlapping existing ones.

I want to do is showing them a sort of datetime slider where user can drag the new appointment to the place they want, like a slider.
Visible date range can be set, and working hours (for each day) too.

The dragging element can be templated (for custom text and color), with size according to new appointment duration.

Moving new appointment into a slot with more available time than the appointment duration (like a 20min appointment sliding in a 1h slot) can be snapped to a customizable number of minutes (ex: for 5min, dragging appointment can make it start at +0min, next step is at +5min, +10min etc...)

Slider rail can be templated (at least to see if areas are available or not) to show different type of available time slots.

Today, I know that none of your controls can achieve this, if I want a control with this behavior, I have to make it myself.

Do you think that your team could make a control like this ? Or if you have a idea of how I can create my control...

Thanks
Peter
Telerik team
 answered on 15 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?