0
votes
2answers
30 views
MVC3 Model Binding Issue
I am getting this strange issue in MVC 3.
I have a strongly typed view and a controller which has a SaveMethod(Employee emp).
But when i click SAVE, it is not hitting Save method and throws below ...
0
votes
2answers
17 views
Just another issue with form validation in asp.net MVC
I have the next issue:
I have some custom form which fills one - MyCustomDto.
public class MyCustomDto
{
[Required]
[DataType(Email)]
public String Email {get;set;}
[Required]
...
0
votes
0answers
12 views
MVCjqDrid store GridSettings in session
I have a mvcjqgrid:
@(Html.Grid("dataGrid")
.SetJsonReader(new MvcJqGrid.DataReaders.JsonReader { Id = "Id", RepeatItems = false })
.SetRequestType(RequestType.Post)
...
0
votes
1answer
16 views
umbraco string trim using razor view
I have a Umbraco script Im using on a site, inside it there is a razor script as below:
<p>@page.GetProperty("mainContent")</p>
The above is in a loop, and shows content for each post
...
0
votes
1answer
39 views
upload files in asp.net mvc
I'd like to upload a file in asp.net mvc. I've the following codes. But file returns always null value. Is there anything, I should try?
.cshtml
<input type="file" name="file" id="file" />
...
0
votes
0answers
24 views
How to merge audio and video file using c#
I am recording the video and audio of the user and saving in the database using getusermedia . Now i will be having one video file and one audio file of same time. Then i want to combine the audio and ...
0
votes
1answer
16 views
An expression tree may not contain a dynamic operator
I've seen some posts on the same subject, but none of them helped me.
I'm trying to join two tables. User and Scoreboard
ViewModels>ScoreboardVM.cs
public class ScoreboardVM
{
public ...
0
votes
1answer
40 views
Jquery event in ASP MVC 3 Web Application
I am developing an ASP.Net MVC 3 application using C# and SQL Server 2005.
I would like to create a Jquery event on a button. It's like an accordian animation.
I have already in the template which ...
0
votes
2answers
51 views
local variable named 'myList' cannot be declared in this scope
Can anyone explain to me to know what this error is and why I got it?
I have tried to change the name f the variable but it didn't work.
public ActionResult Index(string SortOrder, string ...
1
vote
3answers
42 views
Creating Re-usable Classes That Use Domain Entities
As a developer, I'm trying to make my classes more modular and re-usable. One of the areas where I've run into problems is when I design a class to work with entity framework entities.
For example, ...
1
vote
1answer
26 views
Delimiting double quotes for replacing XML characters
I am using a template Excel Export class which I found on CodeProject here
and within the class there is a method for replacing certain characters to make them safe for Excel, however the following ...
0
votes
0answers
16 views
Simplemembership and cookie userdata compatibillity
I am trying to use SimpleMembershipProvider for FormsAuthentication. Now this provider internally creates a FormsAuth cookie without any additional userdata.
I want to include some other information ...
1
vote
1answer
17 views
Run specific application from a Web Application
I'm sure you all have seen those links are able to run for example Yahoo Messenger application on client side if it is installed on client machine. I want to know bit more about how should I register ...
-2
votes
0answers
20 views
How to add permissions mechanism to an asp.net admin
I have built an Admin website, using APN.net MVC 4.
Users login with Active-Directory credntials.
I now want to implement an auterization mechanism.
I'll add a users table in the DB. I want to
...
1
vote
1answer
39 views
Loop Through Multi-Level Dynamic Menus in Asp.Net MVC
i am trying to loop through multilevel dynamic menus. I have been succeeded to do this manually i.e everytime if want to display the child Menus of it's parent, I have to loop manually. I would like ...