Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
222 views
Hi,
Is it possible to have the RadScheduler display a Vertical Timeline view with the days down the y axis and the people along the top on the x axis?
I attached a screenshot of what Im describing.

Thank you
Veronica
Telerik team
 answered on 02 Mar 2011
3 answers
109 views
Is it possible install on my pc more version of Asp.Net Ajax controls and to use one in a project and one in an another (old) project?
Are there any problems?

Template project?

does "dll telerik" register in GAC?
Veronica
Telerik team
 answered on 02 Mar 2011
3 answers
94 views
Hi,

I have the following line of code
RadTimePicker startTime = this.NamingContainer.FindControl(StartTimeControlID) as RadTimePicker;

It worked fine when our application was using Classic controls.  Now that we upgraded to ASP.NET AJAX, startTime is always null.  It is as if it can no longer find the control.  StartTimeControlID is not null and I know that the control is there in "this".  What am I missing?

Thanks,
Olga
Daniel
Telerik team
 answered on 02 Mar 2011
1 answer
154 views
Hi all,
it's possible to call/show an ShowAdvancedEditForm or ShowAdvancedInsertForm with no RadScheduler? Or it's possible to use it with RadScheduler property's Visible = False?
Thank's
Danilo
Veronica
Telerik team
 answered on 02 Mar 2011
2 answers
277 views
Hi all, 

The footer is not added by using ExcelML. Therefore, I have to do some coding in ExcelMLExportRowCreated.
Dim row As New RowElement()  is use for adding footer.
Everything is good.
But I would like to change its style, something like border, color, background color.
Need a hellp from all of you.

Andy.

Protected Sub carGrid_ExcelMLExportRowCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridExcelBuilder.GridExportExcelMLRowCreatedArgs) Handles carGrid.ExcelMLExportRowCreated
       If e.Worksheet.Table.Rows.Count = carGrid.Items.Count + 1 Then
           Dim row As New RowElement()
           Dim footer As GridFooterItem = TryCast(TryCast(sender, RadGrid).MasterTableView.GetItems(GridItemType.Footer)(0), GridFooterItem)
           For Each column As GridColumn In TryCast(sender, RadGrid).MasterTableView.Columns
               Dim cell As New CellElement()
               Dim cellText As String = footer(column.UniqueName).Text
               Dim result As Integer
               If cellText.Contains(" ") Then
                   Try
                       result = Integer.Parse(cellText.Substring(6, cellText.Length - 6))
                       cell.Data.DataItem = result
                   Catch ex As Exception
                       Exit Sub
                   End Try
               ElseIf cellText = "0" Then
                   cell.Data.DataItem = 0
               Else
                   cell.Data.DataItem = cellText
               End If
               row.Cells.Add(cell)
           Next       
           e.Worksheet.Table.Rows.Add(row)
       End If
        
   End Sub

Daniel
Telerik team
 answered on 02 Mar 2011
1 answer
79 views
Hi,

I have a requirement wherein I have two subtabs 'A' and 'B'. Both the subtabs have html with primarily two sections.
<RadPageView ID='pg1' runat='server'>
<table id='table1'>
  <tr>
    <td>
       Represents the common section.
   </td>
 </tr>
</table>
<table id='table2'>
  <tr>
    <td>
       The differening section of first subtab.
   </td>
 </tr>
</table>
</RadPageView>
<RadPageView ID='pg2' runat='server'>
<table id='table1'>
  <tr>
    <td>
       Represents the common section.
   </td>
 </tr>
</table>
<table id='table3'>
  <tr>
    <td>
       The differening section of second subtab.
   </td>
 </tr>
</table>
</RadPageView>
 As shown in the above code, I need table1 to be automatically present across both subtabs. Clicking on the subtabs should only change the lower half section(in this case from showing table2 to table3 and vice-versa).


Thanks In advance.
Kate
Telerik team
 answered on 02 Mar 2011
9 answers
552 views
hi dear telerik team :
my aspx code is like this :
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server"
    <title></title
     
     
    <link href="App_Themes/Input/Office2007ByMe/Input.Office2007ByMe.css" rel="stylesheet" 
        type="text/css" /> 
     
