I ran my page through the validator at http://validator.w3.org/, and it told me: Line 467, Column 144: there is no attribute "disabled"
The link it's referring to is inside my grid:
<
div
id
=
"ctl00_cphMain_grdSchedule_ctl00_ctl06_Detail10_ctl06_Detail10_ctl04_ttpScheduleItem"
disabled
=
"disabled"
style
=
"display:none;position:absolute;"
>
???
6 Answers, 1 is accepted
0
Hello WombatEd,
Please note that the disabled="disabled" attribute is not a valid XHTML and hence the error. You can try setting the disabled style through some javascript code instead.
I hope this helps.
All the best,
Martin
the Telerik team
Please note that the disabled="disabled" attribute is not a valid XHTML and hence the error. You can try setting the disabled style through some javascript code instead.
I hope this helps.
All the best,
Martin
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0

WombatEd
Top achievements
Rank 1
answered on 24 Jan 2011, 03:00 PM
Sorry, Martin.
I failed to make it clear: this line is being generated by the Telerik grid. Unless there's a grid property that addresses the issue, I have no control over it.
I failed to make it clear: this line is being generated by the Telerik grid. Unless there's a grid property that addresses the issue, I have no control over it.
0
Hello WombatEd,
The disabled attribute might be generated by a control that has "Enabled=false" property set. Please review your code and verify whether any control contained in the grid has this setting applied. If this does not help, I would suggest that you open a formal support ticket and send me a small sample based on your scenario that fails the required validation. This way I will be able to inspect the code locally and provide you with more to-the-point resolution.
Kind regards,
Martin
the Telerik team
The disabled attribute might be generated by a control that has "Enabled=false" property set. Please review your code and verify whether any control contained in the grid has this setting applied. If this does not help, I would suggest that you open a formal support ticket and send me a small sample based on your scenario that fails the required validation. This way I will be able to inspect the code locally and provide you with more to-the-point resolution.
Kind regards,
Martin
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0

WombatEd
Top achievements
Rank 1
answered on 25 Jan 2011, 05:59 PM
Thanks, Martin.
That markup comes from with a RadToolTip that I have set Enabled=False, and I can live without that setting. So I'm good for now.
But in some other scenario, someone might really need to do that, so you might want to pass this along to whomever is responsible for ensuring that the markup you generate can pass validation.
Thanks Again!
That markup comes from with a RadToolTip that I have set Enabled=False, and I can live without that setting. So I'm good for now.
But in some other scenario, someone might really need to do that, so you might want to pass this along to whomever is responsible for ensuring that the markup you generate can pass validation.
Thanks Again!
0
Hello WombatEd,
Thank you for this additional clarification.
Actually, the Enabled property of the RadToolTip is only inherited from the base Control class and it is not implemented. In the context of the tooltip there is no a state as enabled or disabled and that is why this scenario and setting is invalid.
What you should do to get the desired and correct configuration and result is to use the API of the RadToolTip control - its specific properties and methods. In case you face a problem with this, let me know what is your exact scenario and I will help you implement it without using the Enabled property.
On a side note, there are other properties for other RadControls which are only inherited as well - e.g BackColor, Border, etc. They should not be implemented for RadControls because they are complex controls with complex HTML and e.g setting the Border property does not give the information to which exact element the border should be set - to the wrapper, to child items, etc.
This being said, try to implement your scenario with the tooltip's control specific API and in case you need assistance, provide more details about the exact scenario and we will do our best to help.
Regards,
Svetlina
the Telerik team
Thank you for this additional clarification.
Actually, the Enabled property of the RadToolTip is only inherited from the base Control class and it is not implemented. In the context of the tooltip there is no a state as enabled or disabled and that is why this scenario and setting is invalid.
What you should do to get the desired and correct configuration and result is to use the API of the RadToolTip control - its specific properties and methods. In case you face a problem with this, let me know what is your exact scenario and I will help you implement it without using the Enabled property.
On a side note, there are other properties for other RadControls which are only inherited as well - e.g BackColor, Border, etc. They should not be implemented for RadControls because they are complex controls with complex HTML and e.g setting the Border property does not give the information to which exact element the border should be set - to the wrapper, to child items, etc.
This being said, try to implement your scenario with the tooltip's control specific API and in case you need assistance, provide more details about the exact scenario and we will do our best to help.
Regards,
Svetlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0

WombatEd
Top achievements
Rank 1
answered on 27 Jan 2011, 03:35 PM
Thanks, Svetlina. That clarifies a lot. For a number of reasons, I almost always work with the markup, instead of the API, but I undersand now why Telerik tools should be an exception to that rule.