Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
130 views
I'm having an issue with the hover effect on the RadCalendar.

I'm using special days to highlight days that have events on that day, these items have a grey color. Every other day is white, selected days are green. My selected days are classed "Populated"

So if i click on a date, that is NOT a special day with the 'populated' class, the selected date bg color goes green. This is expected. If i mouse around the selected date color stays which is what I want.

Now if i selected a 'Special Day' the color goes green, however when I hover over it and go off it, the color goes back to special day color. Inspecting the element I see that the rcSelected class is removed and the Populated class is there.

How come the normal days retain the rcSelected class on mouseover / out and the Special days lose the rcSelected class on mouseover/out?

**My rcSelected background color is !important, I know that the class is being removed via the IE dev toolbar.
I appreciate any help.
Vasil
Telerik team
 answered on 14 Sep 2012
2 answers
111 views

We upgraded out radcombobox component to the latest version (2012.2.724.40) today from version 2009.3.1314.20. Previously when we pressed tab the selected item was selected when we pressed tab, now it only works when we press enter. We didn't change any of the code, and we didn't use any javascript to accomplish this behavior.

<telerik:RadComboBox ID="ddlLevel1" runat="server" EnableEmbeddedSkins="false" skin="ourSkin" style="float:left;padding-right:1px;" Filter="Contains" AllowCustomText="false" MarkFirstMatch="true" IsCaseSensitive="false" AutoPostBack="true" Width="126"          OnClientFocus="OnClientDropdownFocus" SelectOnTab="true" />

Bennie De Jong
Top achievements
Rank 1
 answered on 14 Sep 2012
3 answers
212 views

Hi, i have a radslider and a label nested like this:

<telerik:RadTreeList>

 <EditFormSettings EditFormType="Template">

  <FormTemplate>

    <asp:Panel>

        <asp:Label />

        <telerik:RadSlider />

.....

I try differnet approches to set the label text to choosen radslider value. But i cant seem to find the controls.

         

Princy
Top achievements
Rank 2
 answered on 14 Sep 2012
1 answer
134 views
Hi,

How to remove the refresh button in code behind?
Any help is highly appreciated.

Princy
Top achievements
Rank 2
 answered on 14 Sep 2012
2 answers
141 views
Hello all,

How can I close the insert form on an external button click?

Thanks in advance.
Janaki
Top achievements
Rank 1
 answered on 14 Sep 2012
1 answer
523 views
I have a RadGrid that sits inside an UpdatePanel. I have the following template column defined:

                        <telerik:GridTemplateColumn UniqueName="Answers" HeaderText="Edit" DataField="Id">
                                <ItemTemplate>
                                    <asp:LinkButton OnClientClick="$(this).parent().parent().css('backgroundColor', 'cyan');" ID="btnViewAnswers" runat="server" CommandArgument='<%# Eval("Id") %>'
                                        CssClass="icolink btn_list" OnClick="btnViewAnswers_Click">Answers</asp:LinkButton>
                                </ItemTemplate>
                            </telerik:GridTemplateColumn>

How do I highlight the row when clicked? I am using jQuery now to change the background color and its working, but I think the updatepanel is doing an ajax call and then the radgrid is losing the css.
Shinu
Top achievements
Rank 2
 answered on 14 Sep 2012
7 answers
276 views
I have populated my grid with a service and everything works fine, now i want to populate a GridDropDownColumn with a WebService i think the GridDropDownColumn is a RadComboBox and i found a sample using the webservicesettings tag but i dont how to implement it for GridDropDownColumn.

I hope you can help me
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 13 Sep 2012
6 answers
164 views
Hi guys, i'm new with this topic and i need your help.

