Telerik Forums
UI for ASP.NET AJAX Forum
15 answers
456 views
Hello all,

I'm using the horizontal menu with drop downs.
I've successfully deployed a custom CSS for my menu, however I can not figure out how to display the arrow effect when an item has children.
I've found the css skin file selectors, and it looks like rmExpandLeft is the class to manipulate it, but when I add that element to the CSS file it doesn't do anything.
I've compared the source for "Default" css and my custom css and the HTML output is the same; additionally, there is NO rmExpandLeft in the HTML, so I'm not sure how to determine if it has children.

Any clues?

Regards

Matt
Jason Fedler
Top achievements
Rank 1
 answered on 12 Jul 2010
2 answers
211 views
I need to access the item that is being edited from the updating event of a SqlDataSource.  Currently, I am able to access the item by using the following code.

protected void SqlDataSource1_Updating(object sender, SqlDataSourceCommandEventArgs e)
{
    foreach (GridItem item in rgvResult.MasterTableView.Items)
    {
        if (item.Edit)
        {
            GridEditFormItem editItem = (GridEditFormItem)rgvResult.MasterTableView.GetItems(GridItemType.EditFormItem)[item.ItemIndex];
 
            //do stuff
        }
    }
}

Is there a method similar to GetInsertItem() that I can use to get the edited item or do I have to loop through the collection to get the item?
Waylon Campbell
Top achievements
Rank 1
 answered on 12 Jul 2010
1 answer
112 views
I want to change the color of the hours column programmatically. So I want to have some of the hour labels in one color and other labels in other colors. Is there a way to do this?
Peter
Telerik team
 answered on 12 Jul 2010
3 answers
168 views
Hi All,

I have a situation where i have to update a recurrence rule in such a way that it includes exception in recurrence rule itself programmaticly.
For ex if there is a weekly recurrence rule but i would like to add exception that there should be no occurrences for all Wednesdays.

Please do the needful.

Thanks
Prashant
T. Tsonev
Telerik team
 answered on 12 Jul 2010
6 answers
238 views
We are using the RadSkinManager to allow the user to select embeded skins. Now, what we need to do is create our own custom skins, which we are using your online tool to do, and register them as embeded skins so that they can be selected from the RadSkinManager's drop-down list. Can you tell me how this can be done?

Thanks,


Steve Holdorf
Steve Holdorf
Top achievements
Rank 1
 answered on 12 Jul 2010
1 answer
109 views
Hi,
Can I disable images in the RadEditor.  I don't want users to be able to use images in the editor, just limited text formatting.  I have removed the toolbar button for images but users can still drag and drop images into the editable area.

I have looked at the workaround that disables drag and drop events but that only prevents events within the editable area. (see here http://www.telerik.com/community/forums/aspnet-ajax/editor/disable-images-drag-and-drop.aspx).

I am already filtering out image tags server side but I need to do this in the editor as well.

Please help
Rumen
Telerik team
 answered on 12 Jul 2010
1 answer
74 views
On clicking the InsertFormElement tool, a dropdown appears with various inputs to insert into the editor.

I need to remove some of the items from the dropdown list.

How do I do this?

Your help would be much appreciated.

Thanking you in anticipation.

Roger
Rumen
Telerik team
 answered on 12 Jul 2010
3 answers
117 views
Hi everyone..

I want the user to select a theme at runtime... but i cant figure it ..  i save user's theme name in database and take them to session..

<appSettings>
  <add key="Telerik.Skin" value="SkinName"/>
  <add key="Telerik.EnableEmbeddedSkins" value="false"/>          
</appSettings>
 
 
 ConfigurationManager.AppSettings.Set("Telerik.Skin",Session("UserThemeName").ToString)
 Page.Theme = Session("UserThemeName").ToString

but if i do that, all user's themes is changing..  i want to users have their own theme.. but i cant registering more theme ...

Any Ideas ??? ...
Thnxx
Dimo
Telerik team
 answered on 12 Jul 2010
1 answer
116 views
Good Day

In my Scheduler on the Day View my Appointments shrinks , i am not sure why, i have attached the Image and my css looks like this

    <style type="text/css"
  
    .rsMainHeader  
    { 
     white-space: normal; 
    } 
     #ConfigurationPanel1 ul 
    { 
        list-style: none; 
        padding:0; 
        margin:0; 
    } 
     
    #ConfigurationPanel1 ul li 
    { 
     line-height: 24px; 
     float:left; 
     border-left: solid 1px #b1d8eb; 
     padding-left: 11px; 
     margin-left: 10px; 
    } 
     
     
    .rsAllDayRow  
    {  
        height: 50px !important;  
    }  
 /*RadScheduler Appointment Overrides*/ 
 
.RadScheduler 
 
.rsTimelineView .rsWrap, 
 
  
 
.RadScheduler 
 
.rsTimelineView .rsApt 
 
  
 
 
  
 
height:auto !important; 
 
  
 
 
.RadScheduler 
 
.rsTimelineView .rsApt 
 
  
 
 
  
 
position:static !important; 
 
  
 
 
div.RadScheduler 
 
.rsAptContent, 
 
  
 
div.RadScheduler 
 
.rsAptIn, 
 
  
 
div.RadScheduler 
 
.rsAptMid, 
 
  
 
div.RadScheduler 
 
.rsAptOut 
 
  
 
 
  
 
height: auto !important; 
 
  
 
.rsTodayCell 
  { 
      background:gray !important;     
  } 
 
</style> 

and  the Definition of the Schedular as below

       <telerik:RadScheduler ID="RadScheduler1" ColumnWidth="2000px" RowHeaderWidth="2000px" DayView-GroupingDirection="Vertical" RowHeaderHeight="500px"  runat="server" DataSourceID="SqlDataSource2" 
            DataEndField="ENDDATE"   DataKeyField="ID"  Skin="Telerik" Height="66%" Width="96%" DataSubjectField="SUBJECTS"  DataStartField="STARTDATE" AllowDelete="False" AllowEdit="False" AllowInsert="False"   DayEndTime="20:00:00" OverflowBehavior="Expand" SelectedView="MonthView"  OnDataBound="RadScheduler1_DataBound" OnAppointmentCreated="RadScheduler1_AppointmentCreated" CssClass="ConfigurationPanel1" OnTimeSlotCreated="RadScheduler1_TimeSlotCreated" OnAppointmentDataBound="RadScheduler1_AppointmentDataBound" GroupingDirection="Vertical" EnableViewState="False" DisplayDeleteConfirmation="False" EnableAdvancedForm="False" EnableResourceEditing="False" ReadOnly="True" MinutesPerRow="60" OnAppointmentCommand="RadScheduler1_AppointmentCommand"
   
                <TimelineView GroupBy="SESS" GroupingDirection="Vertical" /> 
              
             <ResourceTypes> 
            <telerik:ResourceType KeyField="SESS"  Name="SESS" TextField="SESS" ForeignKeyField="SESS" DataSourceID="SqlDataSource2" /> 
            </ResourceTypes> 
   
            <DayView GroupingDirection="Vertical" /> 
        </telerik:RadScheduler> 


Thanks

Peter
Telerik team
 answered on 12 Jul 2010
6 answers
132 views
Hi
I installed a fresh copy of q1 2010 519 on my computer.
I have VS 2008 and built my project site.
In earlier version,In the Toolbox RadControls were automatically added but here I had to manually add it.
Then I tried to drag n drop the controls and they dont drop into Design area.????
Is this a bug or some problem at my end.I have addted tab directing to telerik.web.design.dll of .35 version.

Reply
..Thanks
Erjan Gavalji
Telerik team
 answered on 12 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?