Posted on Feb 9, 2012 (permalink)
Reply
Posted on Feb 10, 2012 (permalink)
Thank you for contacting us. I tried to replicate the problem in a sample of mine but to no success. Please, take a look at the attached sample and let me know if I am missing something.
No, I am using the EditForms mode in my sample. I even tried with a edit form template - the result is the same. Please, run my sample, compare your own implementation with it, note the differences and let me know what needs to be tweaked as to replicated the issue.
<
ClientEvents
OnGridCreated
=
"SelectFirstOnGridCreated"
/>
telerik:RadScriptBlock
ID
"ScriptBlock1"
runat
"server"
>
script
type
"text/javascript"
function SelectFirstOnGridCreated(sender, args) {
if (sender.get_masterTableView().get_dataItems().length > 0) {
sender.set_activeRow(sender.get_masterTableView().get_dataItems()[0].get_element());
sender.get_masterTableView().get_dataItems()[0].set_selected(true);
}
</
Posted on Feb 16, 2012 (permalink)
Back to Top
[ ASP.NET Grid Features | Documentation | Demos | Telerik TV | Self-Paced Trainer | Step-by-step Tutorial ]
UI controls for ASP.NET AJAX, MVC, WPF, Silverlight, Windows Forms and Windows Phone. Visual Studio productivity tools. Reporting and data layer solutions.
HTML5 / JavaScript tools for Web and Mobile applications
Functional, Performance, Load and Mobile Software Testing
CMS, Mobile Web, Ecommerce, Emarketing, Social Media
Project management software inspired by Agile best practices
It seems you haven't bookmarked any pages. Fix that by clicking the button below