Could someone please provide me with an example on how to use the get_attributes collection on the client? I'm trying to retrieve the attributes that I set on the server and can't find a demo or documentation that shows how to do that.
I have another question to do with the client-side API for the new controls. I'm noticing some inconsistancies with how methods are named when using the new suite. For instance in the example you gave me you retrieve the attributes using get_attributes(), but then you retrieve a single attribute using getAttribute(). Why does get_attributes have the underscore and getAttribute not? Also why is get_attributes all in lower case while getAttribute has a mix?
Just looking for some understanding, I'm not trying to nitpick or anything.
Thanks,
Greg
0
Nikolay
Telerik team
answered on 15 Jan 2008, 11:02 AM
Hello Greg Dickie,
According to the AJAX conventions, we called the get_attributes method using a small "a" as there is an underscore between the "get" and "attributes" parts, whereas the "getAttribute" method is a single word.