Tagged Questions
-2
votes
2answers
45 views
Take Content from Another Page Without Using any Third Party Software Component [on hold]
Can I add the content part of this link into my webpage
http://rid3201.org/site/club_members2.php?id=MTk3Ng==
I want to show the table content in my site without using any third party software ...
0
votes
1answer
31 views
Keep JavaScript on lowest layer?
I'm not quite sure how to phrase this to be exact, it's a situation I've never ran across before.
I have a website with a top header that's fixed, and a footer that's fixed. On the left side of the ...
0
votes
1answer
28 views
CSS @Styles.Render not rendering stylesheet
I've applied a css stylesheet to my view and it is not rendering when I view it. What's the problem here:
Edit: Works in Firefox 17, does not work in IE10 (something to do with my compatibility view? ...
0
votes
1answer
32 views
HTML5 player video won't stream when deployed
Following code works ok on local IIS but when deployed video aren't streaming anymore (they are downloaded and then played). Looks like it's a server configuration or project configuration problem. ...
-4
votes
0answers
32 views
internet explorer 8 and internet explorer 7 cannot select any text with mvc 4? [closed]
After create a record with uploaded i can't select the text on the confirmation view details on internet explorer 8 and internet explorer 7 on asp.net mvc4.
0
votes
1answer
37 views
How to add Banner/Slider using JQuery in MVC4 Razor View Page
Recently I need to add a banner /slider using J-Query in Master layout.cshtml page in MVC4 project , this is razor view page, any suggestion will be helpful.
0
votes
2answers
81 views
Show byte[] as pdf with html5
Hi i have a big problem.
I have a byte[] receveid from a Wcf service. The byte array represents a pdf file.
In the Controller, i would like to do this:
PDFDto pdfDTO = new PDFDTO();
pdfDTO.pdfInBytes ...
0
votes
2answers
41 views
How to use @Html.TextBox as autocomplete textbox?
I am trying to use the @Html.TextBox() to get the input from the user, but it should act as an auto complete text box?
Values for the text box will be loaded at page load.
Any idea, how to do this?
0
votes
2answers
75 views
how can i pass the data from one view to another using client side only?
My scenario is that i am building a framework like web application where user can build his own page and he/she can preview it. Giving the preview functionality on the same page is pretty easy but i ...
0
votes
1answer
44 views
Separate Logins in asp.met MVC 4 Application
Still learning, so excuse the generalisation's.
Basically, I have a login for regular users.
I want a separate login for an administrator so he/she can alter content on a view in the application.
The ...
1
vote
1answer
47 views
How to get local barcode scanner data into web application?
I'm building a web application with ASP.NET MVC4, it's some kind of repair case processing. There are several computers that will "run" the web application.
When there's a new part arriving, we want ...
0
votes
1answer
102 views
Bundle of Kendo UI is not working in IIS
I am developing an application in ASP.NET MVC 4 using Kendo UI, and the entire application works perfectly by running Visual Studio 2012, but when publishing to the IIS bundle of Kendo is not working, ...
1
vote
3answers
65 views
Make two columns same height
I tried to make two columns having the same height, but it was not.
My html code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
...
0
votes
2answers
22 views
Syntax error on the onclick for input type button html
Can some one just help me out?
I get a syntax error on the two single quotes for javascript:window.location=
here my code:
<input type="button" value="<%: ...
0
votes
0answers
33 views
Set text field to use virtual keyboard on html5
I have a login page created in html5. For security i want to have the user use a virtual keyboard instead of a physical keyboard. So the moment the user clicks the text field, i want the virtual ...
0
votes
0answers
235 views
Kendo Window Pop Up and Html 5 in MVC 4.0
this is first time I am asking something.Please ignore my english because I am not good at all.
Actually I am trying to open a Kendo windo popup on click of a button and I need to play the video in ...
1
vote
2answers
36 views
mvc javascript with DropDownList
So my view receives a model.
And I want to, in case the ID property of the model is -1, make the DDL select the default value "[Select]" that is in there.
DDL:
@Html.DropDownListFor(cModel => ...
0
votes
2answers
110 views
Send data from view to controller in Asp.net Mvc4
How can send html img atribute value from view to controller?
<div class="fileupload-new thumbnail" style="width: 200px; height: 150px;">
@if (Model == null)
{
...
0
votes
1answer
16 views
MVC Validate Sensitive information like ProjectId,UserIs etc?
I am creating one application using ASP.NET MVC 4.5/5.4.
i had model
public class user
{
prop string userId{ get; set;}
prop string email{ get; set;}
}
i am use it to view and taking userId in ...
0
votes
1answer
40 views
HTML & ASP MVC 4: error CS1056: Unexpected character '\'
I am using asp mvc 4. I have the following html markup.
<input type="text" maxLength="2000" pattern="^(~/|https?://).*$|^mailto:([\w\.\-]+)@([\w\-]+)((\.(\w){2,3})+)$" >
I am receiving the ...
0
votes
1answer
64 views
MVC 4 Why does not show the promp message?
Currently I am trying to study html5 by the book Pro-HTML5-Visual-Studio-2012, but now I am in the topic HTML5 and MVC4.
The example that I'm traying to do is easy, only I need to create a Basic ...
-1
votes
1answer
65 views
Rich Web UI development on Microsoft stack [closed]
I'm looking for the latest technologies, frameworks and libraries to develop my n-tier web application. Will employ MS-MVC 4 platform for that, but need a rich UI functionality (similar to the way its ...
0
votes
0answers
22 views
Calling javascript code when the hybrid app is terminated
I have developed a hybrid app using PhoneGap,I am stuck with a problem.The app is terminate the sessions on my web app is not getting cleared on the server side.If i access the same website in the ...
0
votes
1answer
314 views
ASP.NET MVC and HTML5
I have been looking into HTML5 and I am really excited to try it out.
As a framework I would like to use ASP.NET MVC, but I am unsure how it works with HTML5.
Are there (i know there are, but not ...
0
votes
1answer
50 views
ASP.net MVC HTML5 Toolkit - support default textbox values?
I stumbled on the ASP.net MVC HTML5 Toolkit and it looks great. However, I don't see any way to include a default value for HTML5 textboxes whereas this is possible using the standard MVC textbox.
...
0
votes
1answer
58 views
Alternative method of keeping Html placeholder
I have a Registration Form in Razor syntax as shown below
<div id="RegisterDiv" class="is-hidden">
@using (Html.BeginForm("Register", "User", FormMethod.Post, new { id = "frmRegister" ...
1
vote
1answer
62 views
Force input to be decimal in @Html.Textbox
i have a problem.
I have a Razor Textbox:
@Html.TextBox("imp", amount, new { @class = "alignRight", size = 5 })
I would like that , in input, user will write only decimal values.
How can i do?
...
0
votes
0answers
31 views
adding a control using hotel towel template mvc
I know I am asking a stupid question. I am working with hot towel template in MVC structure since 2 days, but nowhere i could find how to add a control like label, textbox, drop down list to the ...
0
votes
2answers
57 views
Let Url point to static file
I have a mvc4 application serving my HTML 5 code to the client. I am using the HTML 5 video tag to show a video. Usually I would put the video file into my application root directory to access it, but ...
0
votes
1answer
52 views
Selecting points of an image in MVC HTML5
I have an image on a webpage (It's an MVC4 web app with HTML5 markup). The image is of a map, I want to make it so when I click on a certain area of the map I send back to the controller that its been ...
0
votes
3answers
448 views
How to customize the watermark text of @Html.TextBoxFor(..) in MVC4
I have a water mark text in my @Html.TextBoxFor(). I want to customize it by changing the watermark text to a fade colour and to hide the watermark text on clicking the textbox.
Here is my code-
...
0
votes
0answers
96 views
Kendo UI chart inside tabTsrip not showing
I have KendoChart that works fine. I want this chart inside a kendo tabStrip, where the chart is shown in the first tab and in the second tab I want the chart information in table-form.
Outside the ...
0
votes
1answer
79 views
Unable to find _Layout in page inspector mode
I'm writing a simple MVC4 application in which I chose the internet application template when I created the project. When I right click _Layout.cshtml and go to view in page inspector, I receive a ...
2
votes
1answer
414 views
Right way to design a mobile ASP.NET MVC 4 data entry application with HTML5 offline capabilities
I'm creating a PoC of an ASP.NET MVC 4 mobile application (tablets) for field operators that needs to support offline capabilities. It's a relatively simple data entry application with a WebAPI ...
0
votes
0answers
321 views
Phonegap with node.js for cross devices
We developed a mobile website using HTML5,jquery-mobile,JS(Knockout.js) as front end and MVC4.net as back end and also i am using App Fabric for distributed caching, all my views are .cshtml files ...
0
votes
1answer
168 views
If item already in Database, do different ActionResult in View - ASP.NET MVC4 EF5 HTML5
Say if im about to go to a simple Index() view for "Item".
I have an action result in that index view which adds to the database (which would be a customer which has a library of items in the model). ...
0
votes
1answer
91 views
@HTML.Drop Down List and displaying databound information
I'm currently trying to post a set of missing SQL query reports to a dropdown selection on my web page.
I believe my Model is correct, but there's some issue with it recognizing any list as part of ...
1
vote
1answer
168 views
Jquery Template not aligning
I have a one html table .
<table id="blogPostContainer">
</table>
I was append some values in this table using signalR and tmpl .
$.connection.hub.start().done(function () {
...
0
votes
1answer
58 views
Razor object in a href tag
I am new on the area of MVC 4 and Razor.
I am trying to build a Gallarary with "CSS3 Lightbox".
All looks ok but my problem that I cant work with razor and links.
I cant understand what is wrong by ...
0
votes
0answers
276 views
Create carousel with multiple divs using carouFredSel in MVC 4 with Razor
I'm very new to development and can't seem to get this right. Been battling with it for the past 12 hours or so.
Basically I'm trying to create a vertical carousel by using carouFredSel that will ...
1
vote
1answer
63 views
Message displays as “Element 'title' occurs too many times. How to use a single ”Title" tag here?
Message displays as "Element 'title' occurs too many times. How to use a single "Title" tag here?
<head>
...
@if (ViewBag.Title != null)
{
...
2
votes
3answers
223 views
ASP.NET MVC Form and double fields
I'm developing an asp.net mvc portal to manage GPS coordinates using localDB. My model is:
public class GpsCoordinateViewModel
{
double Latitute { get; set; }
double Longitude { get; set; }
}
...
1
vote
1answer
215 views
Integrate Google Analytics dashboard into MVC Razor View?
I would like to have a dashboard for the administrator of my website to view as soon as he logs in to the admin section of the website, which is an MVC4 web application, using Razor view engine. I am ...
0
votes
1answer
40 views
Ignore original Model declaration when using Partial View?
Each of my views require a navbar which is laid out in a partial view called _NavigationPartial. This partial view uses
@model IEnumerable<ProOptInteractive.Models.ProductCategory>
and it is ...
1
vote
1answer
601 views
Simple example of drop down menu with a sub menu using razor
I searched the net looking for a way to add "subItem1" and "subItem2" to the "Home" item menu (in the sample code bellow), but what I found uses either java or complex razor examples. Is there a ...
1
vote
0answers
54 views
What is the relationship between the MVC Display decorator and View applied using EditorFor?
I'm working through an example of creating an Editor Template in MVC4.
I added the following to my Model:
[Required]
[DataType(DataType.EmailAddress)]
[Display(Name = "Email"]
public string Email { ...
0
votes
3answers
179 views
Input type file, required attribute not working
I am using the MVC 4 framework in my C# project.
I made a page that add ads in my DB (path) and the actual
image in a folder.
The code works but I want to build a safety mechanism that prevents
the ...
0
votes
1answer
69 views
Prevent page auto-scroll in MVC 4
I have an MCV4 application (developed in visual studio 2012 using C#) and whenever I click a link (note 90% of my links are HTML.ActionLink) the page scroll position automatically resets to the top of ...
0
votes
1answer
156 views
Excel file downloads instead of displaying in iframe
I have this in my controller class:
public ActionResult ExcelDoc()
{
var doc = Server.MapPath("~/Content/Sheet1.xlsx");
return File(doc, ...
0
votes
1answer
1k views
MVC 4 - Cascading Dropdown Lists - Issue with Ajax JavaScript Call
I have an MVC 4 app with a View containing two dropdown lists. The user selects a value in the first dropdown and then an Ajax call is made to populate the second dropdown based on the contents of the ...