InsertParameters; GUID

Posts   
 
    
Kjelli
User
Posts: 27
Joined: 11-May-2006
# Posted on: 04-Jan-2007 15:42:01   

Hi again

I need to inject a FK (GUID) when a telerik grid component tries to save a new record. The InsertParameters of the llblgenprodatasource seems to be the place, but the "Type" list does not contain a Guid element. I've tried several others (string, object etc) but no luck.

Should there be a Guid in that list or will i.e. object work as well?

Version 2.0.0.60921, self servicing.

When I debug and use quickwatch where the exception occurs, all data is present except this required FK.

kjelli

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
Kjelli
User
Posts: 27
Joined: 11-May-2006
# Posted on: 09-Jan-2007 08:52:10   

Thanks Walaa!

It didn't work at first, but I changed to session variable and then it worked perfectly. I was using a hidden form element initially.

kjelli