Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
123 views
We have a very complex Custom Data Driven ASP.NET Localization
Resource Provider (localization per language, per client, per client location,...).
So, Editor control labels/captions/tool tips are not shown up.
Setting the Localization Property doesn't help to set up all captions. For example: Image Manager displays icons and buttons without text (Upload, Insert, Cancel, etc.)
Is there any other way to localize ALL control elements, dialogs, managers without resource files (.resx)? 

Rumen
Telerik team
 answered on 27 May 2008
5 answers
195 views
I found that a standalone ImageManager/FileManager is very useful in many cases, not in any RadEditor.  Can it be implemented this way?
George
Telerik team
 answered on 27 May 2008
7 answers
154 views
I've got a problem where the controls seem to be doubling up. 

First, the control that is going to be decorated shows up in its default rendering look and then directly beneath it the skinned control appears.  The problem is that the page renders fine if I choose one of the embedded skins.

The strange behavior only appears if I set the skin to one of my own and set EnableEmeddded="false".  To create my own skin (which is set as the site default in the web.config), I simply copied the Web20 skin and replaced all occurences of _Web20 with _MySkinName.  I have also added not only the FormDecorator.MySkinName.css file but also the FormDecorator.css file to the stylesheet inclues.

The problem occurs on FF2 and IE6.  I am working in Windows XP on a site targeting .NET 3.5.

Code below (pretty much just copied for the online demo):
<h4 class="CS">Our Skin</h4> 
    <telerik:RadFormDecorator ID="fdOurs" runat="server" DecoratedControls="All" EnableEmbeddedSkins="false"> 
    </telerik:RadFormDecorator> 
    <h4 class="CS">Checkboxes</h4> 
    <asp:CheckBoxList ID="CheckBoxList1" runat="server" Width="700px" ForeColor="#FFF"> 
        <asp:ListItem Text="Unchecked checkbox" /> 
        <asp:ListItem Text="Checked checkbox" Selected="true" /> 
        <asp:ListItem Enabled="false" Text="Unchecked and disabled checkbox" /> 
        <asp:ListItem Enabled="false" Selected="true" Text="Checked and disabled checkbox" /> 
    </asp:CheckBoxList> 
    <h4 class="CS">Radiobuttons</h4> 
    <asp:RadioButtonList ID="RadioButtonList1" runat="server" Width="700px" TextAlign="Right"> 
        <asp:ListItem Text="unselected radiobutton" /> 
        <asp:ListItem Text="selected radiobutton" Selected="true" /> 
        <asp:ListItem Text="unselected and disabled radiobutton" Enabled="false" /> 
    </asp:RadioButtonList> 
    <h4 class="CS">Buttons</h4> 
    <button style="color: #FFF;" type="button"> 
        Enabled Button</button> 
    <input type="button" value="Disabled Button" disabled="disabled" /> 


Martin
Telerik team
 answered on 27 May 2008
4 answers
376 views

Hi
how to use paging ability for tamplate item(multi column) RadComboBox

i use from radcombobox that have a multi column ,Paging
but i have a problem with paging

Aspx

<rad:radcombobox   
        id="RadComboBox1"   
        runat="server"   
        Height="190px"   
        Width="420px"   
        EnableLoadOnDemand="True"   
        AllowCustomText="True"                              
        ShowMoreResultsBox="True"   
        ItemRequestTimeout="500"   
        MarkFirstMatch="true"   
        DropDownWidth="423px"   
        HighlightTemplatedItems="true"   
        OnItemDataBound="RadComboBox1_ItemDataBound"   
        OnItemsRequested="RadComboBox1_ItemsRequested" 
        > 
        <HeaderTemplate> 
            <table style="width: 415px; text-align: left">  
                <tr> 
                    <td style="width: 125px;">  
                        Product ID  
                    </td> 
                    <td style="width: 125px;">  
                        Product Name  
                    </td> 
                    <td style="width: 125px;">  
                        Unit Price  
                    </td> 
                </tr> 
            </table> 
        </HeaderTemplate> 
        <ItemTemplate> 
            <table style="width: 415px; text-align: left">  
                <tr> 
                    <td style="width: 125px;">  
                        <%# DataBinder.Eval(Container.DataItem, "ProductID")%> 
                    </td> 
                    <td style="width: 125px;">  
                        <%# DataBinder.Eval(Container.DataItem, "ProductName")%> 
                    </td> 
                    <td style="width: 125px;">  
                        <%# DataBinder.Eval(Container.DataItem, "UnitPrice")%> 
                    </td> 
                </tr> 
            </table> 
        </ItemTemplate> 
        </rad:radcombobox> 

