Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
87 views
This may have been requested somewhere, but I couldn't find it in my searching.

I have a lot of things being displayed and my chart gets REALLY tiny - which isn't very good for knowing what things are. Right now I have to kill the legend. It's on my TODO list to create a sliding legend in a div that I attach to the chart's div so it can be shown/hide and not make my chart tiny. Would it be something that could be implemented in the chart itself? Creating a sliding div? Even if it rendered a separate image for the legend and placed it in the sliding div - Don't really care how, hehe. :)

I just have to many pieces of data with non-reducible length of text that can take up over 1/2 of my chart space, and i have it maximized on a 22" screen.

A suggestions for a potentially useful feature, that I'm gonna have to implement myself so I can display a chart at a reasonable size for what I have to display. :)

Thanks
Baatezu
Top achievements
Rank 2
 answered on 28 Jul 2010
5 answers
334 views
I have 2 resources  "students" and  "types"  what I want is that if no resourse is selected then "types" and "students" to be set.
BUT if a student is selected and no type is then type to be selected too. here is my code: THE PROBLEM IS THAT THE SECOND IF STATEMENT DOES NOT ADD THE RESOURSE "types".

protected void RadScheduler1_AppointmentInsert(object sender, Telerik.Web.UI.SchedulerCancelEventArgs e)
    {
        if (e.Appointment.Resources.Count < 1)
        {
            e.Appointment.Resources.Add(RadScheduler1.Resources.GetResource("types", 2));
            e.Appointment.Resources.Add(RadScheduler1.Resources.GetResource("students", 1));
        }

        if ((e.Appointment.Resources.GetResourceByType("students") != null) && (e.Appointment.Resources.GetResourceByType("types") == null))
        {
           e.Appointment.Resources.Add(RadScheduler1.Resources.GetResource("types", 2));
        } 

    }


Please give me a solution
thanks

T. Tsonev
Telerik team
 answered on 28 Jul 2010
21 answers
444 views

I've updated RadControls to the latest version(Telerik.Web.UI_2010_2_713_Dev_hotfix), and now MicrosoftAjax.js generates the following error:

"Error: Sys.InvalidOperationException: '_stylezindex' is not a property or an existing field."

I've identified what is causing the error, it's when I define a z-index CSS style for a RadWindow (for example: style="z-index:8000")

Is this a regression in the update? I do not see anything in the changelog for this update that would explicitly invalidate this CSS setting (though it might be removed in order to fix some other issue that was 'fixed' in this release?)

Lee
Top achievements
Rank 1
 answered on 28 Jul 2010
2 answers
167 views
Hi,
I have a radgrid on a usercontrol which is created at runtime.
I am adding a sort expression with the code below. I am not using the sort event.
Everything works fine like sorting and highlighting of the column except I don't see the related sort arrow in the column header.
How can I make the sort direction arrows appear?
I ve attached an image also.
Thanks for your help.

          CreateGridColumns();
          RadGrid1.VirtualItemCount = dv.Count;

            GridSortExpression expression = new GridSortExpression();
            expression.FieldName = SortColumn;
            if (SortOrder == "ASC")
                expression.SortOrder = GridSortOrder.Ascending;
            else
                expression.SortOrder = GridSortOrder.Descending;

            RadGrid1.MasterTableView.SortExpressions.Clear();
            RadGrid1.MasterTableView.SortExpressions.AddSortExpression(expression);

        RadGrid1.DataSource = dv;
        RadGrdi1.DataBind();
Aykut
Top achievements
Rank 1
 answered on 28 Jul 2010
2 answers
309 views
Hello,

So when I create a new content page, everything works perfectly fine, however, when I close out of that page and reopen it, some of my controls do not load properly, or I am unable to access there properties tab.

I get something similar to the following error for each control in the designer:

Error Creating Control - RadDatePicker2

[A]Telerik.Web.UI.RadDatePicker cannot be cast to [B]Telerik.Web.UI.RadDatePicker. Type A originates from  'Telerik.Web.UI, Version=2010.1.415.20, Culture = neutral, PublicKeyToken=121fae78165ba3d4' in the context 'LoadNeither' at location
'C:\Users\xxxxxxxx\AppData\Local\Microsoft\VisualStudio\10.0\ProjectAssemblies\adxffflz01\telerik.web.ui.dll'.
Type B originates from 'Telerik.Web.UI,Version=2010.1.415.40, Cultue=neutral, PublicKeyToken=121fae78165ba3d4'
in the context 'LoadNeither' at location
'C:\Users\xxxxxxxx\AppData\Local\Microsoft\VisualStudio\10.0\ProjectAssemblies\1qe758dw01\TelerikWeb.UI.dll'.


