Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
445 views
Hello, let's say I have a RadTextBox and a RadButton
with CSS:
.Control
{
    Width: 100%;
}
If I apply to both RadTextBox and RadButton ( CssClass="control" ), the RadTextBox will not expands to the maximum width, althought RadButton does, but the background image from RadButton's default style is gone.
When I try to set Width="100%" within the control, it work prefectly.
You can see the screenshot from the attachment, the first two control is RadTextBox and RadButton with CSS width 100% applied, the third and fourth control is Asp.Net's default TextBox and Button control with CSS width 100% applied.

I wonder if this an issue and have been fixed? Or just that the way I applied was wrong?
Since I haven't update my Telerik Componet since November.

Thanks
King Chan
Top achievements
Rank 1
 answered on 22 Feb 2011
3 answers
161 views
Hi Telerik Team !

Most of our users are using IE6, but we would like to use the Embedded Icons as available in RadButton. The Icons doesn't display well. Is there is any know remedy ?

Cheers,

S.F.
Sébastien
Top achievements
Rank 2
 answered on 22 Feb 2011
5 answers
690 views
Dear Telerik Team,

I am actually migrating the asp:button to telerik:radbutton and some logic doesn't work as expected.
For example, It was easy to use things like that to click a button using jQuery : 

function keyboardActions(event) {
    if (event.keyCode == 13) {
 
        eval($("#<%=btnSearch.ClientID %>").trigger('click')); // Doesn't work with RadButton Q3.2010
        return false;
    }
    //  other keypressed other actions ?
}
 
// If the client press ENTER, the Search button is clicked.
$(document).ready(function () {
    if ($.browser.mozilla) {
        $("#<%=txtName.ClientID %>").keypress(keyboardActions);
        $("#<%=txtCode.ClientID %>").keypress(keyboardActions);
     } else {
        $("#<%=txtName.ClientID %>").keydown(keyboardActions);
        $("#<%=txtCode.ClientID %>").keydown(keyboardActions);
    }
});

How may I do the same logic using RadButton ?

Cheers,

S.F.
Sébastien
Top achievements
Rank 2
 answered on 22 Feb 2011
3 answers
150 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
266 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
178 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
145 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
107 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
42 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
167 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?