We are using the RAD chart and love it. We are having a problem displaying XML data in non file format. If we save the XML file the chart populates correctly, if we try using an object, we get :
“There is no or empty series”
Here is our code, any help would be appreciated:
We have to bind RadChart.
…..
Dim resp As HttpWebResponse = DirectCast(req.GetResponse(), HttpWebResponse)
Dim reader As New StreamReader(resp.GetResponseStream())
Dim d As New XmlDocument()
d.LoadXml(reader.ReadToEnd())
reader.Close()
d.Save(Server.MapPath("xmlFiles/Expense.xml"))
RadChart1.DataSource = Server.MapPath("~/xmlFiles/Expense.xml")
RadChart1.DataBind()
This is works, but if I try to bind without save xml file (d.Save(Server.MapPath("xmlFiles/Expense.xml"))) :
…..
Dim resp As HttpWebResponse = DirectCast(req.GetResponse(), HttpWebResponse)
Dim reader As New StreamReader(resp.GetResponseStream())
Dim d As New XmlDocument()
d.LoadXml(reader.ReadToEnd())
reader.Close()
RadChart1.DataSource = d.OuterXml
RadChart1.DataBind()
In radeditor, in design view,
When i highlight a hyperlink and set the color, it does not change. This is not the case in IE.
radeditor in firefox adds a font tag on the outside of the hyperlink where IE adds the font tag to the inside of the hyperlink.
When the font tag is on the outside of the hyperlink it gets ignored by all browsers.
How can I use firefox to conveniently change the font color of a hyperlink???
FIREFOX
<font color="#92d050"><a href="http://www.google.com/">click here</a></font><a href="http://www.google.com/"><font color="#92d050click here</font></a>
<telerik:RadWindowManager ID="rwmCustomer" runat="server" ReloadOnShow="true" EnableViewState="false">
<Windows>
<telerik:RadWindow ID="rwCustomer" runat="server" Title="Find a customer" OpenerElementID='<%# Me.lnkCustomer.ClientID %>' NavigateUrl='<%# Me.lnkCustomer.NavigateUrl %>' />
</Windows>
</telerik:RadWindowManager>
<asp:HyperLink ID="lnkCustomer" runat="server" ToolTip="Search for a customer" NavigateUrl="someurl.aspx" />
The RadWindow opens up correctly in both IE 7 and Firefox 4.0.1. However, in Firefox, despite having MaintainScrollPositionOnPostback set to "true", the page scrolls back to the top but the RadWindow opens however far down the page the lnkCustomer link is placed, which means that users only see the very top of the RadWindow. Because the original page cannot be scrolled while the RadWindow is open, users therefore cannot use the RadWindow properly.
I would be grateful for any assistance.
Thanks in advance.
I'm using the RadMenu to show different UserControls, which are basically forms, that cause a PostBack when the buttons within them are clicked. I had been using RadToolTips for these, but thought the RadMenu treatment looked better. Now I'm wondering if maybe RadMenus aren't meant to be used this way?
Anyways, the problem I'm having is that whenever I execute a PostBack in the usercontrol, which is embedded in a RadMenuItem, it doesn't do a PostBack, and there is some Javascript error in the ScriptResource.axd that causes the page to become unstable - none of the controls seem to work after that until I reload the page. I do have all of the RadMenus within an UpdatePanel, so Ajax is enabled and being used. When I replace these menu items with tooltips, with the same usercontrols embedded within them, the postbacks DO work, so I'm just wondering if there is something I need to do in the command for these buttons because they are embedded in a RadMenuItem? Here's an example of the code I use to add the UserControl to the RadMenuItem:
var followUp = menuSourceControl.FindItemByText("FollowUpScreen"); if(followUp != null) { var followUpForm = LoadControl("~/controls/popups/FollowUpForm.ascx"); ((FollowUpForm)followUpForm).RID = rid; followUp.Controls.Add(followUpForm); }I couldn't find any mention or example of this on the site, but would welcome any guidance on this.
Thanks!
Eddie