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

problems on selecting a row

9 Answers 113 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Veronica
Top achievements
Rank 1
Veronica asked on 05 Dec 2008, 05:13 PM
Hi, I'm having problems selecting a row from a radgrid and I don't know how to solve it. The thing is that some times, not always, when I want to select a row from a radgrid, it won't let me do it, is like the radgrid isn't responding, the page works fine, so I think is not problem in the page's code. At first it happends when I ordered the radgrid by a column a couple of times, but then I notice that when the page loaded and without ordering or filtering, the radgrid wasn't let me select a row.

I change some of the properties of the radgrid, Allow Sorting=true, AllowMultiRowSelection=false and AllowRowSelect=true, so I don't know whats happening.

Any idea is welcome.

The version of the radgrid is 3.0.2.0

Thank you.
Veronica

9 Answers, 1 is accepted

Sort by
0
Colin
Top achievements
Rank 1
answered on 08 Dec 2008, 12:05 PM
Hi

I had this problem and it turned out that it was because I was using a ScriptManager control on the page. When I changed it for a RadScriptManager, I was able to select rows on the Grid again.
0
Veronica
Top achievements
Rank 1
answered on 09 Dec 2008, 01:41 PM
Hi Colin, yes you are right, I'm using a ScriptManager on the page. How can I do to change it for a RadScriptManager?

Thank you.

Veronica
0
Colin
Top achievements
Rank 1
answered on 09 Dec 2008, 01:59 PM
Delete the ScriptManager, then drag a RadScriptManager from the RadControls section of your toolbox onto your form.
0
Veronica
Top achievements
Rank 1
answered on 10 Dec 2008, 02:05 PM
Hi Colin, I'm looking at the html code and I'm not seeing the ScriptManager. I have this:

<meta content="JavaScript" name="vs_defaultClientScript">

but nothing else.

How can I delete it? Sorry for asking but I'm new in VB.NET and RADControls.

Thank you.



0
Colin
Top achievements
Rank 1
answered on 10 Dec 2008, 03:26 PM
Hi Veronica

What are you using to build your web page? I use C# in Visual Studio but I would imagine VB is similar. If you're not using VIsual Studio, I'm not sure I can help you.  How did you get the grid control onto the page in the first place?
0
Veronica
Top achievements
Rank 1
answered on 10 Dec 2008, 05:11 PM
I'm using VB in Visual Studio .NET 2003. The thing is, the page was started by one of my co-workers, one of the radgrids was already in the page and I put the other one. I had to add the radgrid element to the toolbar, because some how it wasn't there. Then I drag the radgrid of the toolbar to the page.
0
Colin
Top achievements
Rank 1
answered on 10 Dec 2008, 09:40 PM
If you open the page in design view, can you not see a ScriptManager control on the page? If so, delete it. Then drag a RadScriptManager from the toolbox onto the page.
0
Veronica
Top achievements
Rank 1
answered on 11 Dec 2008, 06:04 PM
Ok, I'm think that I was not anderstanding you. I thought that in my page I have a ScriptManager because in the search combobox under the menu bar appears the object ScriptManager (*), but in the html code nothing like <asp:ScriptManager ID=”manEjemplo” runat=”server”/>
appears. And if I try to add that, it won't let me because it doesn't appear in the list of object defined for asp.
(*) If I look for it in the entire solution I have this result:
"Buscar todos "ScriptManager", Subcarpetas, Resultados de la búsqueda 1, Toda la solución, "*.*"
Repeticiones: 0    Archivos con repeticiones: 0    Archivos examinados: 140
"
This means:
"Search every "ScriptManager", subfolders, search results 1, entire solution, "*.*", Repetitions: 0 Files with repetitions: 0,
Files examined: 140"

 If I look for it in the actual proyect I have this result:
"Buscar todos "ScriptManager", Subcarpetas, Resultados de la búsqueda 1, Proyecto actual: http://localhost/ProyectoNotas/Seguimiento_Notas/seguimientoNotas.vbproj, "*.*"
Repeticiones: 0    Archivos con repeticiones: 0    Archivos examinados: 127
"
This means:
"Search every "ScriptManager", subfolders, search results 1, Actual proyect: http://localhost/ProyectoNotas/Seguimiento_Notas/seguimientoNotas.vbproj, "*.*"
Repetitions: 0 Files with repetitions: 0, Files examined: 127"

Well, I'm lost.
Thank you for your help.
0
Dimo
Telerik team
answered on 12 Dec 2008, 06:23 AM
Hi Veronica,

You are using the classic RadGrid for ASP.NET. In this case you don't need a ScriptManager, nor a RadScriptManager on the page. These are required by the new RadControls for ASP.NET AJAX.

Please send us a simple web project, which reproduces the row selecting problem and we will inspect it locally.

Regards,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Veronica
Top achievements
Rank 1
Answers by
Colin
Top achievements
Rank 1
Veronica
Top achievements
Rank 1
Dimo
Telerik team
Share this question
or