Hi
In below code i want to add another condition if Eval'OnBreak'= Break then ltrlBookDelivertStatus should be Break
Thanks
Hi
In below code i want to add another condition if Eval'OnBreak'= Break then ltrlBookDelivertStatus should be Break
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh KumarPosted Apr 8, 2023, 10:07 AM
You can change Literal to Label,
Ramco RamcoPosted Apr 8, 2023, 10:13 AM
Hi Jignesh
Is not closing tag > is missing in this code also
Thanks
Ramco RamcoPosted Apr 8, 2023, 9:53 AM
Hi Jignesg
It is giving error = > Literal is missing > character from start
Thanks
Jignesh KumarPosted Apr 8, 2023, 9:45 AM
Hello,
You need to change here, please remove extra > at end of Text, one more change need to do here Eval("OnBreak'").ToString().Trim() == "Break"
Ramco RamcoPosted Apr 8, 2023, 9:42 AM
Hi Jignesh
I have written this but still getting same error
Thanks
Jignesh KumarPosted Apr 8, 2023, 9:41 AM
Hello Ramco,
Try below one,
Ramco RamcoPosted Apr 8, 2023, 9:33 AM
Hi JIgnesh
If i have to change here what is the error
Thanks
Jignesh KumarPosted Apr 8, 2023, 9:31 AM
Hello Ramco,
I think you should do this in your response query so your UI will be much cleaner. BookDeliveryStatus should be set with the required logic in the business layer.
It's good practise to do this logic at the back end while getting responses from the database. Then you can apply your logic in a query or business logic, which will make your code more clean.
Ramco RamcoPosted Apr 8, 2023, 9:10 AM
Hi
Getting error - Server tag is not well formed
Thanks
Amit MohantyPosted Apr 8, 2023, 7:06 AM