In order to be 508 compliant, I have a RadDock with a TitlebarTemplate so that the title can be marked up as an h2. Another 508 requirement is that when the dock is refreshed (using a button at the bottom of the dock), focus is set to the dock's title. I haven't yet been able to achieve this, and was hoping somebody might be able to lend a hand.
ASPX:
<
telerik:RadDock
runat
=
"server"
ID
=
"rdDock"
DefaultCommands
=
"None"
EnableDrag
=
"false"
>
<
TitlebarTemplate
>
<
h2
runat
=
"server"
id
=
"hTitle"
class=
"rdTitle"
tabindex=
"0"
>Dock Title</
h2
>
</
TitlebarTemplate
>
<
ContentTemplate
>
<!-- Dock Content -->
<!-- ... -->
<!-- Refresh Button -->
<
asp:Button
runat
=
"server"
ID
=
"btnRefresh"
Text
=
"Refresh"
/>
</
ContentTemplate
>
</
telerik:RadDock
>
Protected
Sub
btnRefresh_Click(
ByVal
sender
As
Object
,
ByVal
e
As
System.EventArgs)
Handles
btnRefresh.Click
'Section 508 requires that focus is returned to the control
'rdDock.TitlebarContainer.Controls(0).Focus()
'rdDock.TitlebarContainer.Focus()
hTitle.Focus()
End
Sub
Please let me know if you have any thoughts on this. Thanks!