Also, whenever I add a new control to the form it says "A file with the name 'Bin/Telerik.Web.UI.dll' already exists. Do you want to replace it?"

I have tested and these issues are specific to my machine.

It seems that for some reason the controls reference two assemblies but I have no idea how to fix it. any help would be greatly appreciated.

Thanks,

Morgan

EDIT: It seems that this is actually a solution specifc. What I mean is that , If I create a website in some other solution it works fine. If I create new pages or sites in the current solution, then the errors occur.
Morgan
Top achievements
Rank 1
 answered on 28 Jul 2010
1 answer
277 views
Hi Sir,

I want to get File Name and File path form code behind in .cs File.

Basically My Button in Datalist and Selected file path view in Datalist's  Lable so i want that path form code behind.

Please give me proper solution.

Thanks

Kishor Dalwadi.
Petio Petkov
Telerik team
 answered on 28 Jul 2010
5 answers
129 views
Hello,

I really need your help...  I am using a "demo/trial" version of Asp.Net Ajax radtreeview control to load a hierarchy.  I am doing this as a proof of concept... before deciding to by the package.

Here is what I am struggling with:

I load the control with let say 1000 users.  I have a search textbox... where the user can enter a search criteria then click on a search button.

This search can result in multiple hits... lets say someone enter a search by first name ("kevin") and I found 10 hits.  I would like to find the first node... and scroll into view.  The user clicks on a "find next" button... and the next node will be selected and scroll into view ... etc. etc.

I would like to do this from serverside... this will make things easier for me.
If this is not doable... then my problem is mainly passing the 10 Ids from serverside to clientside... and use the clientside function. How can I do this?

Again... my first choice is to do this from serverside.  I'd appreciate any help.

Thanks
Andy.
Nikolay Tsenkov
Telerik team
 answered on 28 Jul 2010
1 answer
129 views
Hi,
          I have used RadGridNamespace.AsyncRequest in the javascript  to call the grid control. It works fine in Internet Explorer 8. But, It is not working in Mozilla Firefox. Please find the me solution as soon as possible.

- Asif.
Rosen
Telerik team
 answered on 28 Jul 2010
1 answer
69 views
I'm fairly new to .Net development, although I've been a developer for 22 years.

I have a project where the user wants a web-based app.  They basically will be filling in a form with dollar amounts for each category.

There are sections of the form, each section is divided into sub-sections (for lack of a better term), and each sub-section has 1 or more categories of information that the user will need to enter a dollar amount for.

The categories can change from time-to-time so I need the form to be dynamic.  I don't want to have to modify the form every time they need to add or take away a category.
I've got my database designed and built so that Sections, Sub-Sections and Categories are all table-dirven and all tied to their parent using a foreign-key field.

Basically what I need is a form that can load the categories from a table, whether there are 1 or 10 categories, and present them to the user in an easy-to-use manner so that the user can enter the dollar amounts, save their work, and move on.

A grid seemed like a logical way to do this, but what I don't like about what I've learned so far about the RadGrid is that they user would have to click "Edit" to be able to enter their work, then click "Update" to save it before moving on to the next category.  That's too much clicking and too clunky compared to what they have been doing:  Basically a form where they key in the numbers to each box and hit "Save" when they're done.

Is there a way to use the grid to accomplish what I'm wanting to do?  Can you edit cells in a grid without having to click "Edit" for each cell and "Update" for each cell when you're done?  I'm new to the Telerik controls so this may be able to be done and I just haven't figured out how to do it yet.

Or, is there a way to dynamically build a form with the necessary descriptions (I have the description in my table) and textboxes to enter the values for each Category?

Thanks in advance for any input/feedback that you have,
Mike T.
Sebastian
Telerik team
 answered on 28 Jul 2010
0 answers
41 views
We have a project that needs some pretty quick, well defined work done... we need help in creating a professional look-and-feel theme for our website (ideally cross-browser compatible where possible).  the website is built using asp.net 3.5, and the latest version of the telerik controls. 

We are struggling to resource this in house, and wondered if there are any theme/skin gurus out there who fancy having a look at this piece of work?

Lesley-Ann

enquiries@icenimobile.com


(PS: would also be interested in talking to anyone with any experience of using telerik controls to design a right-to-left theme with some 'interesting' fonts...)
Lesley-Ann
Top achievements
Rank 1
 asked on 28 Jul 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?