Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
216 views
Hi all,

Does anyone know of a solution to the following accessibility issues, all of which are failing the WCAG2.0 AA compliancy standards...?

Examples...

1. RadGrid Pager elements - missing "title" attribute

The PagerStyle "NextPrevNumericAndAdvanced" produces (amongst other stuff!) the following two text input fields...
- GoToPageTextBox
- ChangePageSizeTextbox

These input fields do not have the "title" attribute by default, and it's not possible for me to relate them to separate <LABEL> tags due to design considerations.

Is there any way of specifying a "title" attribute for these fields?  I notice all the other links in the Pager enable this with the "xxxToolTip" attributes, but I can't find a similar attribute for the GoToPage and ChangePageSize inputs.


2. RadDatePicker (and others) - presentation tables include "summary" attribute.

Many of the controls produce tables to lay out the various components, but these layout tables include a "summary" attribute which the AA guidelines stipulate must either be not included, or contain a null value.

For example...
- RadDatePicker produces...
<table cellspacing="0" summary="title and navigation" border="0">

- RadComboBox produces...
<table summary="combobox" style="border-width:0;border-collapse:collapse;">

So, is there any way to easily customise the "summary" attribute?

Also while I'm here... the ComboBox table example above (correctly) uses "style" attribute to control the table's cellspacing and border, whereas the DatePicker uses "cellspacing=0" and "border=0", which are not recommended.

Thanks in advance,
Jon

(Note: Sorry if this has already been answered elsewhere; I've searched the forums but can't find the answer if it exists!)
Jonathan
Top achievements
Rank 1
 answered on 27 Aug 2012
5 answers
223 views
Hi,

I have set the RadGrid Edit Mode to be "InPlace". I have also enabled the keyboard support on the RadGrid so that while in Edit mode, if I press enter after finished typing a line, the Update Command will fire. It works great in Single-Line RadTextBox, but not with Multi-Line RadTextBox, as in Multi-Line mode, when I press Enter, the caret move to the next line in the textbox instead of firing Update Command.

I tried Ctrl + Enter, Shift + Enter, Alt + Enter, but none of them can trigger the Update Command.

Please let me know if  there any work-around on this issue.

Thanks

Lamk.
LamKhoa
Top achievements
Rank 1
 answered on 26 Aug 2012
2 answers
161 views
Hi
I have a RadScheduler bound with WebService and AppointmentContextMenus.
Long click on iPad device doesn't show the menu, how can I do that?

<telerik:RadScheduler Visible="true" runat="server" ID="UserSchedulerOrderEntry"
TimelineView-UserSelectable="false" MonthView-UserSelectable="True" SelectedView="WeekView"
Height="550" FirstDayOfWeek="Monday" LastDayOfWeek="Sunday" StartEditingInAdvancedForm="true"
AllowDelete="true" AllowEdit="false" AllowInsert="false"
OnClientAppointmentsPopulating="OnClientAppointmentsPopulating"
OnClientAppointmentEditing="OnClientAppointmentEditing"
OnClientAppointmentsPopulated="OnClientAppointmentsPopulated"
OnClientAppointmentCreated="appointmentCreated"
OnClientRequestFailed="clientRequestFailed"
OnClientRequestSuccess="clientRequestSuccess"
OnClientAppointmentDataBound="OnClientAppointmentDataBound"
OnClientAppointmentMoveStart="OnClientAppointmentMoveStart"
OnClientAppointmentContextMenuItemClicking="User_appointmentContextMenuItemClicking"
OnClientAppointmentContextMenuItemClicked="User_appointmentContextMenuItemClicked"
OnClientAppointmentContextMenu="User_appointmentContextMenu"
OnClientNavigationCommand="User_navigationCommand"
OnClientNavigationComplete = "User_navigationComplete"
RowHeight="20px"
MonthView-AdaptiveRowHeight="false"
MonthView-VisibleAppointmentsPerDay="1" MonthView-HeaderDateFormat="MMMM yyyy"
MonthView-FirstDayHeaderDateFormat="dd-MMMM" MonthView-DayHeaderDateFormat="dd"
HoursPanelTimeFormat="H:mm" DayStartTime="06:00" DayEndTime="20:00" WorkDayStartTime="06:00"
WorkDayEndTime="20:00" AppointmentStyleMode="Default" EnableDescriptionField="false"
OverflowBehavior="Expand" ShowAllDayRow="False"
CustomAttributeNames="RequestItemNote" >
<AppointmentContextMenus>
    <telerik:RadSchedulerContextMenu runat="server" ID="UserSchedulerOrderEntrytMenu">
        <Items>
            <telerik:RadMenuItem Text="Edit" Value="CommandEdit" />
            <telerik:RadMenuItem Text="EditAdvance" Value="CommandEdit2" />
            <telerik:RadMenuItem Text="EditAdvance2" Value="CommandEdit3" />
        </Items>
    </telerik:RadSchedulerContextMenu>
