Oct 16, 2014, 8:15 AM
[CLOSED] Problem with a Command.Url that not show the redirected page
Hi guys,
I have a grid direct command with a url redirect and some parameter.
This is the portion of code into the caller cshtml file:
Why? How do i have to do in order to perform display?
Thanks
Marco
I have two zip with sample code but i'm unable to attach it.
I have a grid direct command with a url redirect and some parameter.
This is the portion of code into the caller cshtml file:
.Commands(
Html.X().GridCommand()
.CommandName("Edit")
.Icon(Icon.NoteEdit)
.ToolTip(t =>
{
t.Text = "Modifica della ripartizione ferie per giorno";
})
)
.ID("EDITID1")
.DirectEvents(
directEvents =>
{
directEvents.Command.Url = "/PianoFerieOreMese";
directEvents.Command.Action = "";
directEvents.Command.ExtraParams.Add(
new Ext.Net.Parameter()
{
Name = "Matricola",
Value = "record.data.Matricola",
Mode = ParameterMode.Raw,
}
);
directEvents.Command.ExtraParams.Add(
new Ext.Net.Parameter()
{
Name = "CodAz",
Value = "record.data.CodAz",
Mode = ParameterMode.Raw,
}
);
})
Both the controller file and cshtml file of the redirected are processed correcly, but the csthml file will not be rendered into the browser.Why? How do i have to do in order to perform display?
Thanks
Marco
I have two zip with sample code but i'm unable to attach it.
Last edited by Daniil; Oct 24, 2014 at 5:36 AM.
Reason: [CLOSED]