Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
62 views
How to create a RadGrid with TemplateColumns programmatically?

Thanks,
Pooya
Top achievements
Rank 1
 answered on 09 Jun 2011
1 answer
97 views
Hi,

I'm having a hard time trying to use the RadFileExplorer. I have just put it in some aspx page and set the "ViewPath" to "~\\App_Themes". The component loads fine, I can see the directories on the left, but no files on the right... Moreover, sometimes I get some callback error when clicking on directories, saying that there is some "invalid escape sequence" (error is in french).

Do you have any idea?

Thanks,
FB
Pero
Telerik team
 answered on 09 Jun 2011
3 answers
91 views
HI, I upgrade my solution to latest update of ASP.NET Ajax, then after I fixed the "Design error" (I copy the Design.dll 531.40 version to my bin) now I'm getting an error at runtime

In my bin I've UI and Design dlls version 531.40, using RadScriptManager

.aspx code

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Tecnico.aspx.cs" Inherits="SIO.Tecnico" %>
  
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" 
        EnableTheming="True">
    </telerik:RadScriptManager>
    <div>
        <div style="float:left;">
  
                    <telerik:RadPanelBar ID="rpbTecnico" Runat="server" Skin="Sunset" 
            Height="562px" onitemclick="rpbTecnico_ItemClick">
            <Items>
                <telerik:RadPanelItem runat="server" Text="Gateway SPES" Expanded="true">
                    <Items>
                        <telerik:RadPanelItem runat="server" Text="Stato" Value="rpi_GW_Status">
                        </telerik:RadPanelItem>
                        <telerik:RadPanelItem runat="server" Text="Configurazione">
                        </telerik:RadPanelItem>
                        <telerik:RadPanelItem runat="server" Text="Diagnostica">
                        </telerik:RadPanelItem>
                        <telerik:RadPanelItem runat="server" Text="Statistiche">
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem runat="server" Text="Konnex" Expanded="true">
                    <Items>
                        <telerik:RadPanelItem runat="server" Text="Stato" Value="rpi_KNX_Status">
                        </telerik:RadPanelItem>
                        <telerik:RadPanelItem runat="server" IsSeparator="true">
                        </telerik:RadPanelItem>
                        <telerik:RadPanelItem runat="server" Text="Chrono termostato">
                        </telerik:RadPanelItem>
                        <telerik:RadPanelItem runat="server" Text="Contabilizzatore di calore">
                        </telerik:RadPanelItem>
                        <telerik:RadPanelItem runat="server" Text="Relè A">
                        </telerik:RadPanelItem>
                        <telerik:RadPanelItem runat="server" Text="Relè B">
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem runat="server" Text="ZigBee" Expanded="true">
                </telerik:RadPanelItem>
                <telerik:RadPanelItem runat="server" Text="Controllore Centrale Termica" Expanded="true">
                    <Items>
                        <telerik:RadPanelItem runat="server" Text="Stato">
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>
            </Items>
        </telerik:RadPanelBar>
  
        </div>
        <div style="float:left;margin-left:10px;">
            <asp:Panel runat="server" ID="panContent">
              
            </asp:Panel>
        </div>
    </div>
    </form>
</body>
</html>

.cs code

protected void rpbTecnico_ItemClick(object sender, Telerik.Web.UI.RadPanelBarEventArgs e)
{
    if (e.Item.Value == "rpi_GW_Status")
    {
        panContent.Controls.Clear();
        UserControl ctrl = LoadControl("Tecnici/TecnicoGatewayStatus.ascx") as UserControl;
        panContent.Controls.Add(ctrl);
    }
}


It's blocking issue, that stop our develop, please...

regards
Kate
Telerik team
 answered on 09 Jun 2011
1 answer
90 views
Can anydbody help me to solve my problem with RadEditor control????


I am using RadEditor control to display images. But the image is not displaying in the image manager in the testing server. Please refer the attached document.

This is perfectly working in developement machine (localhost) which is pointing to the same database.

I store the images in the database as binary.

when I deploy in the testing server, the image is not displaying. Please help. This is very urgent.

Please see below the HTML code for the RadEditor control.

<

 

telerik:RadEditor ImageManager-MaxUploadFileSize="5048000 " Width="100%" Skin="Vista" ID="DiseaseAreaContentEditor" runat="server"

 

 

