Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
179 views

Hello,

I am displaying several RadSliders within a RadListView inside of a 'load on demand' RadTabStrip, and I am getting a rendering issue with the RadSlider on all browsers.

After my ‘compatibility’ tab loads the RadSliders look as you see them in ImageA.  You will notice that I have placed one test RadSlider outside of the RadListView which also displays incorrectly.

If I click on my ‘profile’ tab and then back to my ‘compatibility’ tab the RadSliders will display correctly and as expected in ImageB.

Does anyone know how to correct this issue?

Best regards,

~Dean

Dean
Top achievements
Rank 1
 answered on 22 Feb 2011
2 answers
294 views
Hello,
I'm using a userControl as an editForm for my radGrid. In the said editForm, I have a bunch of other userControl with contains custom radComboBox. I'm trying to add server-side SelectedItemChanged event to those comboBox, but the event never gets fired. Here's the way I'm adding the event:

dataComboBox.SelectedIndexChanged += new RadComboBoxSelectedIndexChangedEventHandler(this.dataComboBox_SelectedItemChanged);

Since I use those userControl elsewhere, I know that the syntax isn't the issue. I tried to add the event withing my editForm userControl at a bunch of different place, such as in DataBinding and OnInit event. I also tried to add the event in the ItemDataBound event of my radGrid without any success. How or where can I add my SelectedItemChanged?

Thank you for your help,
LP
Louis-Philippe
Top achievements
Rank 1
 answered on 22 Feb 2011
2 answers
193 views
Hello,
I have a page containing two radGrid, one of them using a userControl as an editForm. When the user click on the update button, I have no trouble accessing the data from the UpdateCommand event. But, if the user click on the other radGrid, I need to exit edit mode, so I whant to do some verification and update the data if needed, but I can't find a way to access the user control containing the data. Since I was accessing the data from ItemDataBound and UpdateCommand this way
UserControl scheduleApprobationEditForm = e.Item.FindControl(GridEditFormItem.EditFormUserControlID) as UserControl;
I tried to access the data using the same idea from outside of my grid's events
UserControl userControl = (UserControl)_radg.EditItems[0].FindControl(GridEditFormItem.EditFormUserControlID);
But userControl stays null. I can access the item been edited as a GridEditableItem, but I haven't found a way to extract my userControl from it. So how can I access the userControl representing my editForm from anywhere in my code?

Thank you for your help,
LP
Louis-Philippe
Top achievements
Rank 1
 answered on 22 Feb 2011
3 answers
184 views
I am using VS 2008 trying to access SQL server 2005.  When trying to setup a database connection I get the following error:

Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=10.0.0.0, Culture=neutral, PublicKey Token=89845dcd8080cc91' or one of its dependecies.  The system cannot find the file specified.

It seems that this used to work before installing the Telerik controls or maybe it's just been a while since I've done this.  Thanks for any help.

Joe Weber
Top achievements
Rank 2
 answered on 22 Feb 2011
2 answers
131 views
Hi there,

In my appointment context menu, I have a delete menu item that I would like to cancel if the user does not confirm that they are sure they want to delete this item.  However, the args argument for OnClientAppointmentContextMenuItemClicked does not seem to have a "set_cancel" method in the same way as is the case on the OnClientAppointmentDeleting.  Here is what I am trying to do:

function onAppointmentContextMenuItemClicked(sender, args) {
    switch (args.get_item().get_value()) {
        case "CommandDelete":
            if (args.get_appointment().get_id().startsWith('booking'))
                type = "booking";
            else if (args.get_appointment().get_id().startsWith('fixture'))
                type = "fixture"; 
            if (!confirm("Are you sure you want to delete this " + type)) {
                args.set_cancel(true);
            }
            break;
    }
}

There is no set_cancel event on the args object, so I can't see how to cancel the callback to the server.  Can you tell me how I can cancel it?
Matthew
Top achievements
Rank 1
 answered on 22 Feb 2011
1 answer
63 views
Hello,

I'm trying to change the color of the day cell background when the number of activities per day is greater than 5.
Can anyone help me with that?

Regards,

João Machado
Veronica
Telerik team
 answered on 22 Feb 2011
1 answer
205 views
I have a RadPageView which I use with a RadMultiPage and RadTabStrip inside of a RadWindow. The problem is that my RadPageView does not stretch to fill the RadWindow. I set the Height and Width to 100%, and for the Width it works fine... (when I resize the window, the PageView is also resized). However, the height of the PageView only stretches down to the height of the controls that it contains. I spent a lot of time playing with the properties trying to get this to work... Is there an easy way to achieve this? Or do I have to handle client side OnResize events... It works for the width though.. shouldn't it be easy to also work for the height?
I attached some images to help describe my scenario... Thanks!!
Cori
Top achievements
Rank 2
 answered on 22 Feb 2011
1 answer
221 views
I've a radscheduler reading it's data in from a provider (which connects to exchange). If there's no account to connect to, or a problem with the service, I want the scheduler to simply be disabled and not render.

So I thought this simple peice of logic would do the trick:

if (Service != null)
{
    Calendar.DayStartTime = TimeSpan.Parse("05:00:00");
    Calendar.DayEndTime = TimeSpan.Parse("23:00:00");
    Calendar.Culture = System.Globalization.CultureInfo.CreateSpecificCulture("en-GB");
    Calendar.WeekView.HeaderDateFormat = "d";
    ScheduleProvider ExchangeScheduleProvider = new ScheduleProvider();
    ExchangeScheduleProvider.ExchangeService = Service;
    Calendar.Provider = ExchangeScheduleProvider;
}
else
{
    Calendar.Enabled = false;
    Calendar.Visible = false;
}

However, even though the scheduler shouldn't be enabled now in theory, it seems to ignore this and is desperate to try and databind. I get the following error:

[ArgumentException: DataKeyField, DataSubjectField, DataStartField and DataEndField are required for databinding]
   Telerik.Web.UI.Scheduling.DataSourceViewSchedulerProvider.EnsureDataFieldsAreSet() +204

Nowhere in my code do I set a datasource or tell it to databind.
I don't want it to databind or do anything, how do I disable the control?

Veronica
Telerik team
 answered on 22 Feb 2011
1 answer
127 views
Hello Please see the attached image file

In my webform one button clear form values. when i click on that button i want to clear the all selection even recurrence control values.

How to clear the recurrence control values.. In my case no value will be clear even whole page is refresh

urgenttttttttt
Thanks
Veronica
Telerik team
 answered on 22 Feb 2011
0 answers
102 views
Hello in my app i want clear the all recurrence rule values and unchecked the check box of recurrence control

if i click on the new button
What happend
i am adding user - schedule some task after that click on add new user that time the recurrence control is not refresh. I want reset all it's value it's load freshly..

How to do it need URGENTTTTTT

please find the attachment
Rahul
Top achievements
Rank 1
 asked on 22 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
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?