Hi,
I was going through the SubReport video in Telerik trainer, except when assigning the filter I get the exact error described in the notes of the Filter wizard:
Cannot perform '=' operation on System.Int32 and System.String
Now, I'm following the exact instructions in the video, both fields from the database are indeed integers and even in checking the datasources I can see that my postID fields are both being read as integers. I've tried every possible combination of different ='s and no ='s for the Filter property, but the only time I can get it to not throw the error is if I put an exact value in for the parameter, so instead of putting =Paramater.postID I just put in 30 (a known value in the postID's). Any ideas as to why this error is being thrown?
I know it says right there that this will be thrown in preview mode, but when put into production the error persists. No clue how to avoid this as it is breaking the exact project that is in the trainer. Any ideas would be welcome. :)
Also, one issue I do notice is when I go into the Filter wizard, instead of the items I can pick they are all displayed as =Field.accID, =Field.postID, instead of just Field.accID, Field.postID. Could this have anything to do with it?
I was going through the SubReport video in Telerik trainer, except when assigning the filter I get the exact error described in the notes of the Filter wizard:
Cannot perform '=' operation on System.Int32 and System.String
Now, I'm following the exact instructions in the video, both fields from the database are indeed integers and even in checking the datasources I can see that my postID fields are both being read as integers. I've tried every possible combination of different ='s and no ='s for the Filter property, but the only time I can get it to not throw the error is if I put an exact value in for the parameter, so instead of putting =Paramater.postID I just put in 30 (a known value in the postID's). Any ideas as to why this error is being thrown?
I know it says right there that this will be thrown in preview mode, but when put into production the error persists. No clue how to avoid this as it is breaking the exact project that is in the trainer. Any ideas would be welcome. :)
Also, one issue I do notice is when I go into the Filter wizard, instead of the items I can pick they are all displayed as =Field.accID, =Field.postID, instead of just Field.accID, Field.postID. Could this have anything to do with it?