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

I have treeview control onclick on the child node I wand to populate the radGrid and it has a sorting functiolity.
OnClick of Node this method is called.

 
public void PageSelectionChanged(long pageID)  
{  
    ViewState["PageID"] = pageID;  
 
    radPageVersion.ReBind()  

 I have on onNeedDataSource set. In needDataSource event I am calling a private method which calls Stores Proc with node ID as parameter. The problem is Node click event  (PageSelectionChanged) is excecuted after NeedDataSource and rebind does not rebineds the grid and that is causing  Node and and grid gets out of sync.

If I enableVeiwState it works fine on node click but when I click on header to sort does not work the grid gets empty NeedDatasource does not fires.

 How can I make it work where I should be able to update grid onclick of some other controls and make sorting work?

Thanks
Imtiaz

Yavor
Telerik team
 answered on 15 Aug 2008
1 answer
132 views
Hi there,
Firstly, have you stopped providing support for Chart for Asp.NET? I've tried the following links and I'm just giving up on going through your manuals:

Try any of the link in the following links:
http://www.telerik.com/help/aspnet/chart/understandingelementsseries2.html
http://www.telerik.com/help/aspnet/chart/understandingelementsseriesdefaultvalues.html

There are more, but anyways....

How can I remove the numerical values that are displayed on top of the bar-charts? Currently, I'm getting a bar-graph, and numeric value is displayed on top of each bar (representing the y-value of the bar at location x). This number is toooooo far away from the actual bar and spcially in cases of a bar-chart these labelings become super confusing. For now we've decided to remove such labelings, unless there's an alternative (so we can display the label inside the bar may be?)

cheers!
Ves
Telerik team
 answered on 15 Aug 2008
1 answer
120 views
Hello!

I have a problem using combobox within IE 6 modal dialogs (window.showModalDialog). When dropdown is open it is drawn at position 1 pixel higher and 2 pixels left than it should. How this could be fixed?
Alex Gyoshev
Telerik team
 answered on 15 Aug 2008
1 answer
99 views
Is there a way to implement a page layout comprised of the following?
A. Toolbar with static height
B. Scheduler control that fills the remainder of the window height

With RadSplitter I use the HeightOffset property, but there does not seem to be a similar property for Scheduler. Is there a workaround for this kind of layout?
Alex Gyoshev
Telerik team
 answered on 15 Aug 2008
1 answer
95 views
I am looking to apply a different style to a grid item depending on user input.  My grid is automatically in full edit mode.  I tried to set the class name of the RadNumericTextBox in the client-side Blur event but it was not working for me.  If anyone has done this can they point me in the right direction?

Thanks!
Yavor
Telerik team
 answered on 15 Aug 2008
1 answer
101 views
Hi,

I am binding and displaying the chart in a grid views row command.In alternate times the chart displays "There is no or empty series".

ie: First time when I clicks chart shows the data, but second  it shows as "There is no or empty series", third time again the graph displays data, I have seen in debug mode also, it binds the data source.

Hope the problem is clear, what can I do to solve it ?

Regards
Vishwanath
Ves
Telerik team
 answered on 15 Aug 2008
1 answer
95 views
Hi,
I have both positive and negative values in Y-Axis of my graph. When I try to put scale breaks to the negative value bars,it appears but at the same time positive value bars are not visible.

I have made scale breaks enabled true, autoscale of Y axis false, and adding segments. You can see the code below

RadChart3.PlotArea.YAxis.ScaleBreaks.Enabled = true;
        RadChart3.PlotArea.YAxis.ScaleBreaks.Line.Color = System.Drawing.Color.Red;
        RadChart3.PlotArea.YAxis.ScaleBreaks.LineStyle = Telerik.Charting.ScaleBreakLineType.Sinusoid;
Telerik.Charting.AxisSegment seg1 = new Telerik.Charting.AxisSegment();
            seg1.MinValue = -20;
            seg1.MaxValue = 0;
            seg1.Step = 5;

            Telerik.Charting.AxisSegment seg2 = new Telerik.Charting.AxisSegment();
            seg2.MinValue = -100;
            seg2.MaxValue = -80;
            seg2.Step = 5;
        RadChart3.PlotArea.YAxis.ScaleBreaks.Segments.AddRange(new Telerik.Charting.AxisSegment[] { seg1, seg2 });
RadChart3.PlotArea.YAxis.VisibleValues = Telerik.Charting.Styles.ChartAxisVisibleValues.All;



Regards
Vishwanath
Ves
Telerik team
 answered on 15 Aug 2008
1 answer
95 views

<rad:RadEditor

Editable= "false"

HasPermission = "false"

ID="RadEditor1"

Width="600px"

Height="400px"

SaveInFile="True"

runat="server"

toolsfile="~/RadControls/Editor/ToolsFile.xml"

showhtmlmode="false"

showpreviewmode="true">

George
Telerik team
 answered on 15 Aug 2008
5 answers
301 views
I have following controled placed
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"   
        EnableHistory="True" EnablePageHeadUpdate="False">  
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RadAjaxManager1" /> 
                    <telerik:AjaxUpdatedControl ControlID="ToolListing" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">  
        <script type="text/javascript">  
            function RowSelected(sender, eventArgs) {  
                var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");  
                ajaxManager.ajaxRequest('ROWSELECT:' + eventArgs.get_itemIndexHierarchical());  
            }  
        </script> 
    </telerik:RadCodeBlock> 
<telerik:RadAjaxPanel ID="PnlContent" runat="server" EnablePageHeadUpdate="False" EnableHistory="True">  
<telerik:RadToolBar ID="ToolListing" runat="server">  
</telerik:RadToolBar> 
<telerik:RadGrid ID="AListingsGrid">  
<ClientSettings AllowKeyboardNavigation="True" EnableRowHoverStyle="True" EnablePostBackOnRowClick="False" 
    ClientEvents-OnRowSelected="RowSelected">  
<Selecting AllowRowSelect="True" /> 
<Scrolling AllowScroll="True" UseStaticHeaders="True" /> 
<Resizing AllowColumnResize="True" EnableRealTimeResize="True" /> 
</ClientSettings> 
</telerik:RadGrid> 
</telerik:RadAjaxPanel> 

it's a perfromance issue when user call ajaxmanager though javascript
page_load is triggered, with Ispostback =false and ListingGrid_NeedDataSource is triggered
so bascially it caused user to reload the data though ajax event....

anyway, i don't want to use the builtin Grid Selectedindexchanged event since it doesn't fire on drag-to-select
Konstantin Petkov
Telerik team
 answered on 15 Aug 2008
1 answer
133 views
Firstly, thanks for anyone reading this.

Re: Custom Skinning

I'm sure this is possible, but the code is eluding me. I have a background image (BackgroundTab.gif) set as the background of each of the RootGroup items. When I hover over it, I would like another image to replace the tab (BackgroundTab2.gif). However, thus far I have only been able to apply Background2.gif to any item I hover over, including child items. Any ideas on how to do this?

Thank you so much


Menu.ABMenu.css source

.RadMenu_ABMenu *  
{  
    padding: 0;  
}  
 
.RadMenu_ABMenu .rmHorizontal.rmRootGroup  
{  
    float: left;  
    height: 15px;     
}  
 
.RadMenu_ABMenu .rmHorizontal.rmRootGroup .rmItem  
{  
    background: transparent url('Menu/BackgroundTab.gif') no-repeat;  
}  
 
.imgTab  
{  
    width: 100%;  
    position: relative;  
}  
 
.RadMenu_ABMenu .rmHorizontal.rmRootGroup .rmFirst  
{  
    /*background-position: -750px 0;  
    background: transparent url('Menu/BackgroundFirst.gif') no-repeat;  
    height: 15px;  
    width: 20px;*/  
}  
 
.RadMenu_ABMenu .rmHorizontal.rmRootGroup .rmLast  
{  
    /*background-position: 100% 0;  
    background: transparent url('Menu/BackgroundLast.gif') no-repeat;  
    height: 15px;*/  
}  
 
.RadMenu_ABMenu .rmVertical.rmRootGroup  
{  
      
    border: 1px solid #00FF00;  
    float: left;  
    padding: 0 5px;  
}  
 
/*Any item that links somewhere*/  
.RadMenu_ABMenu .rmLink  
{  
    font: 11px/15px Arial,verdana,sans-serif;  
    margin: 3px 0;  
    color: #BB0000;  
    text-decoration: none;    
}  
 
.RadMenu_ABMenu .rmLeftImage  
{  
    margin: 0 2px;  
}  
 
.RadMenu_ABMenu .rmText  
{  
    margin: 0 0 0 13px;  
    padding: 0 13px 0 0;  
}  
 
.RadMenu_ABMenu .rmHorizontal.rmRootGroup .rmItem:hover  
{  
    background: transparent url('Menu/BackgroundTab2.gif') no-repeat;  
}  
 
.RadMenu_ABMenu .rmLink:hover,  
.RadMenu_ABMenu .rmExpanded,  
.RadMenu_ABMenu .rmFocused  
{  
    color: #fff;  
    border-bottom: solid 1px #fff;  
}  
 
.RadMenu_ABMenu .rmLink:hover .rmText,  
.RadMenu_ABMenu .rmExpanded .rmText,  
.RadMenu_ABMenu .rmFocused .rmText  
{  
        /*background: #333;*/  
}  
 
/* submenus */  
 
.RadMenu_ABMenu .rmRootGroup .rmGroup  
{  
    background: transparent url('Common/inoxHeader.jpg') repeat 0 0;  
}  
 
.RadMenu_ABMenu .rmRootGroup .rmGroup .rmItem  
{  
    background: none;  
    padding: 1px 5px;  
}  
 
.RadMenu_ABMenu .rmRootGroup .rmGroup .rmLink  
{  
    line-height: 17px;  
    color: #0000DD;  
}  
 
.RadMenu_ABMenu .rmRootGroup .rmGroup .rmLeftImage  
{  
    margin: 0 3px;  
}  
 
/*Items below the RootGroup*/  
.RadMenu_ABMenu .rmRootGroup .rmGroup .rmLink:hover,  
.RadMenu_ABMenu .rmRootGroup .rmGroup .rmExpanded,  
.RadMenu_ABMenu .rmRootGroup .rmGroup .rmFocused  
{  
    color: #171717;  
    background: transparent url('Menu/separatorTab.gif') no-repeat;  
    background-position: 80px 0px;  
}  
 
.RadMenu_ABMenu .rmRootGroup .rmGroup .rmLink:hover .rmText,  
.RadMenu_ABMenu .rmRootGroup .rmGroup .rmExpanded .rmText,  
.RadMenu_ABMenu .rmRootGroup .rmGroup .rmFocused .rmText  
{  
    background: transparent url('Menu/ItemBgLight.gif') no-repeat 100% 0;  
}  
 
/* separators */  
.RadMenu_ABMenu .rmVertical.rmRootGroup .rmItem.rmSeparator  
{  
    background: #CCC;  
    height: 1px;  
    font-size: 0;  
    line-height: 0;  
    border-bottom: 3px solid #fff;  
}  
 
/*Affects any Item whose isSeparator field is set to true*/  
.RadMenu_ABMenu .rmHorizontal.rmRootGroup .rmItem.rmSeparator  
{  
    background: transparent url('Menu/separatorTab.gif') no-repeat;  
    width: 45px;  
    height: 15px;  
}  
 
.RadMenu_ABMenu .rmHorizontal.rmRootGroup .rmVertical .rmItem.rmSeparator,  
.RadMenu_ABMenu .rmVertical.rmRootGroup .rmVertical .rmItem.rmSeparator  
{  
    padding: 0;  
    height: 1px;  
    margin-left: 5px;  
    border-bottom: 0;  
}  
 
/* disabled items */  
 
.RadMenu_ABMenu .rmDisabled,  
.RadMenu_ABMenu .rmDisabled:hover  
{  
    color: #666;  
    background: none;  
}  
 
.RadMenu_ABMenu .rmDisabled:hover .rmText  
{  
    background: none;  
}  
 
.RadMenu_ABMenu .rmTopArrow,  
.RadMenu_ABMenu .rmBottomArrow  
{  
    height: 10px;  
    width: 100%;  
    background: #000 url(Menu/ArrowScrollUpDown.gif) no-repeat top center;  
}  
 
.RadMenu_ABMenu .rmBottomArrow  
{  
    background-position: center -18px;  
}  
 
.RadMenu_ABMenu .rmLeftArrow,  
.RadMenu_ABMenu .rmRightArrow  
{  
    width: 10px;  
    height: 100%;  
    background: #000 url(Menu/ArrowScrollLeftRight.gif) no-repeat left center;  
}  
 
.RadMenu_ABMenu .rmRightArrow  
{  
    background-position: -18px center;  
Yana
Telerik team
 answered on 15 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?