Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
104 views

Hello,

I have a few RadHtmlChart's rendered on my page. Each has a dynamic PlotBand setting to highlight the target on each chart. I can control the alpha setting on these PlotBands, but I can't seem to do so on the actual series itself...

I want the area representing the data to have a 0 alpha setting as to not show what's behind it.

Any thoughts?

 

Thanks!

Marin Bratanov
Telerik team
 answered on 20 May 2016
6 answers
527 views

Is there any way top have the new print button create the PDF in landscape?

Thanks

Viktor Tachev
Telerik team
 answered on 20 May 2016
1 answer
65 views

Hi Team,

We had created a dynamic radgrid with auto-generated columns and binding it to a dynamic datatable at code behind. We also have horizontal scrollbar for moving the column. Radgrid behave normally when we have less number of column but when we have more than 50 columns it start showing lagging in UI and horizontal scrollbar move very slowly as well as whole grid rendering is slow on page load.

could you please help identifying the cause for this? please do let me know if more information is needed.

 

Viktor Tachev
Telerik team
 answered on 20 May 2016
1 answer
104 views

Hi Team,

We have a dynamic radgrid with dynamic number of columns, which are created by binding a datatable to radgrid in code behind file. Also we have a horizontal scrollbar for moving column. Radgrid behaves ok when the auto generated column are less but when we have more than 50 column it start showing lagging in UI like horizontal scrollbar moves very slow and overall grid renders very slow on page load.

Please do let us know what can be causing this. also do let us know if you required more information.

 

Viktor Tachev
Telerik team
 answered on 20 May 2016
1 answer
114 views

We have radgrids with edit templates. In some cases, two different radgrids display records from the same database table. In these cases, the records are editable from either radgrid, so we’re made a user control and placed it in the radgrid’s edit template form. We would also like to display a radalert box if a field if left blank, or contains any other invalid data, and this is where the problem starts.

If the command name of the submit button, located in the user control, is set to “update”, it causes the radgrid’s UpdateCommand event to fire, in the main aspx page. And this event apparently fires before the submit button’s click event fires, and since the radgrid’s UpdateCommand event handler closes the edit template, any attempt to display a radalert from the submit button’s click event fails.

The obvious fix is to not set the command name=update property of the submit button, right? Well, maybe, but if we do that, then the edit template never closes, even after a successful record update. We could try to close the edit template “manually” from the user control’s submit button click event, but we’ve been unable to do that so far, and it’s probably bad design to do anyway.

So, my question is this: What do you recommend as a strategy for “reusing” an edit template between multiple radgrids if you can’t use user controls?

(IIS 7.5, Windows Server 2012, VS 2012, C#, ASP.NET, Telerik runtime version 4.0.30319, IE11, Firefox 45.0)

Eyup
Telerik team
 answered on 20 May 2016
2 answers
103 views

Hi,

We are using the Telerik version 2013.2.717.35.

We need it-IT. file of this versions.

 

Also found that this file in  http://www.telerik.com/forums/147971-radspell-dictionaries.Is this the same file can be used for the version 2013.2.717.35?

Thanks

Kesava.

Kesava
Top achievements
Rank 1
 answered on 20 May 2016
1 answer
66 views

I want to know how to update my DetailTables after closing a radwindow .

 

Marin Bratanov
Telerik team
 answered on 20 May 2016
6 answers
248 views
I have following simple code the link in left pane when clicked should open up in right pane .
Rather its opening up in a new IE Window.
Whats missing here ?????

<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
   
    </div>
        <telerik:RadSplitter ID="RadSplitter1" runat="server" BackColor="#C0FFC0">
            <telerik:RadPane ID="RadPane1" runat="server" BackColor="#FFC0C0">
                <a href="http://www.progress.com" target="contentPane">Progress</a>
                <br />
                <a href="http://www.prosoftxp.com" target="contentPane">Prosoftxp</a>
           
            </telerik:RadPane>
            <telerik:RadSplitBar ID="RadSplitBar1" runat="server" />
            <telerik:RadPane ID="contentPane" runat="server" BackColor="#FFFF80">
            </telerik:RadPane>
        </telerik:RadSplitter>
    </form>
</body>
  
Muhamamd
Top achievements
Rank 1
 answered on 20 May 2016
0 answers
188 views

Is there a way to add scrolling for dynamically added items to the sub menu? I've got many items loaded from ajax calls and dynamically added to the sub menu of my RadContextmenu on a RadGrid. Currently they are expanding beyond the boundaries of the viewport w/o any means to scroll to the bottom of them...

Here is my front end menu settings:

<telerik:RadContextMenu ID="contextMenu" runat="server" OnItemClick="contextMenu_ItemClick" OnClientItemClicking="onClientClicking" OnClientMouseOver="sb233loadtasks" 
    Skin="Metro"   EnableScreenBoundaryDetection="true" EnableAutoScroll="true" EnableRootItemScroll="true" DefaultGroupSettings-Height="500"  AutoScrollMinimumHeight="500" />

 

Below is JS to load and add the dynamic items to the sub menu:

function sb233loadtasks(menu, args)
        {
            var item=args.get_item();
 
// check if the target item is hovered over
            if (item.get_text().toLowerCase() == 'load task') {
                var icol = item.get_items(),timestamp=new Date().getTime();
                             
// show loading
                icol.getItem(0).set_visible(true);
 
            // remove items loaded from last time   
                for (var i = icol.get_count()-1 ; i >0 ; i--)
                    icol.removeAt(i);             
 
             // load the data from ajax call ...
 
                                var tasks = JSON.parse(data);
                                if (tasks instanceof Array && tasks.length) {
                                    menu.trackChanges();
                                    tasks.forEach(function (e) {
                                 
                      //add the item
                                            var sbsb = new Telerik.Web.UI.RadMenuItem();
                                            sbsb.set_text(e.taskname);
                                             
                                            icol.add(sbsb);
                                         
                                    });
                                    menu.commitChanges()
                                }

 

And adding conditionally other root items and the "load task" item to contain the sub menu in the back end, triggered upon page_load:

protected void SetupContextMenu(string ProjectID)
{          
    //Conditionally adding other static menu items...
      ...
     //Adding the item to contain the sub menu upon certain conditions
    RadMenuItem iETask = new RadMenuItem("Edit Task");
    iETask.Items.Add(new RadMenuItem(Utilities.Constants.loadingmsg));
    ...
}

 

I tried to set the default height both in the back end and on the menu tag, as well as disabling animations, removing autoscroll handler upon menu closure etc, per suggestions from other threads, so far all to no avail...

Any ideas?

 

Bryan
Top achievements
Rank 1
 asked on 20 May 2016
1 answer
103 views

So I have this binding problem

I want to bind a radgrid to List<Class1>

On the grid I want to display the following columns:

UserName

Make

Model

 

I also want the Make and Model to be grouped by UserName

 

The classes:

 

    public class Class1

    {

        public Class1()

        {

            Class2Objects = new List<Class2>();

        }

 

        public string Username { get; set; }

 

        public List<Class2> Class2Objects { get; set; }

 

   }

 

Public class Class2

{

               Public string Make{get;set;}

               Public string Model{get;set;}

}

 

The issue is I don't know how to bind to the sub-collection Class2Objects property of Class1

Can this be done

 

Thanks,

William

Konstantin Dikov
Telerik team
 answered on 19 May 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?