Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
204 views
Hi - I am using the ASP.NET Grid Q2 2009.

Columns for whom sorting is enabled do not have any background color. This means that the entire header bar i the default grey color, and the texts are black. However the background color under the header text is white. Columns that do not have sorting enabled have no problem.

Another similar problem is in the pager. The drop-down list for the number of items do not  have any "arrow image". Instead its a white block.

I initially went with a trial version of Q1 2009, and thought these problems to be due to the trial version. However I later bought a license, uninstalled Q1 version and installed the new licensed version.

Any suggestions would be appreciated.

Regards
Thomas
Pavel
Telerik team
 answered on 21 Sep 2009
6 answers
1,000 views
Hi,

I wonder how I can get my RadTextBox render html tags like Rad TextBox is great insteads of show them out like this
<strong>Rad TextBox is great</strong>

Thank you,

d-cpt
d-cpt
Top achievements
Rank 2
 answered on 21 Sep 2009
2 answers
212 views
Is there a way in the RadGrid that when you hir the edit button a column is not editable but when you hit Insert You can still enter data.

I tried making a column Read only which it does not show up when the user hits the edit button, but it is alos not showing when the user hits the insert button.  I would like one field to be locked when editing but still allow the user to enter a value when entering a brand new record.
Eric Klein
Top achievements
Rank 1
 answered on 21 Sep 2009
1 answer
108 views
I am building RadPanelBar (Dynamic) in Page Load event of an user control. The User control I am using in other aspx web pages.
So, on web page refresh the control is getting re-loaded and radpanelbar is collapsing all items.

how to keep the same radpanelitem expaned, which was open before page refresh?
Shinu
Top achievements
Rank 2
 answered on 21 Sep 2009
1 answer
66 views
We are using multiple rad editor controls in a page with only 1 ribon. We attach onclick event on divs to activate a control ( showing the control and make it editable ). We use custom javascript code to do this and work just fine in IE 6.0 and >.

It doesnt work in firefox 3.5 though.

the custom javascript code hides, moves and clear text of the radeditor. AFTER executing this code a DOM event set the text of the previous selected radeditor in the current.

we are using version 7.3.2.0 of this control.

please help.
Rumen
Telerik team
 answered on 21 Sep 2009
2 answers
74 views
Hi!

I have a grid with hierarchy. The code you can see below:
                        <telerik:RadGrid ID="GridLocalidade" Width="100%" Skin="Telerik" 
                            runat="server" AllowPaging="false" AllowSorting="true" 
                            GridLines="None" AutoGenerateColumns="false" 
                            OnNeedDataSource="GridLocalidade_NeedDataSource" 
                            OnDetailTableDataBind="GridLocalidade_DetailTableDataBind"> 
                            <MasterTableView GridLines="None" DataKeyNames="IdTipoProcesso" Name="TableViewProcessos"> 
                                 
                                <DetailTables> 
                                    <telerik:GridTableView GridLines="None" Width="100%" CommandItemDisplay="None" 
                                        DataKeyNames="IdTipoProcesso" Name="TableViewProcLocalidades"> 
                                        <ParentTableRelation> 
                                            <telerik:GridRelationFields DetailKeyField="IdTipoProcesso" MasterKeyField="IdTipoProcesso" /> 
                                        </ParentTableRelation>     
                                        <Columns> 
                                            <telerik:GridBoundColumn UniqueName="IdTipoProcesso" HeaderText="IdProcesso" DataField="IdTipoProcesso" Visible="false" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"></telerik:GridBoundColumn> 
                                            <telerik:GridBoundColumn UniqueName="IdCidade" HeaderText="IdLocalidade" DataField="Localidade.IdCidade" Visible="false" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"></telerik:GridBoundColumn> 
                                            <telerik:GridBoundColumn UniqueName="NomeCidade" HeaderText="Localidade" DataField="Localidade.NomeCidade" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"></telerik:GridBoundColumn> 
                                            <telerik:GridTemplateColumn UniqueName="CheckBoxTemplateColumn" DataType="System.Boolean" DataField="ControlaGente" HeaderStyle-Width="130px"> 
                                                <HeaderTemplate> 
                                                   <asp:CheckBox id="chkHeaderGente" OnCheckedChanged="ChkSelectedLocGente" AutoPostBack="True" runat="server"></asp:CheckBox> Controlar Gente 
                                                </HeaderTemplate> 
                                                <ItemTemplate> 
                                                    <asp:CheckBox id="chkGente" runat="server" Checked='<%# (DataBinder.Eval(Container.DataItem, "ControlaGente")) %>'></asp:CheckBox> 
                                                </ItemTemplate> 
                                            </telerik:GridTemplateColumn> 
                                            <telerik:GridTemplateColumn UniqueName="CheckBoxTemplateColumn" DataType="System.Boolean" DataField="ControlaRisco" HeaderStyle-Width="130px"> 
                                                <HeaderTemplate> 
                                                   <asp:CheckBox id="chkHeaderRisco" OnCheckedChanged="ChkSelectedLocRisco" AutoPostBack="True" runat="server"></asp:CheckBox> Planilha Risco 
                                                </HeaderTemplate> 
                                                <ItemTemplate> 
                                                    <asp:CheckBox id="chkRisco" runat="server" Checked='<%# (DataBinder.Eval(Container.DataItem, "ControlaRisco")) %>'></asp:CheckBox> 
                                                </ItemTemplate> 
                                            </telerik:GridTemplateColumn> 
                                        </Columns> 
                                    </telerik:GridTableView> 
                                </DetailTables> 
                                 
                                <Columns> 
                                    <telerik:GridBoundColumn UniqueName="Descricao" HeaderText="Tipos Processo" DataField="Descricao" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left"></telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn UniqueName="Sigla" HeaderText="Sigla" DataField="Sigla" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left" HeaderStyle-Width="150px"></telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn UniqueName="ProcessoCategoria.Descricao" HeaderText="Categoria Processo" DataField="ProcessoCategoria.Descricao" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left" HeaderStyle-Width="150px"></telerik:GridBoundColumn> 
                                </Columns> 
                            </MasterTableView> 
                             
                        </telerik:RadGrid> 

