16,007,443 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by shiva sanika (Top 6 by date)
shiva sanika
23-Mar-17 22:41pm
View
Tried interop if i got huge data the application was crashed.
shiva sanika
23-Mar-17 22:38pm
View
I have a IEnumerable List right now and need to export the data to EXCEL.
wb.Worksheets.Add(objDataTable);
Instead of adding datatable object to workbook is there any way to add listobject to it by using ClosedXML ? Or any other plugin ?
shiva sanika
23-Mar-17 22:24pm
View
Deleted
Hi Karthik :
Is there any best way to do with IEnumerbale list data ? Without converting it to DataTable ?
shiva sanika
6-Oct-15 21:52pm
View
Deleted
Abhinav S : Yes i changed my request to POST it is working fine for me.
But what if i want to call that from jquery ?
may i know how to do encryption and decryption of URL parameter when i click action link ?
shiva sanika
6-Oct-15 1:51am
View
Deleted
@using (Html.BeginForm("UserDetails", "Admin", FormMethod.Post,
new { @id = "frm1", @class = "customeForm" }))
{
@Html.DisplayFor(X => item.Name)
<input type="hidden" name="CoworkerId" id="CoworkerId" value="@item.CoWorkerId" />
}
shiva sanika
6-Oct-15 1:43am
View
Deleted
Abhinav S : As you said i make it as POST it is not showing now..
but problem is i am unable to get the CoworkerId value to controller..
CoworkerId is always same value when i debug in controller.. so i change my
coworker value in script before submitting.It shows fine when i debug my
javascript,but when it hits controller again same issue i am facing the value of
that hidden field is not changing..How to achive this ?
AllUsers.Cshtml
@model Application.Models.CoworkerGetDetails
<table class="table tblUsers">
<thead>
<tr>
<th>Name</th>
<th>Email</th>
</tr>
</thead>
<tbody>
@foreach (var item in Model.ListAllUsers)
{
<tr>
<td>
@using (Html.BeginForm("UserDetails", "Admin", FormMethod.Post,
new { @id = "frm1", @class = "customeForm" }))
{
@Html.DisplayFor(X => item.Name)
<input type="hidden" name="CoworkerId" id="CoworkerId"
value="@item.CoWorkerId" />
}
</td>
<td>
@Html.DisplayFor(X => item.Email)
</td>
</tbody>
</table>
<script>
$(function () {
$('a#submit_link').click(function () {
var cid = $(this).next().val();
$('#CoworkerId').val(cid);
$('form#frm1').submit();
});
});
</script>
AdminController.Cs
[HttpPost]
public ActionResult UserDetails1(CoworkerGetDetails obj)
{
long id=obj.CoworkerId;
//i will get the details of particular user here....
}
Show More