Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
62.6K+ views
Hi Telerik team,
I'm working for a quite small company (120 workers) and I was asked by my superior to create an intranet application to plan holidays for workers.
2 months before year end all work can start planning their holidays for upcoming year, they can do this till end of current year, when the plan is accepted then can change it only once a quarter. All this is now done manually, mostly using, paper forms, excel and from about a month with access.

What I need to do is to create a dedicated application for this that will be integrated with other Intranet applications.

In my scenario worker goes to my webpage (login done by Active Directory), he sees all workers from his department  plans and his.
Then he can plan his holidays , system should check if his holidays flans don't overlap with plans of other workers that are accepted by their supervisor. When chief of department goes to my page he sees all his workers plans and can accept them or reject.
I was thinking about using scheduler component or Gantt chart. to show planed holidays.
Searching web I found EXT Scheduler http://www.bryntum.com/products/scheduler/, this is mostly out of the box but done in JavaScript, and I would need 2 licenses, one for this component and second for EXT JS, besides I'm not a JavaScript developer.

What I would like to do is to buy ASP.NET AJAX suit from Telefik, because I prefer solid code, with samples, support and much more than EXT JS offers.

My question is it possible to use Your scheduler or Gantt control to create this kind of functionality.
Something like this: http://www.bryntum.com/examples/scheduler-latest/examples/eventeditor/editor.html

On left site I would like to have list of workers and on right holiday plans. As You can see in demo from link above You are able to create new events by clicking on empty space and moving your mouse, deleting events using context menu.
What I need is to lock all plans except current logged in user and validate if current user plan don't overlap with already accepted plans.

I would like to be able to do this using Telerik controls, if this is possible then I would convince my boss to buy ASP.NET suit.
Peter
Telerik team
 answered on 30 May 2012
1 answer
92 views
I have a grid set to 100% of the browser width. All columns have a fixed minimum size via the header, except the last which expands to fill the space to the browser right margin. The columns look fine.

The grouping box above the grid stops short of the end of the browser. See attached image.
How do we get that to extend all the way out? Is that a bug or is that as-designed and subject to a value setting?

Thanks.

Great, I've been noticing this for weeks, and a minute after finally posting this note I realize the behavior is more complex.
The box "may" size properly on initial display but on resizing the browser width it seems to go short, and then never quite resize properly.
This seems to be IE-specific, running IE9 here.
Tsvetina
Telerik team
 answered on 30 May 2012
1 answer
121 views
See attached image. I just loaded today's build 515 and my reward is that filter icons no longer show in the radgrid in FireFox 12. IE9 looks OK as far as this goes.  Refreshing doesn't work. Mouseover indicates the controls are there, just can't see them.

We're also missing arrow icons for groups. This seems to be with the Web20 theme. WebBlue is OK. Haven't tried others. I really don't want to just change themes because we're using other theme-specific colors in the grid to style sorting, filtering, etc. We can adapt, just don't want to scurry to avoid issues like this.

Anyone else seeing this?
Thanks.
Tsvetina
Telerik team
 answered on 30 May 2012
1 answer
150 views
Hi,

I have a grid template column that displays one of two images depending on the condition of the field e.g if true show on img if false show off img. Everything worked fine when I was using server side data binding but for unrelated reasons I had to switch to client side data binding and this feature no longer works. I'm getting the following error "Object cannot be cast from DBNull to other types." but there are no nulls in my data table at all. I'd really appreciate some help with this one. Here is the asp:
<telerik:GridTemplateColumn DataField="Active" UniqueName="Active">
                       <ItemStyle Width="20px" />
                       <ItemTemplate>
                       <div class="Tools" >
                            <asp:Image ID="ImgStatus" runat="server" ImageUrl='<%#Convert.ToBoolean(DataBinder.Eval(Container.DataItem, "Active"))? "~/Images/Icons/start.png" :
                            "~/Images/Icons/stop.png" %>'
                            AlternateText="Status"  ToolTip="Status" onclick="UpdateStatus();" /> 
                       </div>
                   </ItemTemplate>
               </telerik:GridTemplateColumn>
Thanks,
Ron.
Richard
Top achievements
Rank 1
 answered on 30 May 2012
13 answers
518 views
Ever since we updated to 2012 Q1 version, I'm seeing RadDatePicker controls display two date values in the input box.

