0
I have the following question, I know I am not doing it the right way, but I believe it will serve me. I’m trying to integrate my College project with Pagseguro, but I’m finding it complex to use the API, but I saw that in Pagseguro we have the possibility to use buttons generated by the site, and these are in HTML. My system has the product that has several values, and in this case for each product would have to be generated a button, because in Pagseguro to generate the precise button must enter the product name and value to then be generated a code for this button. then for each value, it would generate a button, and then this code would be stored in the database, and when the Index displayed the products, it wanted to take this HTML code from the database and display on the screen, however in its button function, but so far, it can display only HTML
the right thing would be
in the view, I’m using
<i>@Html.DisplayFor(modelItem => item.Botao)</i>
I reversed your issue because you are changing the essential points of a question that has already been answered, and marked as accepted. If you have new doubt, the correct thing is to ask a separate question. If it’s just a small adjustment, you can leave a comment in @Ricardo’s reply asking for help or an add-on, avoiding the need for a new question.
– Bacco
PS: if you and @Ricardo agree that the modification does not invalidate the answer given, just use the history at http://answall.com/posts/161900/revisions to recover the changed data, without prejudice.
– Bacco