Cs

 public DataTable GetDataTable(string Query)  
    {  
        SqlDataAdapter DaQuery = new SqlDataAdapter();  
        DaQuery.SelectCommand = new SqlCommand(Query, ObjCn);  
 
        DataTable myDataTable = new DataTable();  
 
        if (DaQuery.SelectCommand.Connection.State == ConnectionState.Closed) { ObjCn.Open(); }  
        try 
        {  
            DaQuery.Fill(myDataTable);  
        }  
        finally 
        {  
            if (DaQuery.SelectCommand.Connection.State == ConnectionState.Open) { ObjCn.Close(); }  
        }  
 
        return myDataTable;  
    }  
 
    protected void Page_Load(object sender, EventArgs e)  
    {  
        if (!Page.IsPostBack)  
        {  
            LoadSupervisors();  
        }  
    }  
 
    DataView Dv = new DataView();  
    DataTable Dt = new DataTable();  
 
    private void LoadSupervisors()  
    {  
        if (Cache["Dv"] == null)  
        {  
 
            DataView dv1 = new DataView(this.GetDataTable("SELECT * from Products"));  
           Cache["Dv"] = dv1;          
        }  
           Dv = (DataView)Cache["Dv"];  
    }  
 
      
    protected void RadComboBox1_ItemsRequested(object o, RadComboBoxItemsRequestedEventArgs e)  
    {  
 
        LoadSupervisors();  
        RadComboBox1.Items.Clear();
        RadComboBox1.DataSource = Dv;  
        RadComboBox1.DataBind();  
             
    }  
 
    protected void RadComboBox1_ItemDataBound(object o, RadComboBoxItemDataBoundEventArgs e)  
    {  
        e.Item.Text = ((DataRowView)e.Item.DataItem)["ProductName"].ToString() + "; " + ((DataRowView)e.Item.DataItem)["ProductID"].ToString() + "; " + ((DataRowView)e.Item.DataItem)["UnitPrice"].ToString();  
    }  
 

when i click on a MoreResult button in a end of combobox popup
combo show doublicated  data

Thanks
Ali
Simon
Telerik team
 answered on 27 May 2008
4 answers
368 views
I have a tabstrip on my web page with 2 tabs. they point to 2 different pageviews. I have first one selected= true (it should show me the pageview of this tab). but when my page loads the very first time,  I see the pageview of my 2nd tab, although first one is selected. when I click on my first tab then it shows the pageview of that tab.

my code is:

<

telerik:RadMultiPage ID="rmMain" runat="server" Width="656px" SelectedIndex="1">

<telerik:RadPageView ID="pvSum" runat="server">

<table>

<tr>

<td style="width: 104px; height: 21px;">

<asp:Label ID="Label1" runat="server" CssClass="LabelSubHeadingTable2" Text="Consignee:" Width="100px"></asp:Label></td>

<td style="height: 21px">

<asp:Label ID="lblConsignee" runat="server" CssClass="LabelSubHeadingTable" Width="249px"></asp:Label></td>

<td style="height: 21px;" width="40">

<asp:Label ID="Label2" runat="server" CssClass="LabelSubHeadingTable2" Text="PO#:" Width="80px"></asp:Label></td>