In a GridTableView, I have 2 columns as checkbox. If I expand the items, select some checkboxes and after it, I collapse the items, I loose the selection on checkboxes when I decide expand them again, it's due to I always catch the information of items in a database when the user expand them.

Is there a possibility to maintain the selection of user for this scenario?
Carlos Eduardo Nogueira
Top achievements
Rank 1
 answered on 21 Sep 2009
1 answer
150 views
Hi,

I am using radwindowmanager on my webapplication with masterpages. When I navigate to another page, the radwindow disappears.
Is there a way to hold the radwindow (except for the preserveclientstate option, because the window is then reloaded)?

Thanks in advance,
Martin
Fiko
Telerik team
 answered on 21 Sep 2009
1 answer
135 views
Hi,

I want show Docno filed to delete confirm text

  <telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete" ConfirmDialogType="RadWindow" ConfirmText="Are you sure delete this Document?"
            Text="Delete" UniqueName="column">


How can i pass DocNo filed in confirm text. I have use BIND and Eval method. but compiler doesnt allow me to do that

lakmal




Shinu
Top achievements
Rank 2
 answered on 21 Sep 2009
1 answer
158 views
Hi there,

im trying to get the drag and drop functionality to work. im using the code on the demos but im getting the foolowing error:

'Telerik.Web.UI.GridDragDropEventArgs' does not contain a definition for 'DropPosition

Now im aware i probably have an old version of telerik controls in fact version 2008.1.619.35. BUT! the control does let me drag and drop and elements like e.DestDataItem.ItemIndex do exist.

So it must be possible in my version. How is it done?
Pavlina
Telerik team
 answered on 21 Sep 2009
1 answer
605 views
Hi,

I'm trying to change the background of Menu Item through CSS. I'm referring the below link:
http://www.telerik.com/help/aspnet-ajax/menu_appearancecssclassofitems.html.

Below is my code
<head runat="server"> 
    <title>Untitled Page</title> 
    <style>     
    .MainMenu 
    { 
      color: white !important; 
      background-color: #A8C2B9 !important; 
    } 
    .MainMenu:hover 
    { 
      color: white !important; 
      background-color: #00563D !important; 
    } 
    .SubMenu 
    { 
      color: white !important; 
      background-color: #A8C2B9 !important; 
    } 
    .SubMenu:hover 
    { 
      background: none; 
      color: white !important; 
      background-color: #00563D !important; 
    } 
    .Expanded 
    { 
      color: white !important; 
      background-color: #00563D !important; 
    } 
    .Focused 
    { 
       
      color: white !important; 
      background-color: #00563D !important; 
    } 
    div.RadMenu .rmFocused 
    { 
        background: none; 
    } 
     
   </style> 
 
     
 
</head> 
<body> 
    <form id="form1" runat="server"> 
        <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
        <div> 
            <telerik:RadMenu ID="RadMenu1" runat="server" CssClass="MainMenu" Skin="Default" > 
                <Items> 
                    <telerik:RadMenuItem runat="server" Text="Root Item 1" ExpandedCssClass="Expanded" 
                        CssClass="MainMenu"> 
                        <Items> 
                            <telerik:RadMenuItem runat="server" Text="property" CssClass="SubMenu" FocusedCssClass="Focused"> 
                            </telerik:RadMenuItem> 
                            <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 2" CssClass="SubMenu" 
                                FocusedCssClass="Focused"> 
                            </telerik:RadMenuItem> 
                            <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 3" CssClass="SubMenu" 
                                FocusedCssClass="Focused"> 
                            </telerik:RadMenuItem> 
                        </Items> 
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Root Item 2" ExpandedCssClass="Expanded" 
                        CssClass="MainMenu"> 
                        <Items> 
                            <telerik:RadMenuItem runat="server" Text="This is another very long item." CssClass="SubMenu" 
                                FocusedCssClass="Focused"> 
                            </telerik:RadMenuItem> 
                        </Items> 
                    </telerik:RadMenuItem> 
                </Items> 
            </telerik:RadMenu> 

The default hover image background is appearing from the Skin image rather than css colors. I here by request you to kindly look into this and do the needful ASAP. Kindly let me know if you require any other details.

Thanks,

Sri Hari Acha


Shinu
Top achievements
Rank 2
 answered on 21 Sep 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?