Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
53 views
Hello,

Please contribute to solve my problem.

I am generating bar charts by binding it with data from my DB.It is a stackedBar chart.It is showing data correctly.
But i am facing a problem .Because when it shows values respective to bars.Then some vaues are coming on bar while are on plot area.It looks weired.I want that value for each bar should not come on bar.It may come where bar ends.What should i do so that every value come in the end of the bar insted of displaying on the bar of chart.

Please help if you have solution.Every post will be appriciated.

Thanks,
meet
Top achievements
Rank 1
 answered on 09 Mar 2009
1 answer
82 views
Hi,
im having two page views. When the page loads for the first time, im able to set the focus on the first control, which is an normal text box. when im clicking an button, im loading the second page view. In this page view i need to set focus on the rad date picker.
I cannot set the focus on this control. Can anyone help me on this.

Pavlina
Telerik team
 answered on 09 Mar 2009
1 answer
137 views
To whom it may concern:

I have downloaded a trial version of RadControls for ASPNET AJAX Q1 2009 and come acoss of the following issues, just wantt o confirm whether it is related to the trial:

1. "Error: Sys.WebForms.PageRequestManagerParserErrorException: The

message received from the server could not be parsed. Common

causes for this error are when the response is modified by calls to

Response.Write(), response filters, HttpModules, or server trace is

enabled."

 

2. Cannot load a user control with embedded RadGrid in the content page:

"Control 'ctl00_ctl01_RadGridRolesPanel' of type 'OurUpdatePanel' must be placed inside a form tag with runat=server."

The code is as below:

 

UserControl ctrl = this.LoadControl("~/User Controls/Roles.ascx") as UserControl;

this.Page.Controls.Add(ctrl);

3. If I move the javascript from the master page to the .js file:

function InitiateAsyncRequestComboBox(sender, eventArgs) {

var ajaxPanel = $find("<%= RadAjaxPanel1.ClientID %>");

ajaxPanel.ajaxRequest("SelectedApplication:" + eventArgs.get_item().get_text());

}

function InitiateAsyncRequestPanelBar(sender, eventArgs) {

var ajaxPanel = $find("<%= RadAjaxPanel1.ClientID %>");

ajaxPanel.ajaxRequest("ClickedItem:" + eventArgs.get_item().get_text());

}

the above ajaxPanel returns null. However, leaving it into the site.master file is not debugable.

Cheers

William

 

Pavlina
Telerik team
 answered on 09 Mar 2009
2 answers
99 views
I just noticed that when I place the RadGrid in Edit or Insert mode and the MasterEditTemplate shows the grid has paged down to the last page.  Can this be prevented?
Reid
Top achievements
Rank 2
 answered on 09 Mar 2009
3 answers
125 views
Hello Admin,

Well I am a newbie so it might possible that I might be unable to search what i needed..

Actually I needed a feature or want help in revealing feature. with RAD Edit

I want to read external html file in rad edit and want to save data in same file when a button click event fired....

sorry for poor english

code below i tried
using System.Text; 
using System.IO; 
 
 
public partial class wm_editor : System.Web.UI.Page 
{ 
     
    string qs = ""; 
    string filepath = ""; 
    protected void Page_Load(object sender, EventArgs e) 
    { 
        qs = Request.QueryString["e"]; 
        if (qs == "cdtls") 
        { 
            string add = "contactus.htm"; 
            filepath = Server.MapPath(add); 
            RadEditor1.Content = ReadFile(filepath); 
            // edit contact details 
        } 
    } 
public string ReadFile(string path) 
    { 
        if (System.IO.File.Exists(path)) 
        { 
            System.IO.StreamReader sr = new System.IO.StreamReader(path); 
            return sr.ReadToEnd(); 
        } 
        else 
        { 
            return string.Empty; 
        } 
    } 
protected void btnupd_Click(object sender, EventArgs e) 
    { 
        System.IO.StreamWriter externalfile = new System.IO.StreamWriter(filepath, false, Encoding.UTF8); 
        externalfile.Write(RadEditor1.Content);       
    } 
} 

but does not getting any result

Please Help me out
Rumen
Telerik team
 answered on 09 Mar 2009
1 answer
76 views
When I call via server side RadEditor which is inside a standard update I get an error in Firefox 3.0 as below. Does it need to be inside a RadUpdatePanel?

 Reditor.Controls.Add(r);
[Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: chrome://snipit/content/snipitOverlay.js :: anonymous :: line 150" data: no]
this._upperAbbrMonths = this...s.dateTimeFormat.AbbreviatedMonthNames);

This the server side code:
        protected void btEditor_Click(object sender, EventArgs e)
        {
            Telerik.Web.UI.RadEditor r = new Telerik.Web.UI.RadEditor();
            r.Width = 740;
            r.Height = 600;
            r.ID = "RadEditor1";
            
            Reditor.Controls.Add(r);
}
Rumen
Telerik team
 answered on 09 Mar 2009
1 answer
78 views
Hi,
  Currently I am working with self referential grid, I want to get first level of nodes once and when user clicks expand button, I want to get the second level of nodes from DB. To acheive this I want to set flag GridDataItem.CanExpand to true (since all the nodes may not be expandable).Unfortunately It says that the property "canexpand" is read only.

This is the blocker for my requirement.

Additionally I should be able to change the rows in detail tables and, in fact detail tables insertion and removal based on some external link clicks.

Please do let me know if following are possible.
Insert and Delete detail tables of self referential grid based on some external link clicks.
Instead of getting all levels of self-referential grid at time, if I can get only top most nodes and work on getting rest of nodes based on the expansion of grid rows(HierarchyLoadMode="serverOnDemand").

Any help would on this would really be a great favour.
Georgi Krustev
Telerik team
 answered on 09 Mar 2009
1 answer
103 views
In Rad Editor 2008.3.1314.35.
 

It appears that Icon Possitions in the Editor style sheet  for the Save and Cancel Buttons are incorrect.  

The Save button is rendering as a tiny arrow and the Cancel Button is rendering as a Envelope with a Lock over it.  
..\RadControls for ASPNET AJAX Q3 2008\Skins\editor.css
Contains


.Cancel

{

background-position: -1687px center;

}


.FileSave,

.FileSaveAs,

.Save,

.SaveLocal

{

background-position: -1407px center;

}


These position appear to be the Icon locations in the previous version of the Style Sheet. 

How should I edit the editor.css to reflect the correct locations? 
Rumen
Telerik team
 answered on 09 Mar 2009
1 answer
133 views
I've tried placing radMenu items inside a rotator (as described here: http://blogs.telerik.com/KevinBabcock/Posts/09-02-28/RadRotator_and_RadMenu_for_ASP_NET_AJAX_Building_an_Interactive_Menu_Together.aspx) and have found that if the menu has a dropdown - it gets cutoff at the edge of the rotator.

I've tried setting the z-index, changing the CSS overflow settings - but nothing seems to work.  Any way around this?
Fiko
Telerik team
 answered on 09 Mar 2009
1 answer
201 views
I want to freeze first few cloumns while horizontal scrolling in radgrid
Daniel
Telerik team
 answered on 09 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?