Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
218 views
I have a radgrid. It opens modal popup for edit/insert. inside this edit template there's another radgrid. it opens modal popup for edit/indert also. Problem is, second grid popup is not modal. Also from fist grid, when popup modal opens, page disables, as it should be, but radmenu still works... I tried very simple samples of hierarchy radgrid samples and grid-> modal popup - grid -> modalpopup combination always gives same result. "Radgrid poopup's edit functionality is not working IF they are another radgrid's modal edit popup"

Also you can see attached imate to understand what I mean & problem about radmenu. as you can see though modal opous opened mouse can still drop menu items and if you click them you can navigate.

any suggestions please ?

<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" CodePage="1254" AutoEventWireup="false"  
    CodeFile="Satinalmalar.aspx.vb" Inherits="Satinalmalar" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 29px;
        }
        .style3
        {
        }
        .style4
        {
            width: 155px;
        }
        .style5
        {
            width: 256px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <h2>
        Products
    </h2>
    <br />
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Sunset">
    </telerik:RadWindowManager>
    <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" CellSpacing="0"
        DataSourceID="SqlDataSource_Faturalar" GridLines="None" AllowAutomaticDeletes="True"
        AllowAutomaticInserts="True" AllowAutomaticUpdates="True" Width="469px" Skin="Sunset">
        <MasterTableView DataKeyNames="ID, Guidid" DataSourceID="SqlDataSource_Faturalar"
            CommandItemDisplay="Top" EditMode="PopUp">
            <CommandItemSettings ExportToPdfText="Export to PDF" AddNewRecordText="Yeni kayıt"
                ShowRefreshButton="False"></CommandItemSettings>
            <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                <HeaderStyle Width="20px"></HeaderStyle>
            </RowIndicatorColumn>
            <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                <HeaderStyle Width="20px"></HeaderStyle>
            </ExpandCollapseColumn>
            <Columns>
                <telerik:GridBoundColumn DataField="ID" DataType="System.Int32" FilterControlAltText="Filter ID column"
                    HeaderText="ID" ReadOnly="True" Visible="false" SortExpression="ID" UniqueName="ID">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="FirmaAdi" FilterControlAltText="Filter FirmaAdi column"
                    HeaderText="FirmaAdi" SortExpression="FirmaAdi" UniqueName="FirmaAdi">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="FaturaNo" FilterControlAltText="Filter FaturaNo column"
                    HeaderText="FaturaNo" SortExpression="FaturaNo" UniqueName="FaturaNo">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Tarih" FilterControlAltText="Filter Tarih column"
                    HeaderText="Tarih" SortExpression="Tarih" UniqueName="Tarih">
                </telerik:GridBoundColumn>
                <telerik:GridEditCommandColumn CancelText="İptal" EditText="Güncelle" FilterControlAltText="Filter EditCommandColumn column"
                    InsertText="Ekle" UpdateText="Kaydet">
                </telerik:GridEditCommandColumn>
                <telerik:GridButtonColumn CommandName="Delete" ConfirmText="Kaydı silmek istediğinize eminmisiniz ?"
                    ConfirmTitle="KarinaMira" FilterControlAltText="Filter column column" UniqueName="column"
                    ConfirmDialogType="RadWindow" Text="Sil">
                </telerik:GridButtonColumn>
            </Columns>
            <EditFormSettings EditFormType="Template" InsertCaption="Yeni Kayıt" CaptionFormatString="Güncelleme">
                <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                </EditColumn>
                <FormTemplate>
                    <table class="style1">
                        <tr>
                            <td class="style2">
                            </td>
                            <td class="style3">
                                Firma Adı
                            </td>
                            <td>
                                <telerik:RadComboBox ID="RadComboBox1" runat="server" DataSourceID="SqlDataSource_Firmalar"
                                    DataTextField="FirmaAdi" DataValueField="Guidid" EmptyMessage="Seçiniz" Skin="Outlook"
                                    OnDataBound="RadComboBox1_DataBound" SelectedValue='<%# Bind("FirmaGuidid") %>'>
                                </telerik:RadComboBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="RadComboBox1"
                                    ErrorMessage="**" Font-Bold="True" Font-Size="Small" ForeColor="#CC3300"></asp:RequiredFieldValidator>
                            </td>
                            <td>
                                  
                            </td>
                        </tr>
                        <tr>
                            <td class="style2">
                            </td>
                            <td class="style3">
                                Fatura No
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("FaturaNo") %>'></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBox2"
                                    ErrorMessage="**" Font-Bold="True" Font-Size="Small" ForeColor="#CC3300"></asp:RequiredFieldValidator>
                            </td>
                            <td>
                                  
                            </td>
                        </tr>
                        <tr>
                            <td class="style2">
                            </td>
                            <td class="style3">
                                Tarih
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("Tarih") %>'></asp:TextBox>
                            </td>
                            <td>
                                  
                            </td>
                        </tr>
                        <tr>
                            <td class="style2">
                            </td>
                            <td class="style3">
                            </td>
                            <td>
                            </td>
                            <td>
                                  
                            </td>
                        </tr>
                        <tr>
                            <td class="style2">
                                  
                            </td>
                            <td class="style3" colspan="2">
                                detay<br />
                                <telerik:RadGrid ID="RadGrid2" runat="server" AllowAutomaticDeletes="True" OnNeedDataSource="RadGrid2_NeedDataSource"
                                    OnUpdateCommand="RadGrid2_UpdateCommand" OnInsertCommand="RadGrid2_InsertCommand"
                                    OnItemCommand="RadGrid2_ItemCommand" AutoGenerateColumns="False" DataKeyNames="No"
                                    OnDeleteCommand="RadGrid2_DeleteCommand" CellSpacing="0" GridLines="None">
                                    <MasterTableView AutoGenerateColumns="False" CommandItemDisplay="Top" EditMode="PopUp"
                                        ShowHeadersWhenNoRecords="true">
                                        <CommandItemSettings ExportToPdfText="Export to PDF" AddNewRecordText="Yeni fatura kalemi"
                                            ShowRefreshButton="False" />
                                        <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                                        </RowIndicatorColumn>
                                        <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                                        </ExpandCollapseColumn>
                                        <Columns>
                                            <telerik:GridTemplateColumn DataField="No" DataType="System.Int32" FilterControlAltText="Filter No column"
                                                Visible="false" HeaderText="No" SortExpression="No" UniqueName="No">
                                                <EditItemTemplate>
                                                    <asp:TextBox ID="NoTextBox_" runat="server" Width="40px" Text='<%# Bind("No") %>'></asp:TextBox>
                                                </EditItemTemplate>
                                                <ItemTemplate>
                                                    <asp:Label ID="NoLabel" runat="server" Text='<%# Eval("No") %>'></asp:Label>
                                                </ItemTemplate>
                                            </telerik:GridTemplateColumn>
                                            <telerik:GridTemplateColumn DataField="Urun" FilterControlAltText="Filter Urun column"
                                                HeaderText="Ürün" SortExpression="Urun" UniqueName="Urun">
                                                <EditItemTemplate>
                                                    <telerik:RadComboBox ID="RadComboBoxUrun_" runat="server" DataSourceID="SqlDataSource_Urunler"
                                                        DataTextField="UrunAdi" DataValueField="Guidid" EmptyMessage="Seçiniz" Skin="Outlook"
                                                        OnDataBound="RadComboBoxUrun_DataBound" SelectedValue='<%# Bind("UrunGuidid") %>'>
                                                    </telerik:RadComboBox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5_" runat="server" ControlToValidate="RadComboBoxUrun_"
                                                        ErrorMessage="**" Font-Bold="True" Font-Size="Small" ForeColor="#CC3300"></asp:RequiredFieldValidator>
                                                </EditItemTemplate>
                                                <ItemTemplate>
                                                    <asp:Label ID="UrunLabel" runat="server" Text='<%# Eval("Urun") %>'></asp:Label>
                                                </ItemTemplate>
                                            </telerik:GridTemplateColumn>
                                            <telerik:GridTemplateColumn DataField="Miktar" FilterControlAltText="Filter Miktar column"
                                                HeaderText="Miktar" SortExpression="Miktar" UniqueName="Miktar">
                                                <EditItemTemplate>
                                                    <asp:TextBox ID="MiktarTextBoxX" runat="server" Width="40px" Text='<%# Bind("Miktar") %>'></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6x" runat="server" ControlToValidate="MiktarTextBoxX"
                                                        ErrorMessage="**" Font-Bold="True" Font-Size="Small" ForeColor="#CC3300"></asp:RequiredFieldValidator>
                                                </EditItemTemplate>
                                                <ItemTemplate>
                                                    <asp:Label ID="MiktarLabel" runat="server" Text='<%# Eval("Miktar") %>'></asp:Label>
                                                </ItemTemplate>
                                            </telerik:GridTemplateColumn>
                                            <telerik:GridTemplateColumn DataField="Birim" FilterControlAltText="Filter Birim column"
                                                HeaderText="Birim" SortExpression="Birim" UniqueName="Birim">
                                                <EditItemTemplate>
                                                    <asp:TextBox ID="BirimTextBox_" runat="server" Width="40px" ReadOnly="true" Text='<%# Bind("Birim") %>'></asp:TextBox>
                                                </EditItemTemplate>
                                                <ItemTemplate>
                                                    <asp:Label ID="BirimLabel" runat="server" Text='<%# Eval("Birim") %>'></asp:Label>
                                                </ItemTemplate>
                                            </telerik:GridTemplateColumn>
                                            <telerik:GridTemplateColumn DataField="BirimFiyat" FilterControlAltText="Filter BirimFiyat column"
                                                HeaderText="Birim Fiyat" SortExpression="BirimFiyat" UniqueName="BirimFiyat">
                                                <EditItemTemplate>
                                                    <asp:TextBox ID="BirimFiyatTextBox_" runat="server" Width="40px" Text='<%# Bind("BirimFiyat") %>'></asp:TextBox>
                                                </EditItemTemplate>
                                                <ItemTemplate>
                                                    <asp:Label ID="BirimFiyatLabel" runat="server" Text='<%# Eval("BirimFiyat") %>'></asp:Label>
                                                </ItemTemplate>
                                            </telerik:GridTemplateColumn>
                                            <telerik:GridTemplateColumn DataField="ToplamFiyat" FilterControlAltText="Filter ToplamFiyat column"
                                                HeaderText="ToplamFiyat" SortExpression="ToplamFiyat" UniqueName="ToplamFiyat">
                                                <EditItemTemplate>
                                                    <asp:TextBox ID="ToplamFiyatTextBox_" runat="server" Width="60px" ReadOnly="true"
                                                        Text='<%# Bind("ToplamFiyat") %>'></asp:TextBox>
                                                </EditItemTemplate>
                                                <ItemTemplate>
                                                    <asp:Label ID="ToplamFiyatLabel" runat="server" Text='<%# Eval("ToplamFiyat") %>'></asp:Label>
                                                </ItemTemplate>
                                            </telerik:GridTemplateColumn>
                                            <telerik:GridEditCommandColumn CancelText="İptal" EditText="Güncelle" FilterControlAltText="Filter EditCommandColumn column"
                                                InsertText="Ekle" UpdateText="Kaydet">
                                            </telerik:GridEditCommandColumn>
                                            <telerik:GridButtonColumn CommandName="Delete" ConfirmText="Kaydı silmek istediğinize eminmisiniz ?"
                                                ConfirmTitle="KarinaMira" FilterControlAltText="Filter column column" UniqueName="column"
                                                ConfirmDialogType="RadWindow" Text="Sil">
                                            </telerik:GridButtonColumn>
                                        </Columns>
                                        <EditFormSettings EditFormType="Template">
                                            <EditColumn FilterControlAltText="Filter EditCommandColumn1 column" UpdateText="Kaydet"
                                                CancelText="İptal" UniqueName="EditCommandColumn1">
                                            </EditColumn>
                                            <FormTemplate>
                                                <table class="style1">
                                                                                                        <tr>
                                                        <td class="style5">
                                                            Ürün
                                                        </td>
                                                        <td>
                                                            <telerik:RadComboBox ID="RadComboBoxUrun" runat="server" DataSourceID="SqlDataSource_Urunler"
                                                                DataTextField="UrunAdi" DataValueField="Guidid" EmptyMessage="Seçiniz" OnDataBound="RadComboBoxUrun_DataBound"
                                                                SelectedValue='<%# Bind("UrunGuidid") %>' Skin="Outlook">
                                                            </telerik:RadComboBox>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="RadComboBoxUrun"
                                                                ErrorMessage="**" Font-Bold="True" Font-Size="Small" ForeColor="#CC3300"></asp:RequiredFieldValidator>
                                                        </td>
                                                        <td>
                                                              
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <asp:TextBox ID="NoTextBox" runat="server" Text='<%# Bind("No") %>' Visible="false"
                                                                Width="40px"></asp:TextBox>
                                                        </td>
                                                        <td>
                                                        </td>
                                                        <td>
                                                        </td>
                                                    </tr>
 
                                                    <tr>
                                                        <td class="style5">
                                                            Miktar
                                                        </td>
                                                        <td>
                                                            <telerik:RadNumericTextBox ID="MiktarTextBox"  runat="server" Width="40px" Culture="tr-TR"
                                                                DbValue ='<%# Bind("Miktar") %>'>
                                                            </telerik:RadNumericTextBox>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="MiktarTextBox"
                                                                ErrorMessage="**" Font-Bold="True" Font-Size="Small" ForeColor="#CC3300"></asp:RequiredFieldValidator>
                                                            <asp:RangeValidator ID="RangeValidator1" runat="server" MinimumValue="0" MaximumValue="999999999"  ErrorMessage="**" Font-Bold="True" Font-Size="Small" ForeColor="#CC3300" ControlToValidate="MiktarTextBox"></asp:RangeValidator>
                                                        </td>
                                                        <td>
                                                              
                                                        </td>
                                                        <td>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="style5">
                                                            Birim
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="BirimTextBox" runat="server" Width="40px" ReadOnly="true" Text='<%# Bind("Birim") %>'></asp:TextBox>
                                                        </td>
                                                        <td>
                                                              
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="style5">
                                                            Birim Fiyat
                                                        </td>
                                                        <td>
                                                            <telerik:RadNumericTextBox ID="BirimFiyatTextBox" runat="server"  dbvalue='<%# Bind("BirimFiyat") %>'
                                                              Culture="tr-TR"   Width="40px">
                                                            </telerik:RadNumericTextBox>
                                                        </td>
                                                        <td>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="style5">
                                                            Toplam Fiyat
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="ToplamFiyatTextBox" runat="server" ReadOnly="true" Text='<%# Bind("ToplamFiyat") %>'
                                                                Width="60px"></asp:TextBox>
                                                        </td>
                                                        <td>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="style5">
                                                            ddd
                                                        </td>
                                                        <td colspan="2">
                                                            <table style="width: 374px">
                                                                <tr>
                                                                    <td>
                                                                        <telerik:RadButton ID="RadButton11" runat="server" CommandName='<%# Iif (TypeOf Container is GridEditFormInsertItem, "PerformInsert", "Update") %>'
                                                                            Skin="Hay" Text='<%# Iif (TypeOf Container is GridEditFormInsertItem, "Ekle", "Kaydet") %>'
                                                                            Width="80px">
                                                                        </telerik:RadButton>
                                                                    </td>
                                                                    <td>
                                                                        <telerik:RadButton ID="RadButton33" runat="server" CausesValidation="False" CommandName="Cancel"
                                                                            Skin="Hay" Text="İptal" Width="90px">
                                                                        </telerik:RadButton>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </FormTemplate>
                                            <PopUpSettings Modal="True" Height="300px" />
                                        </EditFormSettings>
                                    </MasterTableView>
                                    <FilterMenu EnableImageSprites="False">
                                    </FilterMenu>
                                    <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
                                    </HeaderContextMenu>
                                </telerik:RadGrid>
                                <p>
                                </p>
                                <p>
                                </p>
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox_Guidid" runat="server" Visible="false" Text='<%# Bind("Guidid") %>'></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="style2">
                                  
                            </td>
                            <td class="style3">
                                  
                            </td>
                            <td>
                                  
                            </td>
                            <td>
                                  
                            </td>
                        </tr>
                        <tr>
                            <td class="style2">
                                  
                            </td>
                            <td class="style3" colspan="2">
                                <table style="width: 374px">
                                    <tr>
                                        <td>
                                            <telerik:RadButton ID="RadButton11" runat="server" CommandName='<%# Iif (TypeOf Container is GridEditFormInsertItem, "PerformInsert", "Update") %>'
                                                Skin="Hay" Text='<%# Iif (TypeOf Container is GridEditFormInsertItem, "Ekle", "Kaydet") %>'
                                                Width="80px">
                                            </telerik:RadButton>
                                        </td>
                                        <td>
                                            <telerik:RadButton ID="RadButton33" runat="server" CausesValidation="False" CommandName="Cancel"
                                                Skin="Hay" Text="İptal" Width="90px">
                                            </telerik:RadButton>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td>
                                  
                            </td>
                        </tr>
                        <tr>
                            <td class="style2">
                                  
                            </td>
                            <td class="style3">
                                  
                            </td>
                            <td>
                                  
                            </td>
                            <td>
                                  
                            </td>
                        </tr>
                    </table>
                </FormTemplate>
                <PopUpSettings Modal="True" Width="800px" ShowCaptionInEditForm="true" />
            </EditFormSettings>
        </MasterTableView>
        <FilterMenu EnableImageSprites="False">
        </FilterMenu>
        <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
        </HeaderContextMenu>
    </telerik:RadGrid>
    <asp:SqlDataSource ID="SqlDataSource_Faturalar" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionStringNET %>"
        DeleteCommand="DELETE FROM [Faturalar] WHERE [ID] = @ID" InsertCommand="INSERT INTO [Faturalar] ([FirmaGuidid], [FaturaNo], [Tarih], Guidid) VALUES (@FirmaGuidid, @FaturaNo, @Tarih, @Guidid)"
        SelectCommand="SELECT * FROM [Faturalar_View]" UpdateCommand="UPDATE [Faturalar] SET [FirmaGuidid] = @FirmaGuidid, [FaturaNo] = @FaturaNo, [Tarih] = @Tarih, Guidid = @Guidid WHERE [ID] = @ID">
        <DeleteParameters>
            <asp:Parameter Name="ID" Type="Int32" />
        </DeleteParameters>
        <InsertParameters>
            <asp:Parameter Name="FirmaGuidid" Type="String" />
            <asp:Parameter Name="FaturaNo" Type="String" />
            <asp:Parameter Name="Tarih" Type="String" />
            <asp:Parameter Name="Guidid" Type="String" />
        </InsertParameters>
        <UpdateParameters>
            <asp:Parameter Name="FirmaGuidid" Type="String" />
            <asp:Parameter Name="FaturaNo" Type="String" />
            <asp:Parameter Name="Tarih" Type="String" />
            <asp:Parameter Name="ID" Type="Int32" />
            <asp:Parameter Name="Guidid" Type="String" />
        </UpdateParameters>
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="SqlDataSource_Firmalar" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionStringNET %>"
        SelectCommand="SELECT [FirmaAdi], [Guidid] FROM [Firmalar] ORDER BY [FirmaAdi]">
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="SqlDataSource_Urunler" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionStringNET %>"
        SelectCommand="SELECT UrunAdi, [Guidid] FROM Urunler ORDER BY UrunAdi"></asp:SqlDataSource>
</asp:Content>

Maria Ilieva
Telerik team
 answered on 17 May 2011
3 answers
111 views
Hi,

in the demo of the RadRotator with Ticker ..
 
the data source that I'm using is SqlDataSource .. and I can access the items in the Rotator ... but I have

a problem access the RadTickerItem inside it which is inside the RadTicker .. 

so .. any help I will be grateful.
Niko
Telerik team
 answered on 17 May 2011
5 answers
218 views
I am trying to enable the inline spell check for the editor.  The editor is inside RadGrid / MasterTableView / EditFormSettings / FormTemplate.

The inline spell check doesn't work, but explicit call to the AJAXSpellEdit does work properly.  I have followed the instruction to copy the dictionary files to App_Data/RadSpell, add the handler in web.config.

<telerik:RadEditor runat="server" ID="txtDescription" Width="99%" ToolsFile="Styles/defaultTools.xml" EditModes="Design" Content='<%# Bind("Desc") %>' >
                    <Languages>
                        <telerik:SpellCheckerLanguage Code="en-US" Title="English" />
                    </Languages>
                    <SpellCheckSettings AllowAddCustom="true" SpellCheckProvider="PhoneticProvider" DictionaryLanguage="en-US" />
 
                    <CssFiles>
                        <telerik:EditorCssFile Value="Styles/empty.css" />
                    </CssFiles>
 
                    <Modules>
                        <telerik:EditorModule Name="RadEditorStatistics" />
                        <telerik:EditorModule Name="RadEditorDomInspector" />
                    </Modules>
                </telerik:RadEditor>
Rumen
Telerik team
 answered on 17 May 2011
6 answers
122 views
Hi,
We are experiencing something I am unsure if it is a bug or a limitation in RadEditor.

Here are the steps to reproduce
1. In desing mode, insert a "select" form element
2. Click on the newly inserted "select" element
3. The property panel is empty; the properties of the select element cannot be edited (name, id, witdth, height, tooltip, etc) .

This behavior can be reproduced in the current online demos. It is the same in ie6 and ie8.

Are the properties editable in any way? Also, is there any mean for the user to edit the options available in the select control ?

Thanks !
Rumen
Telerik team
 answered on 17 May 2011
4 answers
97 views
Hi
I am using file download control in my Edit Popup as given below;
<input type="file" id="file1" runat="server" name="file1" />

But when i try to  get the value from the control i am getting null value though i selected the desired file i want to download.
string fileName = (e.Item.FindControl("file1") as HtmlInputFile).PostedFile.FileName;

I am also not able to empty validation with traditional asp.net required field validator. But in normal form it works fine as desired.
So please let me know how to get and validate the value from filedownload control as soon as possible

-thanks
John John
Top achievements
Rank 1
 answered on 17 May 2011
1 answer
128 views
I'm just curious, but are the images that are used in the demos available for download or are they installed somewhere when installing teh controls? I know in the older, non-AJAX versions, all the skins had all the toolbar button images, but that doesn't appear to be the case anymore.

Thanks,
Adam

Kate
Telerik team
 answered on 17 May 2011
1 answer
124 views

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()

Tsvetie
Telerik team
 answered on 17 May 2011
1 answer
122 views

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>


IE
<a href="http://www.google.com/"><font color="#92d050click here</font></a>

Trevor
Rumen
Telerik team
 answered on 17 May 2011
1 answer
97 views
Hi
I need to set some string values for my chart X-Axis, Is this possible? I'm using 2010 Q1 Components.
Would you please help me in that? 
Shinu
Top achievements
Rank 2
 answered on 17 May 2011
1 answer
56 views
Hello,

I've got a problem with filtering string field using "between" and "not between" options from the standard available filter list. It just throw exception like "Operator '>=' incompatible with operand types 'Object' and 'String' (at index 20)"
ne.
I looked around the forum and I found out it can be "EnableLinqExpression" issue. So I add to my radGrid ( on the aspx page)
EnableLinqExpression=false. And all works fine!

Unfortunately another filter for the datetime field stoped working with "between" and "not between" options. This particular field filtering is handled separately by "OnItemCommand" (to allow filtering date without time).

What could be the best solution for this problem?

My telerik version is: 2008.3.1125.35

Thanks in advance,
Tom
 
Pavlina
Telerik team
 answered on 17 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?