</head> 
<body> 
    <form id="form1" runat="server"
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
    </telerik:RadScriptManager> 
    <div> 
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
            <AjaxSettings> 
                <telerik:AjaxSetting AjaxControlID="Button1"
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="RadTextBox1" /> 
                        <telerik:AjaxUpdatedControl ControlID="Button1" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
                <telerik:AjaxSetting AjaxControlID="Button2"
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="RadTextBox1" /> 
                        <telerik:AjaxUpdatedControl ControlID="Button2" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
                <telerik:AjaxSetting AjaxControlID="Button3"
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="RadTextBox1" /> 
                        <telerik:AjaxUpdatedControl ControlID="Button3" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
            </AjaxSettings> 
        </telerik:RadAjaxManager> 
        <telerik:RadTextBox ID="RadTextBox1" runat="server" EnableEmbeddedSkins="False"  
            Width="125px" Skin="Office2007ByMe"
        </telerik:RadTextBox> 
        <br /> 
        <br /> 
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" /> 
        <asp:Button ID="Button2" runat="server"  Text="Button"  
            onclick="Button2_Click" /> 
        <asp:Button ID="Button3" runat="server"  Text="Button"  
            onclick="Button3_Click" /> 
    </div> 
    </form> 
</body> 
</html> 

and codebehind :
using System; 
using System.Collections.Generic; 
using System.Linq; 
using System.Web; 
using System.Web.UI; 
using System.Web.UI.WebControls; 
 
namespace ChatRoomByMajid 
    public partial class WebForm2 : System.Web.UI.Page 
    { 
        protected void Page_Load(object sender, EventArgs e) 
        { 
             
        } 
 
 
        protected void Button1_Click(object sender, EventArgs e) 
        { 
            RadTextBox1.ForeColor = System.Drawing.Color.Red; 
             
        } 
 
        protected void Button2_Click(object sender, EventArgs e) 
        { 
            RadTextBox1.ForeColor = System.Drawing.Color.Yellow; 
        } 
 
        protected void Button3_Click(object sender, EventArgs e) 
        { 
            RadTextBox1.ForeColor = System.Drawing.Color.Blue; 
        } 
    } 
 


when i click those buttons so the forecolor changes , but when the radtextbox gets focus for entering data so the previous color is shown!

how can i fix this problem ?
(i made the simple upper code for understanding)

best regards








Lenny_shp
Top achievements
Rank 2
 answered on 02 Mar 2011
1 answer
98 views
We have:     
...
<
telerik:GridDropDownColumn DataField="ID_Firma" HeaderText="Firma"
            ListTextField="Nazwa" ListValueField="ID" UniqueName="ID_Firma" DataSourceID="FirmyDataSource" HeaderStyle-Width="480px"></telerik:GridDropDownColumn>
...
...
 
       protected void Page_Load(object sender, EventArgs e)
        {
            StanowiskaDlaFirmGrid.ItemCreated += new Telerik.Web.UI.GridItemEventHandler(StanowiskaDlaFirmGrid_ItemCreated);
        }
 
 
 
 
        void StanowiskaDlaFirmGrid_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e)
        {
           if (e.Item.OwnerTableView == StanowiskaDlaFirmGrid.MasterTableView && e.Item.IsInEditMode)
            {
                RadComboBox combo = (RadComboBox)e.Item.FindControl("RCB_ID_Firma");
 
                combo.HighlightTemplatedItems = true;
                combo.AllowCustomText = true;
                combo.EnableLoadOnDemand = true;
                combo.Width = Unit.Pixel(400);
 
            }
        }
 
...


But after key was pressed (any) all items are visible, not the filtered only... Could you help me? Or should I use GridTemplateColumn?
Lukasz Kalbarczyk
Top achievements
Rank 1
 answered on 02 Mar 2011
7 answers
319 views
Hi there,
I have a RadMenu with several menu items. I want to automatically close the menu when the user clicks a menu item, regardless the level of the menu item itself.
I have seen this post http://www.telerik.com/community/forums/aspnet-ajax/menu/closing-menu-in-onclientitemclicked-re-opens.aspx but it actually doesn't work: the menu is closed and then reopened. This is a serious issue for us when accessing our application on an iPad.
Can you tell me how to achieve this?
On a side note, why should I want a menu that stays open once I click on an item??? I am not able to think any use of this, nor I can think of an application that actually does this.
Before you ask, yes, I am suggesting to at least have a property that handles this, without reverting to custom code :-)

Luca
Yana
Telerik team
 answered on 02 Mar 2011
5 answers
86 views
Hi!

I was just wondering how many hours of development you've invested in the rad editor?
Rumen
Telerik team
 answered on 02 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?