Evolution 1.11.2.4

Estoy intentando llamar un reporte desde el Smartlist, sin embargo al agreagar para que mande el parametro del registro seleccionado en el help SmartlistParameter este me muestra un error en la pagina que no se encuentra.

The type or namespace name 'SmartlistParameter' could not be found (are you missing a using directive or an assembly reference?)

Esta es la forma en que estoy definiendo el llamado al reporte

<% Html.PrepararEjecucionReporte("repTresSesenta", "RepEvalTresCodCon", false, new SmartlistParameter("codcon")); %>

asked 18 Aug '20, 14:02

MiguelBustamante's gravatar image

MiguelBustamante
52198110116
accept rate: 31%


Hola Miguel, para hacer uso de la clase SmartlistParameter, debes de agregar la referencia al namespace Aseinfo.Infrastructure.Base.Parametros

Debes de agrear la referencia en la parte superior del archivo:

Si el View es de extensión aspx debes agregar el siguiente código:

<%@ Import Namespace="Aseinfo.Infrastructure.Base.Parametros" %>

Si el View es de extensión cshtml debes de agregar el siguiente código:

@using Aseinfo.Infrastructure.Base.Parametros

link

answered 18 Aug '20, 14:17

glemus's gravatar image

glemus
(suspended)
accept rate: 51%

Muchas gracias.

(18 Aug '20, 14:21) MiguelBustamante MiguelBustamante's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Evolution en BitBucket

En este sitio puede acceder al código fuente, centro de descargas y reportar bugs, propuestas y mejoras para Evolution.

Evolution en JIRA

En este sitio puedes sugerir nueva funcionalidad para Evolution, o puedes votar por la funcionalidad ya propuesta por otros usuarios.

Tags:

×47

Asked: 18 Aug '20, 14:02

Seen: 369 times

Last updated: 18 Aug '20, 14:21

[Acerca de] [Preguntas Frecuentes] [Privacidad] [Soporte] [Contacto]
Copyright 2013-2018. Asesores en Informática