I know how to edit info inside a grid (now i'm using popup mode) and it works. But my boss asked me to change a field (logo picture converted into base64 string ) and i needed to use the radupload control inside the grid.

I've added it manually and it appears without problems but i don't know how to get this file to convert it into base64 string... could you help me with this? thanks a lot!

This is the code i'm using into the grid
<telerik:GridAttachmentColumn FileName="NuevoLogoFN"
    FilterControlAltText="Filter Nuevo Logo column" HeaderText="Nuevo Logotipo"
    Text="Nuevo Logotipo" UniqueName="NuevoLogo">
</telerik:GridAttachmentColumn>

And this one is part of the codebehind
if (e.CommandName == RadGrid.UpdateCommandName)
      {
 
          //GridDataItem item = (GridDataItem)e.Item;
          GridEditFormItem item = (GridEditFormItem)e.Item;
 
 
          Hashtable newValues = new Hashtable();
 
          item.ExtractValues(newValues);
 
 
         //I need the code here
 
                
          string id = item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["ID_Reg"].ToString();
Arturo
Top achievements
Rank 1
 answered on 13 Sep 2012
1 answer
147 views
I have a RadAutoCompleteBox 

<

 

 

telerik:RadAutoCompleteBox runat="server" ID="radtxtKeywordSearch" InputType="Token"

 

 

 

AllowCustomToken="true" Height="200px" Width="500px" DropDownWidth="500px" DropDownHeight="200px"

 

 

 

BorderColor="Gray" BorderWidth="1px" BorderStyle="Solid" CssClass="radsearch"

 

 

 

BackColor="#F0F8FF">

 

 

 

</telerik:RadAutoCompleteBox>

 


I am entering something text like "re" but it is selecting "real estate" once type Enter button
my query is it should not select real estate it should select what i have entered that only for that
what i need to do
Could u plz. suggest me...
Advance thank u
Ivana
Telerik team
 answered on 13 Sep 2012
19 answers
495 views
Hi.
I have followed the AdvancedForm tutorial (http://www.telerik.com/help/aspnet-ajax/schedule_advancedformtemplate.html), and I have managed to include a user control to invite colleagues to an event. However when I try to save the event I get the following error:
Value cannot be null.
Parameter name: value

This is my Telerik RadScheduler:
  <telerik:RadScheduler runat="server" ID="RadScheduler1" Skin="Office2007" 
                        Height="551px" ShowFooter="false" ReadOnly="false" Localization-AdvancedCalendarToday="I dag" Localization-AdvancedCalendarCancel="Avbryt" 
                        Localization-AdvancedDescription="Beskrivelse" Localization-AdvancedDone="Fullfør" Localization-AdvancedSubject="Emne" 
                        TimeZoneOffset="00:00:00" WeekView-HeaderDateFormat="dd.MM.yyyy" 
                        DayStartTime="07:00:00" DayEndTime="21:00:00" Culture="nb-NO"                         
                        FirstDayOfWeek="Monday" LastDayOfWeek="Friday" 
                        EnableDescriptionField="true" Localization-Show24Hours="Vi 24 timer" Localization-ShowBusinessHours="Vis arbeidstid" HoursPanelTimeFormat="HH.mm" 
                        DataSourceID="sqlAppointments" DataRecurrenceField="RecurrenceRule" DataDescriptionField="Description" 
                        DataEndField="EndTime" DataKeyField="ID" DataRecurrenceParentKeyField="RecurrenceParentID" DataStartField="StartTime" 
                        DataSubjectField="Subject" OnFormCreated="RadScheduler1_FormCreated" OnClientFormCreated="schedulerFormCreated" 
                        OnNavigationComplete="RadScheduler1_NavigationComplete" 
                        OnAppointmentDataBound="RadScheduler1_AppointmentDataBound" 
                        OnAppointmentDelete="RadScheduler1_AppointmentDelete" 
                        OnAppointmentUpdate="RadScheduler1_AppointmentUpdate" 
                        OnAppointmentInsert="RadScheduler1_AppointmentInsert"
                        <AdvancedForm Modal="true" /> 
                        <TimelineView UserSelectable="false" /> 
            <AdvancedForm Modal="true" /> 
            <AppointmentTemplate> 
                <div class="rsAptSubject"
                    <%# Eval("Subject") %> 
                </div> 
                <%# Eval("Description") %> 
            </AppointmentTemplate> 
            <AdvancedEditTemplate> 
                <scheduler:AdvancedForm runat="server" ID="AdvancedEditForm1" Mode="Edit" 
                    Subject='<%# Bind("Subject") %>' 
                    Description='<%# Bind("Description") %>'  
                    EventID='<%# Bind("ID") %>' 
                    Start='<%# Bind("Start") %>' 
                    End='<%# Bind("End") %>' 
                    RecurrenceRuleText='<%# Bind("RecurrenceRule") %>' 
                    UserID='<%# getUserID() %>' 
                    PartnerID='<%# getPartnerID() %>' /> 
            </AdvancedEditTemplate> 
            <AdvancedInsertTemplate> 
                <scheduler:AdvancedForm runat="server" ID="AdvancedInsertForm1" Mode="Insert" 
                    Subject='<%# Bind("Subject") %>' 
                    Start='<%# Bind("Start") %>' 
                    End='<%# Bind("End") %>' 
                    Description='<%# Bind("Description") %>' 
                    RecurrenceRuleText='<%# Bind("RecurrenceRule") %>' 
                    UserID='<%# getUserID() %>' 
                    PartnerID='<%# getPartnerID() %>' /> 
            </AdvancedInsertTemplate>             
         <TimeSlotContextMenuSettings EnableDefault="true" /> 
         <AppointmentContextMenuSettings EnableDefault="true" /> 
                    </telerik:RadScheduler> 


This is my SqlDataSource:
<asp:SqlDataSource ID="sqlAppointments" runat="server" ConnectionString='<%$ ConnectionStrings:ConnectionString %>' 
    SelectCommand="SELECT * FROM Appointments WHERE UserID = (SELECT TOP 1 UserID FROM User WHERE UserID_guid = @UserID) AND StartTime < EndTime" 
    InsertCommand="INSERT INTO [Appointments] ([Subject], [Start], [End], [UserID], [RecurrenceRule], [RecurrenceParentID], [Description]) VALUES (@Subject, @Start, @End, @UserID, @RecurrenceRule, @RecurrenceParentID, @Description)" 
    > 
    <SelectParameters> 
        <asp:Parameter Name="UserID" /> 
    </SelectParameters>         
    <InsertParameters> 
            <asp:Parameter Name="Subject" Type="String" /> 
            <asp:Parameter Name="Start" Type="DateTime" /> 
            <asp:Parameter Name="End" Type="DateTime" /> 
            <asp:Parameter Name="UserID" Type="Int32" /> 
            <asp:Parameter Name="RecurrenceRule" Type="String" /> 
            <asp:Parameter Name="RecurrenceParentID" Type="Int32" /> 
            <asp:Parameter Name="Description" Type="String" />     
    </InsertParameters> 
</asp:SqlDataSource> 


One last note:
The error occurs even when I try to add an event from the inline-insert. So I believe this has more to do with the setup of the sqldatasource or perhaps the radscheduler.

Looking forward to your help :)
Ivana
Telerik team
 answered on 13 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?