<td style="height: 21px">

<asp:Label ID="lblPo" runat="server" CssClass="LabelSubHeadingTable" Width="249px"></asp:Label></td>

<td style="height: 21px">

</td>

</tr>


</table>

</telerik:RadPageView>


<

telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="rmMain"

SelectedIndex="1" Skin="Hay">

<Tabs>

<telerik:RadTab runat="server" PageViewID="pvSum" Text="Summary" Selected="True">

</telerik:RadTab>

<telerik:RadTab runat="server" PageViewID="pvProd" Text="Order Details">

</telerik:RadTab>

</Tabs>

</telerik:RadTabStrip>

and code for pageviews are:

<telerik:RadPageView ID="pvProd" runat="server">

<telerik:RadGrid ID="RadGrid1" AllowSorting="True" runat="server" style="text-align: left" AutoGenerateColumns="False" GridLines="None">

<MasterTableView>

<RowIndicatorColumn Visible="False">

<HeaderStyle Width="20px" />

</RowIndicatorColumn>

<ExpandCollapseColumn Resizable="False" Visible="False">

<HeaderStyle Width="20px" />

</ExpandCollapseColumn>

<EditFormSettings>

<PopUpSettings ScrollBars="None" />

</EditFormSettings>

<Columns>

<telerik:GridBoundColumn DataField="Order" HeaderText="Order #"

UniqueName="gcolumn1" >

</telerik:GridBoundColumn>

<telerik:GridBoundColumn AllowSorting="False" DataField="ProdNum" HeaderText="Pro #"

UniqueName="gcolumn2" >

</telerik:GridBoundColumn>

<telerik:GridBoundColumn AllowSorting="False" DataField="ShipName" HeaderText="Ship Name"

UniqueName="gcolumn3" >

</telerik:GridBoundColumn>

</Columns>

</MasterTableView>

<ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True">

</ClientSettings>

</telerik:RadGrid></telerik:RadPageView>

</telerik:RadMultiPage><telerik:RadAjaxManager

ID="RadAjaxManager1" runat="server">

<AjaxSettings>

<telerik:AjaxSetting AjaxControlID="RadGrid1">

</telerik:AjaxSetting>

</AjaxSettings>

</telerik:RadAjaxManager>

Waleed Seada
Top achievements
Rank 2
 answered on 27 May 2008
1 answer
114 views
I have several RadWindows on a page and although ViewState is off for the whole site (and even for the RadWindow) it is still generating quite a bit of viewstate.

Can viewstate be fully turned off for this control?
Tervel
Telerik team
 answered on 27 May 2008
2 answers
120 views
Hi all
I have a scenario
i have a radmenu, in which i used skin "Web20"  
how can i select different style for selected menu than the unselected one.
Right now i cant able to differenciate selected and unselected menuitem, all looks same after redirection to the page.
John Yu
Top achievements
Rank 1
 answered on 27 May 2008
3 answers
204 views
Hi forum members!!!

I want to know. How can I set EditorDropDown item value.

Thanks.
Tervel
Telerik team
 answered on 27 May 2008
1 answer
191 views
Hi,

How can we pass the text from a Textbox sitting inside a FormTemplate EditForm, to the URL of the RadWindow?
The examples shown on the website show how the values can be picked up from the row and passed to the RadWindow but there is no example where a value could be picked up from a control sitting in a FormTemplate in "Edit" mode and open a RadWindow with the value of the control being passed. (The RadWindow can be opened from a hyperlink sitting inside the ForTemplate as well)

Regards,
Tervel
Telerik team
 answered on 27 May 2008
3 answers
197 views

I am trying out the Scheduler in timeline mode for a project we have taken on.

As my time slicers are fairly small (12mins) I am ending up with more times in the heading than i need.

Is there a way to customise the Scheduler so the time is only displayed once every 30 mins in the header?

Thanks

dave

Peter
Telerik team
 answered on 27 May 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?