Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
116 views
Hi,
in my application I need to insert images or html objects inside the x-axis labels of a Rad Chart.
Is it possible?
I'm trying to use the PlotArea.XAxis.TextBlock.Text to set the values but it works only for text values.

Thank you
Vladimir Milev
Telerik team
 answered on 16 Dec 2008
1 answer
144 views
Hi,

I'm trying to accomplish following:

I have graphs that represents percentage. So max value of graph iss 100%. In case when I have graph that si 100% I want my chart to extend to 110 but I must not set that last label to true.

I have setup this:

grafikon.PlotArea.YAxis.AxisMode =

ChartYAxisMode.Extended;

 

grafikon.PlotArea.YAxis.AutoScale =

false;

 

grafikon.PlotArea.YAxis.MaxValue = 105;

grafikon.PlotArea.YAxis.MinValue = 0;

grafikon.PlotArea.YAxis.Step = 10;

Basicly I wanted that chart can go only up to y value of 105 but when I set step parameter graph goes to 110 and writes label 110 on yaxis. That is confusing for my clients because they think they can have 110% of something.

Vladimir Milev
Telerik team
 answered on 16 Dec 2008
1 answer
212 views
I would like to use a treeview to show a grouped list of resource. So I would like the root nodes to show something like:-
+ Resource Type A (12)
+ Resource Type B (2)
etc etc

But I would like to have the child nodes of these root nodes to have a different template in this case it could be a Listview etc so that IO can control how they will appear on the screen.

I know that I can create the nodes server side but I can only create 1 server side template that is applied to all nodes (or so it seems) and while I can specify 2 templates on the design surface (Global) and (per defined Node Type) I do not see how I can do this when I am databinding. As in this case I am databinding to 2 datatables, one with the summary information and the other containing the detail information. I appreciate that this may not be clear, if you need me to clarify anything on this please let me know.

In essence I would like to show a treeview showing the summary and then something like a listview or grid for the child nodes.....

Any help guidance or wisdom would be much appreciated.

Many Thanks

Greg
Yana
Telerik team
 answered on 16 Dec 2008
