Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
119 views
a while ago I upgraded from v2009.1.527.35  to v2010.1.519.35

everything seemed to be working ok, except when I use the file uploader I get an error

Could not load file or assembly 'Telerik.Web.UI, Version=2009.1.527.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)


so it looks like the uploader is still using the old version.  What can I do to fix this ?
Kate
Telerik team
 answered on 07 May 2012
1 answer
97 views
I want to create a simple tree view but I can't seem to do it, should be simple?

My data is structured in 1 table like:

ID Name Date
1 Name1 1/5/2012
2 Name2 1/6/2012
3 Name3 1/5/2012     


I want it to be displayed in the treeView like (Date is Root, name is Child)

1/5/2012
----Name1
----Name3
1/6/2012
----Name2

What properties and values do I need to set on the control to achieve this? DataTextField,  DataFieldParentID , etc

Thanks!
Bozhidar
Telerik team
 answered on 07 May 2012
3 answers
408 views
In my page I toggle content visibility by having partial page updates using the UpdatePanel. The problem is that when my RadComboBox is in the hidden content and later made visible it's completely unresponsive with no events being raised.  Unfortunately I haven't been able to recreate this problem so I can't provide any code but if anyone has an idea of what it could be due to I'd greatly appreciate your advice. 
Marin Bratanov
Telerik team
 answered on 07 May 2012
0 answers
217 views
hi
I was looking for a way to expand a nested view (and collapse all the others) on client side
and since I couldn't find one, I've decided to post my own resolution
I'm using a little bit of jQuery so I could catch the expand button mouseover event

<script type="text/javascript">
    $(document).ready(function () {
        //expand details row to show more data on a certain work
        $(".rgExpandCol").live("mouseover", function (event) {
 
            var masterTable = $find("<%= Grid1.ClientID %>").get_masterTableView();
          //collapse all
            for (var i = 0; i < masterTable.get_dataItems().length; i++) {
                masterTable.collapseItem(i);
            }
            //expend row
            for (var i = 0; i < masterTable.get_dataItems().length; i++) {
 
                if (masterTable.get_dataItems()[i].get_element() == $(this).parent()[0]) {
                    masterTable.expandItem(i);
                    break;
                }
 
            }
             
        });
 
    });
</script>
Yotam
Top achievements
Rank 1
 asked on 07 May 2012
16 answers
280 views
Hello,

I love the export feature available with telerik, but I'm curious of one thing.  If I schedule a recurring appointment, it comes up as one appointment record.  Say this appointment recurs from November to June.  I only want to export the month of January.  How, with the recurring appointments, can I export just the month of January, since recurrence is represented by a single Appointment class?

Thanks.
Shahzada
Top achievements
Rank 1
 answered on 07 May 2012
6 answers
319 views
Hi,

I'm building a pie chart with 10 slices programmatically and having a few problems getting the labels to show the way I want.

I have to set "chart.IntelligentLabelsEnabled = true;" otherwise the labels collide with each other.

But when I turn this on, some of the labels are just omitted altogether, which isn't acceptable.

Also I can't get label connectors to work at all.

I have set "series.Appearance.LabelAppearance.LabelConnectorStyle.Visible = true;" on the chart series, and also tried setting the equivalent property on the individual items for each pie slice as well. I also tried setting the .PenStyle & .Color properties explicitly.

Am I missing something?

Thanks,
Simon

Peshito
Telerik team
 answered on 07 May 2012
2 answers
185 views
Hey gang -

I'm building a new page that needs to allow the user to select a person in the corporate hierarchy, then see that person's direct reports, with some columnar data. So I'm using the RadTreeList control because it appears to be the right tool for the job.

However, I'm struggling with getting beyond the simplest initial implementation (one guy and his immediate direct reports). I've looked around on the forum for answers, but can't find anything that will get me over the hump (probably asking my questions incorrectly). Hopefully, I can glean what I need by asking for help all at once. Thanks in advance for help on...

Here are the problems I'm running in to, mostly around getting a specific value (samAccountName) for a selected item and databinding on demand.

  1. The corporate hierarchy is quite large, so I'm only wanting to load the direct reports when a person clicks on a person within the hierarchy. Otherwise, the CEO and several upper managers will get timeouts when they load the page (because of the large hierarchy). I know the system can handle on-demand loading of child elements, though I cannot figure out how to do it.

    I'm building the initial collection of objects via a WCF service when the user first enters the page, based on their AD Sam Account Name. The collection includes an (int) ID and (int) ParentID - as I understand this is the only way to properly indicate the hierarchical relationships. This is a short list as a rule, and it works for the first load of the page (I'm using the NeedDataSource event handler for all this so far).

    I see the individual and their immediate direct reports (but these reports don't have an expander (+/-) button because I haven't loaded their direct reports - I want to do that on selection).

    I have a method that can check if a person has direct reports, so I can call that for each person in the direct reports list, but how do I show the expander button if they have reports without loading any data yet? I don't want to load that person's direct reports until they have been selected.

  2. Which leads me to the second problem: How do I append a selected person's direct reports to the current treelist's collection on selection? I know I can get the list of items, convert to a collection, append the new direct reports items, and rebind... but... 

  3. How do I get the selected person's Sam Account Name (which is bound to the item, so I know it's available)? 

  4. Which event should fire to reconstitute the collection and rebind?

  5. If I can get the info to do all of that on the correct event handler, then the only other thing I need to know is how can I make a column value (i.e. the person's full name) be the actual selectable button instead of the expander icon? This would be preferable.

  6. Is the RadTreeView the right control for this job???

I know I'm asking numerous questions all at once. I'm hoping the answers are very straightforward. I have to get this thing ready for a demo within the next week.

Again - thanks very much for all the help you can provide in solving this set of dilemmas.
A
Maria Ilieva
Telerik team
 answered on 07 May 2012
1 answer
78 views
I have a Grid on an aspx page that displays some hierarchical data.  I would like to total one column of the sub table and then subtract it from a column in its parent row and display the results in the sub table footer.  Is that possible, and if so, how do I go about it?
Antonio Stoilkov
Telerik team
 answered on 07 May 2012
1 answer
101 views
Hello Expert,
    I'm wanting to work with the scheduler, and I'm looking for demo/sample of scheduling resources and then schedule within the resource.

For example I want to be able to schedule resource availability (e.g. job assignment (overlapping is fine, but not the same time)).  Within this resource I want to able to schedule people to do the task that is assign.  Job assignment like rooms can hold a certain amount of people ei (4 people).

Sample would be great, also a example using store procedure (would be better).

Thank you,
Paul
Peter
Telerik team
 answered on 07 May 2012
3 answers
103 views
Users can change the appointment end date by resizing the appointment with the handle at the bottom of the appointment. However, my client would also like to have a similar handle at the top of the appointment so that the appointment start date can easily be changed. Is this possible, and if not, is such a feature planned for a future release?

Thank you.
Plamen
Telerik team
 answered on 07 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?