SkinID="IndiaHCPSetOfTools" BackColor="Transparent" Height="500px">

 

 

<CssFiles>

 

 

<telerik:EditorCssFile Value="~/Styles/TelerikRichEditorContentArea.css" />

 

 

</CssFiles>

 

 

 

<Modules>

 

 

<telerik:EditorModule Name="RadEditorStatistics" Visible="true" Enabled="true" />

 

 

</Modules>

 

 

</telerik:RadEditor>

Testing server and developement machine point to the same database.
Rumen
Telerik team
 answered on 09 Jun 2011
1 answer
175 views
Can anydbody help me to solve my problem with RadEditor control????


I am using RadEditor control to display images. But the image is not displaying in the image manager in the testing server. Please refer the attached document.

This is perfectly working in developement machine (localhost) which is pointing to the same database.

I store the images in the database as binary.

when I deploy in the testing server, the image is not displaying. Please help. This is very urgent.

Please see below the HTML code for the RadEditor control.

<

 

telerik:RadEditor ImageManager-MaxUploadFileSize="5048000 " Width="100%" Skin="Vista" ID="DiseaseAreaContentEditor" runat="server"

 

 

SkinID="IndiaHCPSetOfTools" BackColor="Transparent" Height="500px">

 

 

<CssFiles>

 

 

<telerik:EditorCssFile Value="~/Styles/TelerikRichEditorContentArea.css" />

 

 

</CssFiles>

 

 

 

<Modules>

 

 

<telerik:EditorModule Name="RadEditorStatistics" Visible="true" Enabled="true" />

 

 

</Modules>

 

 

</telerik:RadEditor>

Testing server and developement machine point to the same database.

 

Rumen
Telerik team
 answered on 09 Jun 2011
2 answers
82 views
Hi,

I have a chart that that makes a comparison. Let's say I have in the x-axis information from Q1 through Q4 for two companies. Therefore, I should have two bars for Q1, two bars for Q2 and so on. This works fine when I do have data for all four quarters.
This set up does not work when one of the companies does not have data for one of the quarters. Let's say Q3 does not have data for one of the companies. In this scenerio, the value of Q4 slides down to fill in the value in Q3, and Q4 is left without data for that company.

The following is how the chart is set up:
chartDefinition.DataGroupColumn = "Name";
chartDefinition.PlotArea.XAxis.DataLabelsColumn = "TimePeriod";
chartDefinition.Legend.Appearance.GroupNameFormat = "#VALUE:#NAME";

How can I fix this issue?
Thanks,
E.
Ernesto
Top achievements
Rank 1
 answered on 09 Jun 2011
3 answers
407 views
Hi,

I want to change the header strip color of PanelBar. Please see the attached screenshot. I made changes in PanelBar.css under div.rpHeaderTemplate for background Image but didn't get success. can anyone please let me know how to do that.

Thanks,
--Jai
Kate
Telerik team
 answered on 09 Jun 2011
12 answers
335 views
Hi,

I was wondering why the list of allowed files (your sample shows jpeg, png, gif) are displayed properly in the 'File Type' dropdown when browsing for a file on the AsynchUpload control, but show 'All Files' on the upload control, even thought the settings are the same.  Also, is there a way to actually filter these types in the available files window, like Windoes Explorer?

Thanks
Peter Filipov
Telerik team
 answered on 09 Jun 2011
1 answer
109 views
Hi,
I have a RadGrid within which I use an ItemTemplate to determine how the rows look. In the item template there is a RadToolBar, I want to have a javascript function for each of the buttons on the toolbar that does something with the ID of the current row (as contained in the ClientDataKeyNames for the grid.).

I'm getting to the function specified by OnClientButtonClicking but am then a little unsure how to get the ID of the row that was clicked.  Any pointers?

Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 09 Jun 2011
2 answers
195 views
I've got a ListView bound to a Linq data source. I've got both edit and insert templates. I only allow the user to edit two of the fields. the rest of the fields (i.e. update by user id, udpated datetime, created date time, etc.) I want the system to set. On what event of the ListView can I set the additional fields before the item is updated / inserted into the database? And coulde you show me an example?

Thanks!
Iana Tsolova
Telerik team
 answered on 09 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?