Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
95 views

I don't know what i am doing wrong but every time i download and use the telerik upgrade wizard to upgrade a project it has never worked. I have always had to fiddle with things to get it work. Is this seriously so complicated it has to break my projects every time?? Not happy.

See attached.

 

Shinu
Top achievements
Rank 2
 answered on 11 Nov 2013
1 answer
149 views
Dear Telerik,
I just create a new RadControls Website with RadCompression Enabled.
But if u turned off RadCompression the size of Telerik.Web.UI.WebResource.axd will be the same and the load time also (tested on Fiddler and Firebug)

Am I missing something ?
Maria Ilieva
Telerik team
 answered on 11 Nov 2013
2 answers
161 views
Hi,

When I use the RadTimePicker, OnSelectedDateChanged will be fired when:

- Clicking on the clock after the time textbox
- Using cursor keys to change the time and change the focus to another control

It will NOT be fired when only using the cursor keys and leaving the focus on the timepicker.
I would like to use this to calculate a duration between a begin and end time.

If this is not possible, how can I do this on the client?
Calculate the duration between 2 timepickers and put the result in another timepicker.

Thanks,
Egbert
Egbert
Top achievements
Rank 1
 answered on 11 Nov 2013
3 answers
139 views
Hi

For our site I use the Metro Skin, however for certain buttons I want to overwrite the Background color. I am able to do this except for when the button is pressed. I created a CSS class and used the PressedCssClass but it doesn't do anything. Here is my code

<td align="right" height="30">
        <telerik:RadButton ID="RadButton3" runat="server"  ButtonType="LinkButton" OnClick="orderupdate_Click" PressedCssClass="buttonpressed" HoveredCssClass="buttonpressed">
        </telerik:RadButton
</td>

and the CSS class

.buttonpressed {
    background-color: #000000 !important;
   }

thank you
Danail Vasilev
Telerik team
 answered on 11 Nov 2013
10 answers
211 views
I am after similair functionality as this demo example for combobox:

http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/treeviewcombobox/defaultcs.aspx?product=combobox

Is there anyway to close the control after a selection has been made after the first level in the tree?
Peter Filipov
Telerik team
 answered on 11 Nov 2013
9 answers
505 views
I'm currently using a RadComboBox with a RadTreeView to accomplish the same thing this new control does.  So, logically, I'd like to replace what I am using now with the RadDropDownTree.  Unfortunately I can't figure out how to do some of the client-side stuff I'm doing with the other controls.  For now I just need to expand or collapse the dropdown.  could someone point me to where that's documented?  I couldn't find it in the online docs...

Also, since I'm here, keyboard control is spotty so far.  Once I click within the dropdown tree I can then go up and down to select different nodes, but if I tab to the control and then hit the down arrow nothing happens.  It requires two mouse clicks to begin keyboard control.  Am I missing something?

Thanks!
Peter Filipov
Telerik team
 answered on 11 Nov 2013
1 answer
84 views
Hello !
It's possible to use RadBinaryImage and InfiniteScroll ? or in other words, load image client-side ?
Not add image url (otherwise the image is not resize) but add the "Telerik.Web.UI.WebResource.axd?imgid=423e8ea1c0c54bf49213ea52a8f45ea6&type=rbi"
Thank you
Manu

Vasil
Telerik team
 answered on 11 Nov 2013
3 answers
794 views
Hello,

I want to use a CustomValidator for a RadTextBox. The RadTextbox is inside an asp:Panel which is ajaxified with the RadAjaxManager. I have a CustomValidator with a ClientValidationFunction and ValidateEmptyText="True". However, the client side validation function is never called. 

Below is the code extract from the control and validator. Note that the RequiredFieldValidator (again inside the Panel) works fine. Note that I am using Q3 2013

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <telerik:RadAjaxManager ID="RadAjaxManager2" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="btnSubmit">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="Panel1" UpdatePanelCssClass="" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server">
    </telerik:RadAjaxLoadingPanel>
    <telerik:RadFormDecorator id="FormDecorator1" runat="server" DecoratedControls="All" Skin="Metro"></telerik:RadFormDecorator>
    <asp:Panel runat="server" ID="Panel1">
    <table>
    <tr>
            <td class="auto-style5">
                <label>Father's Name:</label>
            </td>
            <td style="width:100px">
                <telerik:RadTextBox ID="txtFathersName" Runat="server" EmptyMessage="Father's Name" LabelWidth="64px" Resize="None" Width="160px" DisabledStyle-BackColor="Silver">
                </telerik:RadTextBox>
            </td>
            <td><asp:CustomValidator runat="server" ID="CustomFieldValidator1" ControlToValidate="txtFathersName" ClientValidationFunction="RequiredIfPhysical" ErrorMessage="<img src='images/Exclamation.png' Title='Required Field'/>" ValidateEmptyText="True" Display="Dynamic" ></asp:CustomValidator>
                </td>
        </tr>
        <tr>
            <td class="auto-style5">
                <label>City:</label>
            </td>
            <td class="auto-style6">
                <telerik:RadTextBox ID="txtCity" Runat="server" EmptyMessage="City" LabelWidth="64px" Resize="None" Width="160px" Wrap="False" CausesValidation="False">
                </telerik:RadTextBox>
                 
            </td>
            <td><asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtCity"
                    runat="server" ErrorMessage="<img src='images/Exclamation.png' Title='Required Field'/>" Display="Dynamic" ></asp:RequiredFieldValidator></td>
        </tr>
        </table>
    </asp:Panel>    
