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

Update not woking

4 Answers 24 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Eva
Top achievements
Rank 1
Eva asked on 30 May 2011, 05:55 PM
Hi ,

I am trying to update the radgrid in template colum. Update is not working.

 
What i'm missing here?

Need help ASAP.
Thanks

4 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 31 May 2011, 05:55 AM
Hello Eva,

I cannot exactly reproduce your issue at my end. Check the following code library which explains automatic operations with SqlDataSource.
Automatic operations with SqlDataSource control.

Thanks,
Princy.
0
Eva
Top achievements
Rank 1
answered on 31 May 2011, 06:39 AM
Hi Princy,

That doesn't help much.

I noticed the updating event for the data source is not firing.



Do you have any clue what is causing the problem.

Thanks.
Eva
0
Marin
Telerik team
answered on 02 Jun 2011, 02:03 PM
Hello Eva,

 Please revise your update query and check whether the update parameters are passed correctly especially the one from the query string. Also from the code that you posted it looks like there are some incorrect characters at the end of the HCFASanctionId field : @HCFASanctionId
&#10. Are those really present in your code? You can also check with a simpler updated query without parameters to see if the problem is there:

UPDATE SuspendedProviderHCFASanction SET HCFASanctionId = 1 WHERE SuspendedProviderId=2"


All the best,
Marin
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Eva
Top achievements
Rank 1
answered on 08 Jun 2011, 06:51 PM
Telerik Admin - Could you please remove the coding part from your reply.
Tags
Grid
Asked by
Eva
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Eva
Top achievements
Rank 1
Marin
Telerik team
Share this question
or