TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ejaz mirza
NA
471
47.2k
redrected controller view is not displaying
Jul 3 2018 2:41 AM
public
ActionResult chartofaccountedit(String name)
{
treeviewlist();
chartofaccount data=
new
chartofaccount();
if
(name ==
null
)
{
return
View(
"chartofaccountscreate"
);
}
else
{
data = mse.chartofaccounts.SingleOrDefault(x => x.AccountName == name);
if
(data ==
null
)
{
return
View(
"chartofaccountscreate"
);
}
else
{
// data.AccountName="mirza";
// int id =Convert.ToInt16( data.ID);
return
RedirectToAction(
"chartofaccountscreate"
,
"chartofaccounts"
, data);
}
}
}
public
ActionResult chartofaccountscreate(chartofaccount data)
{
treeviewlist();
chartofaccount ca =
new
chartofaccount();
ca.AccountName = data.AccountName;
return
View(ca);
}
when i redirecting to the create view is not displaying what will be the problem
Reply
Answers (
2
)
how to validation usng select only 1 radio btn in inner grid
convert day month and year to date sql server