4 answers
145 views
I am using BluePrint to for CSS and I have noticed that it throws all the RadControls off. The first thing it does is a reset of the CSS (it's pretty standard, all of the CSS or Yahoo UI components do it) Is this a known issue with Rad Controls?
Dimo
Telerik team
 answered on 16 Dec 2008
1 answer
159 views
Hi,

It seems that the code generated by a radwindowmanager generates w3c errors :

Error 1 :
Line 352, Column 11: required attribute "type" not specified.
				<script>

The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.

Error 2 :

Line 375, Column 17: character "{" is not allowed in the value of attribute "id".
				<a id="OKbtn_{0}" onclick="$find('{0}').callBack(this.parentNode.parentNode.

It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit.

My RadWindow Manager :

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="WebBlue" Behaviors="Close, Move, Resize" 
            OnClientShow="OnClientShow" Modal="true" IconUrl="~/App_Themes/prod/img/lsdm.gif"
        </telerik:RadWindowManager> 

The code it generates where the w3c occurs:

<div id="ctl00_CPHsidebar_RadWindowManager1_prompttemplate" style="display:none;"
        <div class="windowpopup radprompt">          
            <div class="dialogtext"
            {1}              
            </div>       
            <div> 
                <script> 
                function radwindowprompt_detectenter(id, ev) 
                {                            
                    if (!ev) ev = window.event;                 
                    if (ev.keyCode == 13) 
                    {                                        
                        var but = document.getElementById("OKbtn_"+id);                                                                            
                        if (but) 
                        {                            
                            if (but.click) but.click(); 
                            else if (but.onclick) 
                            { 
                                but.focus(); var click = but.onclick; but.onclick = null; if (click) click.call(but);                             
                            } 
                        } 
                       return false; 
                    }  
                    else return true; 
                }     
                </script> 
 
                <input  onkeydown="return radwindowprompt_detectenter('{0}', event);" type="text"  class="dialoginput" value="{2}" /> 
            </div> 
            <div> 
                <id="OKbtn_{0}" onclick="$find('{0}').callBack(this.parentNode.parentNode.getElementsByTagName('input')[0].value);"                
                    class="radwindowbutton" href="javascript:void(0);" ><span class="outerspan"><span class="innerspan">##LOC[OK]##</span></span></a> 
                <onclick="$find('{0}').callBack(null);" class="radwindowbutton"  href="javascript:void(0);"><span class="outerspan"><span class="innerspan">##LOC[Cancel]##</span></span></a> 
            </div> 
 

Is there a way to make the w3c validate that ?

Thank You

Regards

Arnaud Boiselle


Tervel
Telerik team
 answered on 16 Dec 2008
1 answer
61 views
I am trying to install the Radeditor 5.31 on MOSS 2007 SP1 and .net 3.5 SP1. After following all the steps, I am getting an error with the message. SPRequest object was not disposed before the end of this thread...
Does anybody have seen this error. Any help will be appreciated.
Tervel
Telerik team
 answered on 16 Dec 2008
3 answers
186 views
Hello EveryOne!!
Well, My problem is the next:
I'm already creating controls dynamically using RadAjaxManager
Until There Everything works like a charm!! =D
Here the code 
foreach (DataRow dr in dt.Rows)  
            {  
                RadioButtonList rbl = new RadioButtonList();  
                try  
                {  
                    rbl.ID = "rbl_" + dr["PK"].ToString();  
                    rbl.Items.Add(new ListItem("SI""1"));  
                    rbl.Items.Add(new ListItem("NO""0"));  
                    if (Convert.ToBoolean(dr["isCompleted"].ToString()))  
                    { rbl.SelectedValue = "1"; }  
                    else { rbl.SelectedValue = "0"; }  
                    rbl.RepeatDirection = RepeatDirection.Horizontal;  
                    this.panel.Controls.Add(rbl);  
                }  
                catch (Exception LoEx) { this.lblMsgError.Text = LoEx.Message; }  
                finally  
                {  
                    rbl = null;  
                    i++;  
                }  
            } 
That is the code for create the controls
and as I said, it works like a charm!
But my problem is when I want to save the data bounded to the control (dynamic controls are a common RadioButtons and they have a 1 for a "Yes" or 0 for "No" )
and when I click on the Update button

Maria Ilieva
Telerik team
 answered on 16 Dec 2008
7 answers
240 views
Hello,
        We have a treeview control which has childnodes to certain depth. These values are binded on server side. On Expansion of a node it binds the child values. The issue is i am not able to navigate up and down using keyboard. I tried using tabindex but still not working. In my scenario the user will use the mouse to point the top level node where it could around more than 10 items as top level node. Then the user will move up and down the over the tree. Currently when the user presses the navigation button its not working it just expands and stays there. Please let me know how to handle the navigation in this scenario. I can't use access keys here.

Regards,
Elango
Atanas Korchev
Telerik team
 answered on 16 Dec 2008
2 answers
187 views
I love the facility of filtering directly in the RadGrid. I've been playing around with it today and I've implemented the Google Suggest in a RadComboBox and it works very well, however I think I could achieve a similar end result in an easier way.

I would like just a text box which, on pressing enter, would perform a certain filter, most often 'contains'. I don't need the filter button, or perhaps I would like to replace it with a 'submit' style button. I think my users would just be confused by the filter drop down and I would rather choose a filter to be most appropriate for each column.

I know I can implement it with a custom grid colum but to save me a little time do you guys have any (vb if poss) examples to hand which already do this?
Rick
Top achievements
Rank 1
 answered on 16 Dec 2008
1 answer
173 views
All columns in my rad grid are template columns. So in my header template i have placed a button to trigger the sorting.Has anyone worked this out?
Vlad
Telerik team
 answered on 16 Dec 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?