</AppointmentContextMenus>
<WebServiceSettings Path="~/WebServices/OrderEntry/UserAppointmentCalendar.asmx"
    ResourcePopulationMode="ServerSide" />
<ResourceStyles>
    <telerik:ResourceStyleMapping Type="Status" Key="Required" BackColor="#FAE68B" BorderColor="#FCD836" />
    <telerik:ResourceStyleMapping Type="Status" Key="Scheduled" BackColor="#C4E8FF" BorderColor="#30A9FB" />
    <telerik:ResourceStyleMapping Type="Status" Key="Executed" BackColor="#B3E7A8" BorderColor="#71D05E" />
    <telerik:ResourceStyleMapping Type="Status" Key="Deleted" BackColor="#FF8888" BorderColor="#E51010" />
</ResourceStyles>
</telerik:RadScheduler>
Thanks
Riccardo
Top achievements
Rank 1
 answered on 26 Aug 2012
0 answers
291 views
Hello,
I have an Update Panel in my content page and a tree view in Master Page.
TreeView's Node click is set for AsyncTrigger of Update Panel.
code for onclientnodeclick event of tree:

function test(sender, args)
{
   $('#Message').Load(args.get_node().get_value()+'.htm');
}

Message is a span element in ContentTemplatesection of Update Panel .
When clicking a node some pages are shown but some pages are not shown and by refreshing the page IE causes:
Stack overflow at line 6

files are : 1.htm , 2.htm, 3.htm , ...
don't know really what to do!
Tooraj
Top achievements
Rank 1
 asked on 26 Aug 2012
3 answers
95 views

when i click one check box multiple check box are checked true 
this is the way i check here but that all are not checked

                        document.getElementById('<%= Chk_Admins.ClientID %>').Checked = true;      
                        document.getElementById('<%= Chk_Technice.ClientID %>').Checked = true;      
                        document.getElementById('<%= Chk_requestor.ClientID %>').Checked = true;      
                        document.getElementById('<%= Chk_Req_Port.ClientID %>').Checked = true;      
                        document.getElementById('<%= Chk_Tech_Port.ClientID %>').Checked = true; 


Thanks Advance,
Mohamed.
mohamed
Top achievements
Rank 1
 answered on 25 Aug 2012
0 answers
84 views

Hi, is there a settings to set all the Items and sub items for the item collection to PostBack="False" ?

I know each Item can be set by its own, I can write a recursive function to set it to False but it seems like a waste, is there a master setup for the entire control to never post back on an item click?
I searched the forums but could not find anything I guess I just missing a simple settings...

Thank You,
Gabriel.
Gabriel
Top achievements
Rank 1
 asked on 25 Aug 2012
5 answers
227 views
Greetings,

We are using RadControls Ajax 2009.1 311 and have encountered a javascript error that prevents modules from being dynamically placed in Page_Init. We do not experience this problem in any other browser except for IE8.