One is the properly-formatted DisplayDateFormat value and the other is the raw data in full date/time format.

I noticed here that a default behaviour changed from FALSE to TRUE for EnableSingleInputRendering.  There appears to be a bug with this control with that value set to TRUE:
http://demos.telerik.com/aspnet-ajax/input/examples/singleinputrendering/firstlook/defaultcs.aspx

Attached is a screenshot where you can see the full date/time is overwriting the formatted date (in other controls that are wider, you can see both values next to each other)

Milena
Telerik team
 answered on 30 May 2012
3 answers
125 views
is this version stable?
also, about the editor, when you include a hyperlink in the body does it truncate the URL to a relative URL? I noticed that the SP2010 OOB Content Editor WP does this and I need it to not do this.

THanks
Rumen
Telerik team
 answered on 30 May 2012
5 answers
129 views
I've inherited a project using a RadGrid which uses session variables as filter arguments.  These arguments are then appended to a StringBuilder variable, which is used as the RowFilter argument for the Dataview.  This Dataview is the datasource for the grid.  This is in an .ascx control which is used on several pages.

The initial filter works fine.  It's when the user changes or removes the filter that I'm experiencing a problem - the grid won't display the updated results and the existing results won't expand if the user clicks on the expand arrow.

I tried to bypass the existing filter and use a RadFilter but when I click on the "add expression" button, nothing happens.  Following is the declarative.
<telerik:RadFilter ID="RadFilter1" runat="server" FilterContainerID="gvMission" >
    <fieldeditors>
        <telerik:RadFilterTextFieldEditor DisplayName="Lane" FieldName="Lane" 
            TextBoxWidth="120" />
    </fieldeditors>
</telerik:RadFilter>
Note: I had to manually add the FilterContainerID; When I expanded the RadFilter Tasks window, "gvMission" wasn't in the dropdown list.  Thanks very much.
Jim
Top achievements
Rank 1
 answered on 30 May 2012
5 answers
821 views
I have a RadComboBox in web usercontrol and when I set the AppendDataBoundItems to true it duplicates the values.

.aspx Code
<telerik:RadComboBox ID="clientusersRadComboBox" runat="server" DataTextField="fullname" DataValueField="userid" AppendDataBoundItems="true" Height="150px">
    <Items>
        <telerik:RadComboBoxItem Text="Select User" />
    </Items>
</telerik:RadComboBox>

.aspx.cs Code
var rsClientUsers = from rsU in DB.tbl_users
    where rsU.clientid == intClientID && !(from rsL in DB.tbl_licenses
    where rsL.moduleid == intModuleID && rsL.clientid == intClientID
    select rsL.userid).Contains(rsU.userid)
    orderby rsU.firstname
    select new
    {
    fullname = rsU.firstname + ' ' + rsU.lastname,
    userid = rsU.userid
    };
 
clientusersRadComboBox.DataSource = rsClientUsers;
clientusersRadComboBox.DataBind();

Shukhrat Nekbaev
Top achievements
Rank 1
 answered on 30 May 2012
3 answers
114 views
Hi, I am a bit confused:

Here http://www.telerik.com/help/aspnet-ajax/introduction-jquery-intellisense.html you say
"Since the Q2 2011 SP release of RadControls, IntelliSense is automatically enabled when RadScriptManager is on a page. There is no need to add the previously required ScriptReferences to RadScriptManager to enable IntelliSense"       

When I create a new Telerik website within Visual Studio 2010, the ScriptReferences ARE added to the RadScriptmanager.
Bug or feature? Any advantage/disadvantage to have/not to have them added?

Also, if I want to use master pages, how can I have jQuery Intellisense on my content pages?

Thanks in advance for your help
Best regards, Thomas
Kate
Telerik team
 answered on 30 May 2012
5 answers
68 views
Hi,

Our end-users are having major problems when using bullet lists in the radeditor in IE9.
For example in your demo of radeditor with contentareamode=div, clear all text in the editor (ctrl-a, delete).
Then push the Bullet list button a couple of times (three at least for me). On the third click the bullets starts appearing in the top window!!!

There are other ways to get this behavior also...

Regards
Caesar

Rumen
Telerik team
 answered on 30 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?