<input type="file" id="file1" runat="server" name="file1" />
string fileName = (e.Item.FindControl("file1") as HtmlInputFile).PostedFile.FileName;
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.