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

Problem upgrading a site to use Rad controls

1 Answer 29 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Clive Hoggar
Top achievements
Rank 1
Clive Hoggar asked on 20 Jan 2010, 08:03 PM

I am trying to upgrade a site built with asp.net 2.0 to 3.5 and to use Telerik Rad
components but running into strange problems:

1 ) I built a simple grid using sql server as data source, with auto insert, update
and delete enabled
When I clik to add a new record, the default form opens, I add data and click
Insert. Nothing happens. It does not close, and nothing is added. Cancel closes the form

2 ) A clue might be that on a simple test form the validation controls don't
work either, in that they fire if the input is not valid, but the
 form gets posted back anyway. The validation controls do not prevent it.
(Button is set to cause validation)

I have done many grids and forms and never seen this problem.

I wonder if it is because the site was originally developed on iis5, published to
iis6 on remote server, and now the development server is iis7 (vista)

Please advise!

Thanks
Clive

P.S Using visual studio 2008 with Q2 2009 version.

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 25 Jan 2010, 11:26 AM
Hi Clive,

The issue with the insert form not closing seems to indicate that the insert operation is unsuccessful, that is why your insert form stays visible. When using automatic data source operations in RadGrid, you need to make sure:

1. You set EnableAutomaticInserts="true"
2. You setup your DataSource control so that it accepts the insert parameters and performs the insert operation.

For more information on automatic data source operations:

Automatic data source operations

As for the validation issues, we will need to look at your setup to be able identify any causes of the misbehavior.

Regards,
Veli
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Clive Hoggar
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or