Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
171 views
Hi im using special days to colour a set number of days in a radcalendar
while (startDate.Date <= endDate.Date)  
            {  
                RadCalendarDay specialDay = new RadCalendarDay();  
                specialDay.Date = startDate;  
                specialDay.ItemStyle.BackColor = Color.Green;  
                specialDay.ToolTip = "Available";  
                RadCalendar1.SpecialDays.Add(specialDay);  
                startDate = startDate.AddDays(1);  
            } 
what i would like to know is how do i get this to work if i change the number of days i would like to colour from say 7 to 3 as the full 7 days are still staying coloured when i rerun this in the method.
Kevin
Top achievements
Rank 1
 answered on 08 Jul 2009
1 answer
93 views
hi!
I've a problem with scrollbars. I don't know how to eliminate the horizontal scrollbar.
Here is my code. I hope someone can help me:
<telerik:RadComboBox ID="RCB_Test" runat="server" Width="250px" Height="400px" Skin="Web20" DropDownWidth="751px" HighlightTemplatedItems="true" OffsetX="-400" OffsetY="-300"  > 
    <HeaderTemplate> 
        <table cellspacing="0" cellpadding="0" style="width:731px;"> 
            <tr> 
                <td> 
                    <asp:Label ID="LB_HeaderTest" runat="server" Text="Test"></asp:Label> 
                </td> 
            </tr> 
        </table> 
    </HeaderTemplate> 
 
    <ItemTemplate> 
        <table cellspacing="0" cellpadding="0" style="width:731px;"> 
            <tr> 
                <td style="width:300px; padding-top:6px"> 
                    <asp:Image ID="IM_Test" runat="server"/> 
               </td> 
               <td style="text-align:left; width:401px;"> 
                    <asp:Label ID="LB_Test" runat="server" CssClass="text"></asp:Label> 
               </td> 
            </tr>
       </table>
   </ItemTemplate> 
</telerik:RadComboBox> 
Princy
Top achievements
Rank 2
 answered on 08 Jul 2009
6 answers
137 views
Hi
        I am using radgrid and having datetime picker as a one of columns filter control. I placed picker inside a table.
 The problem is i cannot control over DateTimePickers table properties. Because when i seen the view source of the browser, radgrid itself creates a separate TD with class for my filtering control, so that i could not do anything. when i change some of the properties of that css class through source html it works according to my plan.

Is there any way to avoid that Css file from my output. I dont even want to skin for my page. But i could know it creates in-built skin for my radgrid.

I found the following code from browser html source:

.RadGrid_Default .rgFilterRow td {WebResou...190256893 (line 528)
     border-bottom:1px solid #828282;
     padding-bottom:7px;
     padding-top:4px;
}

I dont want the above css properties for my grid. Plz help me

Appu

Appu
Top achievements
Rank 1
 answered on 08 Jul 2009
1 answer
143 views
Hi,
I have a combobox , aFileUpload and lots of other controls in a RadAjaxPanel. Combobox is a ajax trigger and it successfully works. But Inspite of other controls in same AjaxPanel, FileUpload Control loses its text (which I choosed using file dialog.) Removing the Upload outside of the ajaxpanel is not a solution for me. So I need to avoid the Response from Updating a spesific control. I think it could be possible with OnResponseReceived event. I would appreciate it a lot if you could tell me how can I achieve this.
Thanks in Advance
Kind Regards
Aytaç Utku TOPAL
Princy
Top achievements
Rank 2
 answered on 08 Jul 2009
1 answer
153 views
Hi
 Column resizing is not working properly – i would like the column to resize to the exact spot of the vertical line before mouse button release

I used Fixed width for all of my columns but when i try to resize any column it is not coming to the position where i dropped my mouse pointer.I remain in the posistion without changing. I used the following properties too for column resize.

<ClientSettings>
                    <Resizing AllowColumnResize="True" AllowRowResize="false" ResizeGridOnColumnResize="false"
                        ClipCellContentOnResize="true" EnableRealTimeResize="false" />
</ClientSettings>


I also used the above properties through dynamic code.But no use..

regards,
Appy

Daniel
Telerik team
 answered on 08 Jul 2009