In the Page_Init we are using 
ScriptManager.RegisterStartupScript(  
dock,  
GetType(),  
"AddDock" + controlId,  
string.Format(@"function _addDock{2}() {{  
Sys.Application.remove_load(_addDock{2});  
$find('{1}').dock($find('{0}'));  
$find('{0}').doPostBack('DockPositionChanged');  
}};  
Sys.Application.add_load(_addDock{2});", dock.ClientID, FindControl(zone).ClientID, controlId), true); 

The error that IE8 gives is  

---------------
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB5; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)
Timestamp: Sat, 21 Mar 2009 03:52:04 UTC

Message: Invalid argument.
Line: 597
Char: 1
Code: 0
URI: /ScriptResource.axd?d=XKpUX8S7IKwR9HGDHQJQ7PjplCbQNpuJI5GQbMZueaFWR37nx5jBKBTPzX59hwo70&t=ffffffffafb50a67
---------------

We noticed that we view the output of this script resource in other browsers we get the javascript output but when we try to view it using IE8 we get compressed output. When checked we could see that there is HTTP compression being applied to the resource, but we haven't setup any HTTP compression for this project yet.

Are the Telerik controls compressing the output for their Scripts and if so, is there any way to turn this compression off so that we can validate this theory that IE8 isn't decompressing the Gzipped output properly.

Regards,

Jason

 

Aaron Jessen
Top achievements
Rank 1
 answered on 24 Aug 2012
1 answer
90 views
I have ScrollChildren set to true but when I get 1 tab past the edge of the screen it automatically wraps and created a new row whenever a tab is added.

I've gone through the forums and only found a suggestion to check the css, which seemed an exceptionally poor answer since it didn't detail what might affect the tabstrip to cause the wrapping.    I've removed the stylesheet anyway, then tried setting width 100%, and so on, including using IE's Developer Tools to inspect the css but I have yet to figure out how to  change it to prevent the new row, especially since the only styles on the element now are the inline ones produced by Telerik's code.

Any suggestions would be very much appreciated.
Chris Owens
Top achievements
Rank 1
 answered on 24 Aug 2012
2 answers
76 views
Hello,

could I use RadTimeView just as usual control, not connected to some e.g. RadTimePicker or something?
When I just put it on my page I see from HTML markup that the "wrapper" div has the "display:none" style, so it is not visible.
How could I make it visible on the server?

Thanks in advance,
Ilya.
Seekbirdy
Top achievements
Rank 1
 answered on 24 Aug 2012
2 answers
38 views
Hello,

I'm trying to get the selectedItem from the comboBox but since I load it up with info from a string on the server side it wont do anything.
The items are there however on both the server side and client side they seem empty.

Here's the asp control:
<telerik:RadComboBox
                 ID="RadComboBox1" runat="server"
                 Width="590px" Height="140px"
                 EmptyMessage="Type something here"
                 OnItemsRequested="RadCombobox2_ItemsRequested" EnableLoadOnDemand="true"
                 >
</telerik:RadComboBox>
And the .cs
protected void RadCombobox2_ItemsRequested(object o, Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs e)
    {
        for(int i=0;i<mono.M_content.Count;i++)
        {
            if (mono.M_content[i].M_type == 0)
            {
                RadComboBox1.Items.Add(new RadComboBoxItem(mono.M_content[i].C_Description.ToString()));
            }
        }
    }
 
protected void Button1_Click(object sender, EventArgs e)
    {
        label12.Text = RadComboBox1.SelectedValue.ToString();
        //RadEditor1.Content = test;
    }

I load the ComboBox with info from a database and I have a button which is supposed to paste that info into the RadEditor but I won't do anything, I've tried all the event handlers from the ComboBox without success, I still get nothing, not even an error.

Any ideas on how I can fix this?

Thanks a lot for your help.

Greetings
Jonathan
Top achievements
Rank 1
 answered on 24 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?