Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
57 views
I have a page which uses a RadDateInput which plays quite nicely.  In another place I have an <asp:textbox /> control in which I dynamically set to a date input using a RadInputManager, if the answer required is a date.

These are both on the same page and the client "onerror" properties point to the following javascript function;

function OnError(sender,args){args.set_cancel(true)}

As I mentioned, the RadDateInput plays nicely but the RadInputManager one crashes if you don't enter a valid date (then tab/click out of the box or submit) with a javascript error; for example, "G.getFullYear is not a function".  This occurs in all browsers.

Working:
<telerik:RadDateInput ID="txtDOB" runat="server" SelectionOnFocus="SelectAll" DateFormat="d" MinDate="01/01/1930" MaxDate="01/01/2000" Culture="en-GB" EmptyMessage="DD/MM/YYYY"><ClientEvents OnError="OnError" /></telerik:RadDateInput>

Broken:
<telerik:DateInputSetting BehaviorID="setDate" DateFormat="d" Culture="en-GB" EmptyMessage="DD/MM/YYYY" ClientEvents-OnError="OnError" SelectionOnFocus="SelectAll" />

It appears that the javascript OnError() is not working for this control - but what is worse is that if I do not have the ClientEvents-OnError attribute set then I cannot submit valid dates!  The control shows it's error state when a valid date is entered and prevents form submission!

This is a very busy high-profile website - I might need to raise a ticket but I'm posting here first in case anyone else is familiar with this behaviour?
Dan Ware
Top achievements
Rank 1
 answered on 21 Apr 2011
1 answer
94 views
i have questions. How can I update DataKeyValues on radGrid in EditMode="InPlace". I have set ReadOnly properties for key columns on false. When I try update value of key column i have error. 

Please support me.
Regards
Sebastian
Mira
Telerik team
 answered on 21 Apr 2011
1 answer
102 views
Hi. I can't work out what conditions cause a resize handle to appear in the bottom right corner of a ribbon bar. In the Telerik demos, for example, the 'First Look' demo (http://demos.telerik.com/aspnet-ajax/ribbonbar/examples/default/defaultcs.aspx) does include a resize handle whilst the 'Items' demo (http://demos.telerik.com/aspnet-ajax/ribbonbar/examples/items/defaultcs.aspx) does not include one. Looking at the associated .aspx pages I can't see any obvious difference in the <telerik:RadRibbonBar...> markup for the two demos.

Regards, Ian
Ian
Top achievements
Rank 1
 answered on 21 Apr 2011
3 answers
112 views
I have a webform with many RadGrids on it.  There are two of the grids that display an animated wheel located in a panel in the lower left footer that displays a waiting or working status when operations occur like the user hitting the "Update" or "Insert" buttons in the grid rows.  This is the default animation for Ajax I believe.

I want to maintain that style across all the RadGrids.  I have compared all the properties of the grids in question that have that behaviour to the grids that do not display that feature right and cannot find the properties to alter on the non participating RadGrids.  Each RadGrid is wrapped in it's own UpdatePanel.

Any suggestions would be appreciated.

Thanks
Reid
Top achievements
Rank 2
 answered on 21 Apr 2011
2 answers
58 views
Hello,

When content and features are replicated to another machine in my farm, the RAD editor lists features does not activate automatically on the target machine (on the site features). Does anyone know why?

Thank you,

Vitor
Vitor
Top achievements
Rank 1
 answered on 21 Apr 2011
5 answers
201 views
I would like to have a RadGrid inside a UserControl with Sorting and Paging Events.

I have tried to do it thusfar but cannot understand how to do it.

Would someone please detail how this is done?



Summary:
- Require a RadGrid inside a custom UserControl. The RadGrid must support sorting, paging and export to pdf whilst still inside the UserControl.



Thankyou,
Serban.
Dave
Top achievements
Rank 1
 answered on 21 Apr 2011
1 answer
138 views
I am using tables.  I have 2 colunms 1 80% width of the page and another 20% of the page.  The dockzone in the 20% of the page holds the docks and the main is for viewing the docks.  The main area is blank (All though a picture os something that say drag stuff here would be nice).  When I run the code I have the main zone is a wide skinny area.  I was hope for an 80% X 80% main docking zone.

.Main
    {
         height:80%;
        width: 80%;
    }
.Main
    {
         height:80%;
        width: 20%;
    }
  
<td class="Main">
            <telerik:RadDockZone ID="Main" Runat="server" height="100%" width="100%">
                  
            </telerik:RadDockZone>
        </td>
        <td class="Side">
            <telerik:RadDockZone ID="Side" Runat="server" Height="450px" Width="100%">
                <telerik:RadDock ID="RadDock1" Runat="server" Resizable="True" Text="MAP" 
                    Title="xy" Width="300px" Collapsed="True">
                    <ContentTemplate>
                                            </ContentTemplate>
                </telerik:RadDock>
                <telerik:RadDock ID="RadDock5" Runat="server" Resizable="True" Text="Blog" Collapsed="True"
                    Title="x" Width="300px">
                    <ContentTemplate>
                                            </ContentTemplate>
                </telerik:RadDock>
            </telerik:RadDockZone>
        </td>
Pero
Telerik team
 answered on 21 Apr 2011
1 answer
71 views
Hi,

I want to calibrate Y-axis to display time on it in the hour and min format. I dont want to display time in the equivalent decimal format.

Also same time I want to display in HH:MM in the data-table below the chart. Is it possible to calibrate the Y-axis in time format ?

Evgenia
Telerik team
 answered on 21 Apr 2011
2 answers
70 views
Hello,

Does anyone know of any way to round the corners of the drop-down list in the RadComboBox?  Is it possible?  I'm on version 2010.2.713.35 and I've been beating my head against the wall for days....

Thanks!
Charlie
Top achievements
Rank 1
 answered on 21 Apr 2011
4 answers
126 views
Dear Sir,

I am using radgrid control and get it's column value in javascirpt.

It's working fine with IE and Chrome but it's not working in firefox firsttime.

It's giving error "grid not found" in javascirpt.

After loading firsttime in firefox it will be working fine also.

So please give me proper solution for that.

I giving my javascriot.

------------------- CODE ------------------
<telerik:RadScriptBlock ID="dsf" runat="server">
        <script language="javascript" type="text/javascript">
            function CheckItems() {
                var Message = "<b>" + document.getElementById("<%= txtLabelName.ClientID %>").value + " </b><br />";
                var grid = $find("<%=grdMandatoryInstructions.ClientID %>");
                var MasterTable = grid.get_masterTableView();
                Message += "<ul>"
                for (var i = 0; i < MasterTable.get_dataItems().length; i++) {
                    record = MasterTable.get_dataItems()[i];
                    if (record.findElement("chkItem").checked) {
                        Message += "<li>" + record.findElement("lblDispalyName").innerHTML + "</li>";
                    }
                }
                document.getElementById("<%= lblLabelMessage.ClientID %>").innerHTML = Message + "</ul>";
            }           
        </script>
    </telerik:RadScriptBlock>
------------------------------------------------

Thanking you.
Kishor Dalwadi
Top achievements
Rank 2
 answered on 21 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
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
Bronze
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?