Further below there is also the javascript validator:


<telerik:RadCodeBlock ID="RadCodeBlock2" runat="server">
        <script type="text/javascript">
            function RequiredIfPhysical(sender, args) {
                var chkBoxPhysical = $find("<%=rdBtnPhysical.ClientID%>");
                chkBoxPhysical = $telerik.toButton(chkBoxPhysical);
                if (chkBoxPhysical.get_checked()) {
                    if (args.Value == "") {
                        args.IsValid = false;
                    }
                    else {
                        args.IsValid = true;
                    }
                } else {
                    args.IsValid = true;
                }
            }
        </script>
</telerik:RadCodeBlock>



Shinu
Top achievements
Rank 2
 answered on 11 Nov 2013
5 answers
312 views
Hi Everyone,

I'm new to telerik and I recently started to explore with it and love it.  I build a page with it and I want to have 3 separate collapsible Dock within one page.  I created it like this:

<telerik:RadDockLayout ID="RadDockLayout2" runat="server">
                            <telerik:RadDockZone ID="RadDockZone3" runat="server" Height="300px" Width="300px">
                                <telerik:RadDock ID="RadDock3" runat="server" Width="300px" Title="Dock1" Text="Dock1">
                                <Commands>
                                <telerik:DockExpandCollapseCommand />
                                </Commands>
                                <ContentTemplate>
                                  --Contents here---
                                </ContentTemplate>
                                </telerik:RadDock>
                            </telerik:RadDockZone>
                            <telerik:RadDockZone ID="RadDockZone4" runat="server" Height="300px" Width="300px">
                                <telerik:RadDock ID="RadDock4" runat="server" Width="300px" Title="Dock2" Text="Dock2">
                                <Commands>
                                <telerik:DockExpandCollapseCommand />
                                </Commands>
                                <ContentTemplate>
                                --Contents here---
                                </ContentTemplate>
                                </telerik:RadDock>
                            </telerik:RadDockZone>
 
                            <telerik:RadDockZone ID="RadDockZone5" runat="server" Height="300px" Width="300px">
                                <telerik:RadDock ID="RadDock5" runat="server" Width="300px" Title="Dock2" Text="Dock2">
                                <Commands>
                                <telerik:DockExpandCollapseCommand />
                                </Commands>
                                <ContentTemplate>
                                  --Contents here---
                                </ContentTemplate>
                                </telerik:RadDock>
                            </telerik:RadDockZone>
                        </telerik:RadDockLayout>

My problem is that I have some textbox/combobox in Dock1 and need to create a SqlDataSource in dock2 but  use the  textbox/combobox as variable in the SqlDataSource.  When I try to run it, I get a "Cannot find the Control" for SqlDataSource.  Is there any way I can work around  this or a simple way of creating such  page?

Shinu
Top achievements
Rank 2
 answered on 11 Nov 2013
1 answer
122 views
Hi,

I have an issue with the RadScheduler. If I use a TimeLineView with no resources or appointments, the "Navigate to date" window cannot be used to navigate t an date where there might be data, because the window expands beyond the Scheduler's area and thereby the web part (i guess). See the screenshot for what I mean.

I have tried setting the height of the TimelineView but it doesn't work and I have read that setting the height of a TimelineView is not supported anyway. I have also tried setting the height of the SharePoint Webpart containing the scheduler to 1000 pixels through the SharePoint UI, but still no luck. Finally, I have tried wrapping the scheduler in a div and set the height of the div to 1000px, but that doesn't work either. 

Do you have any solution to how to make the navigation pane show properly when there are no items in the TimelineView?
Plamen
Telerik team
 answered on 11 Nov 2013
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?