Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
239 views
Hello,

I have set the following property:

.RadMenu_OT .rmLink
{
    color:White;
    border-right:solid 1px black;
}

The problem comes when clicking on an item. I want to change font color. It keeps always the white color.

Do you know how to change it to black for example?

Thank you in advance.
Shinu
Top achievements
Rank 2
 answered on 20 Mar 2009
1 answer
143 views
I am still a bit confused by the documentation as it's a bit like launching an R & D project just to get to know the Telerik documentation (IMHO).

I have not done much javascript in the last few years and I find it quite difficult to differentiate between what is "normal" javascript/dhtml functions from the Telerik specific.
For instance,
windows.Close() does not take arguments, as clearly described in http://msdn.microsoft.com/en-us/library/ms536367(VS.85).aspx

If I look for the arguments that RadWindow.close() take (on the client side), where do I find out?

The documentation does not say anything http://www.telerik.com/help/aspnet-ajax/window_programmingradwindowmethods.html other than the function exists... and I have just been lucky to find the answer in RadControlsAjaxCourseware.pdf towards p257 with the project \VS Projects\RealEstate\HowToModalDialog

Is there a less "lucky" way of finding these sort of answers?

Thanks


Eric



Fiko
Telerik team
 answered on 20 Mar 2009
1 answer
146 views
Hi

I have a radwindow of fixed size which contains another ASPX page. This other ASPX page has a radTabStrip and a RadMultiPage set to 100% width but with no height set.

The height of the content/multipage on the ASPX page varies depending on which tab is selected.

If I open the ASPX page it in the window, then the RadWindow does not scroll properly vertically - the RadMultipage content in the ASPX page "below" the scroll bar is chopped off and does not display at all.

Likewise, if I just open the ASPX page in the browser (i.e. not in the Radwindow) and reduce the browser window size, then content is also chopped off during scrolling.

Is this a bug and how do I fix it?

I am using 2008 Q3 and do not have the AutoSize property on the RadWindow

Thanks

Graham.
Fiko
Telerik team
 answered on 20 Mar 2009
1 answer
149 views
Hi,

I am using a tab control. The tabs are dynamically added at runtime, I have ScrollChildren set to true and Width set to 100%. However, whenever the width of the screen is reduced my tab strip auto wraps on to the next line. (The scroll buttons also appear). My tabstrip is contained with in a table cell. Any thoughts?

Antony

(See this screen shot)

Paul
Telerik team
 answered on 20 Mar 2009
8 answers
261 views

I am trying to create a grid containing combo boxes, with RadComboBox's value bound to one table in a DataSet, while the items list comes from another table in the same DataSet.  I thought this was supported, but I cannot find documentation on how to do it.  If anyone can point me to the right documentation and examples, I would appreciate it.

Thanks
Peter
Top achievements
Rank 1
 answered on 20 Mar 2009
1 answer
220 views
Im trying to implement an insert/edit fucnction utilising a RADWindow.  The example provided
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx

uses a RadAjaxManager and then the following code

protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
        {
            if (e.Argument == "Rebind")
            {
                RadGrid1.MasterTableView.SortExpressions.Clear();
                RadGrid1.MasterTableView.GroupByExpressions.Clear();
                RadGrid1.Rebind();
            }
            else if (e.Argument == "RebindAndNavigate")
            {
                RadGrid1.MasterTableView.SortExpressions.Clear();
                RadGrid1.MasterTableView.GroupByExpressions.Clear();
                RadGrid1.MasterTableView.CurrentPageIndex = RadGrid1.MasterTableView.PageCount - 1;
                RadGrid1.Rebind();
            }
        }


However, Im using a master page that contians the RADAJAX manager so I have a 

RadAjaxManagerProxy on the child form.  This has no associated AJAXRequest event so how do I get around this ?

Georgi Krustev
Telerik team
 answered on 20 Mar 2009
1 answer
134 views
Hi,

Im trying to recreate the Day - Week - Month Selectors at the top of the rad scheduler. I have added 3 buttons across the top of the page and have the following code hooked up to them

Protected Sub btnDay_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnDay.Click 
 
RadScheduler1.SelectedView = SchedulerViewType.DayView 
 
End Sub 

When the button is clicked I get the error:

Unable to cast object of type 'Telerik.Web.UI.Scheduler.Rendering.MonthView' to type 'Telerik.Web.UI.Scheduler.Rendering.DayView'

If it makes any difference this is inside of a DNN module.

Thanks!

Michael

Atanas Korchev
Telerik team
 answered on 20 Mar 2009
1 answer
142 views
Hi, we currently use the ExporttoExcel method to store our grid data into an excel spreadsheet. A problem has arisen in the latest rad controls which results in (SOME) of our datetime cells being formatted differently to the others, they are all stored in exactly the same format in the database but yet when they are exported to excel they appear in this way

                                        05/05/2008 15:10
                                        05/05/2008 10:23
                                        05/02/2008 15:39
4/30/2008 1:58:05 PM
4/30/2008 1:51:39 PM
4/30/2008 1:30:42 PM

not only is the datetime format different, the cells are aligned different too.

Hope you may be of assistance!
Looking forward to your reply
Mak
Top achievements
Rank 1
 answered on 20 Mar 2009
1 answer
145 views
Using 2008.1.619.20

I want to make the RadGrid display only  4 rows of data, scroll, and not allow paging. What am I doing wrong? It is displaying  about 13 rows of data (bottom pixels of 13th row's data are cut off). The scrollbar is there, but it seems to be ignoring PageSize.

 

 

 

With Radgrid1

 

  .DataSource = T

  .DataMember = T.TableName

  .DataBind()

  .Columns(0).Visible = False

 

  .EnableViewState = True

  .PageSize = 3

 

    With .ClientSettings

 
       .Resizing.AllowRowResize = False

       .Scrolling.AllowScroll = True

      .Selecting.AllowRowSelect = True
 

    End With

 

  .Height = New System.Web.UI.WebControls.Unit("44px")

  .Width = New System.Web.UI.WebControls.Unit("400px")

 

  .ShowHeader =False 
  .ShowFooter = False
 

End With

 

 

Shinu
Top achievements
Rank 2
 answered on 20 Mar 2009
1 answer
97 views
We have two pages using the Scheduler control. One works correctly and on the other the DatePicker appears shifted to the right about 2/3 of its width and only 1/3 is visible (we can see the first three day columns and a piece of the fourth). This is consistent in either Day, Week or Month view. We cannot see any difference in how the control is layed out. Here is the definition:

 

<div>

 

<telerik:RadScheduler ID="schCalendar" runat="server" AllowDelete="False"

 

AllowEdit="False" AllowInsert="False" Skin="Sunset" CustomAttributeNames="eveid"

 

onappointmentcreated="schCalendar_AppointmentCreated" TimelineView-UserSelectable="false"

 

onnavigationcomplete="schCalendar_NavigationComplete" DataKeyField="eveid" DataEndField="eve_end"

 

DataStartField="eve_start" DataSubjectField="eve_text" ShowAllDayRow="false">

 

<AppointmentTemplate>

 

<asp:HyperLink ID="HyperlinkDetails" runat="server"> <%# Eval("Subject")%></asp:HyperLink>

 

</AppointmentTemplate>

 

</telerik:RadScheduler>

 

</div>

 

 

Atanas Korchev
Telerik team
 answered on 20 Mar 2009
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?