2 answers
159 views
Hi,
I need to change the items in the paging radCombobox.
I have tried this, the items is changed visually but nothing happens when I click and choosing another item!
protected void radGridCompanies_ItemDataBound(object sender, GridItemEventArgs e) 
{ 
                    if (e.Item is GridPagerItem) 
                    { 
                        GridPagerItem pager = (GridPagerItem)e.Item; 
 
                        RadComboBox PageSizeCombo = (RadComboBox)e.Item.FindControl("PageSizeComboBox"); 
                         
                        PageSizeCombo.Items.Clear(); 
                        PageSizeCombo.Items.Add(new RadComboBoxItem("10")); 
                        PageSizeCombo.Items.Add(new RadComboBoxItem("20")); 
                        PageSizeCombo.Items.Add(new RadComboBoxItem("50")); 
                        PageSizeCombo.Items.Add(new RadComboBoxItem("100")); 
                         
                        PageSizeCombo.FindItemByText(e.Item.OwnerTableView.PageSize.ToString()).Selected = true; 
                      }  
}  


Mattias
Top achievements
Rank 1
 answered on 08 Jul 2009
1 answer
114 views
I suppose this will be more of a javascript question.

The Upload/Additional Fields example http://demos.telerik.com/aspnet-ajax/upload/examples/additionalfields/defaultcs.aspx is nice, but how does one make the additional text boxes multi-line as well as set their max length, rows, etc, - in other words, how to set the other properties we commonly see in an asp:TextBox control?
Paul
Telerik team
 answered on 08 Jul 2009
1 answer
107 views
Hi Everyone,

When RadCalendar property ShowDayCellTooltips is set to true, tooltips for each and every day are displayed.
When it is set to false, no tooltips ever displayed for day cells.

Is it possible not to display tooltips for regular days but show them for special days?

I've tried setting ShowDayCellTooltips=true along with  overriding DayRender routine like
    protected void rcDates_DayRender(object sender, Telerik.Web.UI.Calendar.DayRenderEventArgs e)  
    {  
        e.Day.ToolTip = "";  
    } 

that has no effect as tooltips showing cell date, like "12-Jan-2009" still appear for regular days.
Riana Sattarova (Mamedova)
Top achievements
Rank 1
 answered on 08 Jul 2009
0 answers
74 views
Hi

   To get similar kind of menu as in telerik ( i mean when i click on the expand button ( which is on lthe left side of menu item ) it should expand it menu items ), i am using follwing code

<telerik:RadMenu ID="RadMenu1" runat="server" ClickToOpen="true"> 
    <Items> 
        <telerik:RadMenuItem runat="server" Text="PRODUCTS" >                     
            <ItemTemplate> 
                &nbsp;&nbsp;<asp:Label ID="Label1" runat="server" Text="PRODUCTS" onclick="redirect();"></asp:Label>                             
                <img alt="More Options" src="../Images/Refresh.gif" id="Img" onclick="openMenu();" /> 
            </ItemTemplate> 
            <Items> 
                <telerik:RadMenuItem Text="ASP.NET AJAX Controls" runat="server"> 
                </telerik:RadMenuItem> 
                <telerik:RadMenuItem Text="WinForms Controls" runat="server"> 
                </telerik:RadMenuItem> 
            </Items> 
        </telerik:RadMenuItem> 
        <telerik:RadMenuItem runat="server" Text="CONSULTING" NavigateUrl="http://www.google.com"> 
        </telerik:RadMenuItem> 
        <telerik:RadMenuItem runat="server" Text="PURCHASE" NavigateUrl="http://www.google.com"> 
        </telerik:RadMenuItem> 
        <telerik:RadMenuItem runat="server" Text="SUPPORT " NavigateUrl="http://www.google.com"> 
            <GroupSettings Flow="Horizontal"></GroupSettings> 
        </telerik:RadMenuItem> 
    </Items> 
</telerik:RadMenu> 

<script type="text/javascript"> 
function openMenu() 
{ 
    var menu = $find("<%= RadMenu1.ClientID %>"); 
    var item = menu.findItemByText("PRODUCTS"); 
    item.open();     
} 
function redirect() 
{ 
    window.location.href="http://www.telerik.com"; 
} 
</script>

Its working well and good........but here my requirement is " the image(Refresh.gif) beside the product menuItem  should be invisible. and it should be visible when I hover on it." How can i do this.Can you please help me in this

Thanks
Srikanth gn

srikanth
Top achievements
Rank 1
 asked on 08 Jul 2009
1 answer
139 views
i added listbox into the panel bar and the listbox doesn't stay inside the bar but rather on top of it. so if i expand item 1 that has the listbox, i can't see item 2 or radlistbox will be on top of it. so how do i make it stay inside the radpanelbar

second question i have is after installing q2 2009 the file size in add remove program is actually smaller than q1 2009. is there a reason? did you take some tools off? please let me know. thank you.
Helen
Telerik team
 answered on 08 Jul 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?