This is a migrated thread and some comments may be shown as answers.

RadGrid Selecting Problem

3 Answers 181 Views
Grid
This is a migrated thread and some comments may be shown as answers.
lang dinh thien
Top achievements
Rank 1
lang dinh thien asked on 15 Aug 2009, 03:55 PM
hi all.
i have i problem with radgrid. when i chose
<ClientSettings>
                <Selecting AllowRowSelect="True" />
</ClientSettings>
i can select row in grid.
but when i chose
<ClientSettings>
                <Selecting AllowRowSelect="True" />
                <ClientEvents OnRowSelecting="Rowselecting" />
</ClientSettings>
i can't chose row in grid . any event i chose in client setting , it made the AllowRowSelect don't work.
please help me , thank you .

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 17 Aug 2009, 06:05 AM
Hi,

I am not sure what exactly is causing this issue. I tried the same scenario on my end and it is working as expected. Do you have any client side code inside the OnRowSelecting client event? If so try sending that code portion also.

Shinu
0
Babuji
Top achievements
Rank 1
answered on 24 Jan 2012, 01:37 PM
Hi,

                  I am facing a problem with radgird. If I set  Selecting-AllowRowSelect="true", I am unable to select the text of radgrid rows in the browser. Can you please rectify this problem? I am attaching the snapshot for your reference. In the snapshot I can able to select the text, which is highlighted in red. The selected text has the blue background.

--
Babuji Godem
0
Andrey
Telerik team
answered on 27 Jan 2012, 08:42 AM
Hi,

When you hook some event of RadGrid - client or server, you are supposed to write an event handler for that event, otherwise there will be a JavaScript error which will lead to some unexpected behavior. Have you written an event handler for the OnRowSelecting event of RadGrid?

Additionally, OnRowSelecting event is fired just before a Row in RadGrid is selected, not the text in that row.  On the other hand as you already know selecting items(Rows) in RadGrid is toggled with the AllowRowSelect property.

If you still have problems, please post your whole RadGrd declaration along with the event handlers for the respective events and tell us what are your requirements.

Regards,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Grid
Asked by
lang dinh thien
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Babuji
Top achievements
Rank 1
Andrey
Telerik team
Share this question
or