Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
99 views
If I build a RadComboBox and add it to my day I get a null page error, however if I use standard asp.net dropdownlist it works fine....

Commented code fails...

       protected void Page_Load(object sender, EventArgs e)  
        {  
            RadCalendar1.SelectedDate = DateTime.Now;  
            this.RadCalendar1.DayRender += new Telerik.Web.UI.Calendar.DayRenderEventHandler(RadCalendar1_DayRender);  
 
        }  
 
        private void RadCalendar1_DayRender(object sender, Telerik.Web.UI.Calendar.DayRenderEventArgs e)  
        {  
             
   
            //RadComboBox rdcbo = new RadComboBox();  
            //rdcbo.ID = "bah" + e.Day.Date.ToShortDateString();  
            //RadComboBoxItem radcboitem = new RadComboBoxItem();  
            //radcboitem.Text = "Joe Schmo";  
            //radcboitem.Value = "0" + "|" + "12345" + "|" + "54321";  
            //rdcbo.Items.Add(radcboitem);  
            //e.Cell.Controls.Add(rdcbo);  
            DropDownList ddl1 = new DropDownList();  
            ddl1.ID = "bah" + e.Day.Date.ToShortDateString();  
            ListItem li1 = new ListItem();  
            li1.Text = "Joe Schmo";  
            li1.Value = "0" + "|" + "12345" + "|" + "54321";  
            ddl1.Items.Add(li1);  
            e.Cell.Controls.Add(ddl1);  
              
              
        }  
 

Any ideas?
plamen
Top achievements
Rank 1
 answered on 18 Jul 2008
1 answer
128 views
The RealFontSize button is displaying the drop-down options in points and then displaying the selected option (when the drop-down is closed) in pixels. Is there a way I can get it to only display in one unit?
Rumen
Telerik team
 answered on 18 Jul 2008
3 answers
160 views
How does one change the font of the menuitems?  I've tried setting the font-names property, I've tried adding font-family to the CssClass it's using, nothing seems to be able to change the font style.

I'd like to change it for the entire menu control, but I wouldn't mind just including it in a class that gets passed to each item.  Any help would be greatly appreciated.

Robert
T. Tsonev
Telerik team
 answered on 18 Jul 2008
1 answer
120 views
I am using Radcontrol asp.net ajax Q2008.

Here i used RadWindowManager  as follows.

<telerik:RadWindowManager ID="rWindowManager" runat="server"
                     Height="4px" Left="" OnClientClose="DateWindowCancelClicked"
                    NavigateUrl="" Skin="Vista" Title="" Top=""  ClientCallBackFunction="CallBackHistoryUpdateData">
    <windows>
<telerik:RadWindow ID="rWindowHistoryDate" runat="server" Height="340px"
                    Left="50px" Modal="True" NavigateUrl="" SkinsPath="~/Skins"
                    Title="Select Date Range" Top="50px" VisibleStatusbar="False" Width="610px"  />
<telerik:RadWindow ID="rWindowAccountAlertDate" runat="server"
                    Height="340px" Left="50px" Modal="True" NavigateUrl=""
                    SkinsPath="~/Skins" Title="Select Account Alert Date Range"
                    Top="70px" VisibleStatusbar="False" Width="610px" />
</windows>
</telerik:RadWindowManager>


Query
When i excuting the code the radwindow manager call OnClientClose event first and then it call the event ClientCallBackFunction.

How can i the call the event  ClientCallBackFunction first and then call event OnClientClose ?
Is there any method to change the order of event call.
Sophy
Telerik team
 answered on 18 Jul 2008
1 answer
137 views
I was trying to enable client-side scrolling on a Gantt chart, while I got the following error:

"Gantt series is not supported with client-side scrolling and zooming enabled"

I couldn't find anything about the error in documentation.  Is there any alternative ways to display a long Gantt chart instead of client-side scrolling?
Princy
Top achievements
Rank 2
 answered on 18 Jul 2008
5 answers
295 views
Hi, cant find anybody else with this problem but I have a page with a unordered list and an editor on. I want to style my ul (its outside the editor) and add margin and change bullet type but it affects all the buttons on the editor.

How can I change style for ul li items on a page without screwing the editor tool bar.

Simple example case below:

<%@ Page Language="VB" %>
<%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <style>
    ul li
    {
         list-style-type: square;
         margin: 10px;
    }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <ul>
    <li>This is my nice unordered list</li>
    <li>This is my not so nice editor</li>    
    </ul>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <telerik:RadEditor ID="RadEditor1" Runat="server">
    </telerik:RadEditor>
    </form>
</body>
</html>
Martin
Telerik team
 answered on 18 Jul 2008
1 answer
135 views
Hi ,

    I m using RAD controls. and i have one grid to design for my website and i have following query regarding it.

I want to display data in Rad:Grid in group by of some records.
for ex i have 4 sections(as data) and each sections have its own articles.
now i want to display articles group by section under each section header.

so how can i do it..?

pls let me know asap...

Thanks & Regards,
Abhishek Trivedi
Princy
Top achievements
Rank 2
 answered on 18 Jul 2008
0 answers
77 views
a
manoj
Top achievements
Rank 1
 asked on 18 Jul 2008
6 answers
108 views
Hi,

I really can't find the RadControls Promotheus Q1 2008 to download. Anyone can give me the link?

Thanks in advance
Saint
Top achievements
Rank 1
 answered on 18 Jul 2008
4 answers
166 views
Is it possible to remove the arrow button in the combo box or disable it from dropping down when clicked? Because I only need the autocomplete feature of the combobox.
jonathan
Top achievements
Rank 1
 answered on 18 Jul 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?