Hi! Please forgive any newbie mistakes.
I'm writing a receipt detail lookup tool in MVC 2.0 to pull up receipt details from our POS database. I have the stored procedures written that return the data that I need. I have my sprocs loaded in a repository. When I try and load these sprocs in a partial view I get a stack overflow error. If ...
I'm having trouble translating an existing TSQL query with a "Not Exist" clause into working LINQ for use in an ASP.NET MVC app.
Here's my existing query.
SELECT
OrgID,
ContentID,
FriendlyTitle
FROM
ContentRollup CR
WHERE
OrgID = @sOrgID
OR
(
OrgID = '*'
AND NOT EXISTS (
SELECT ...
I'm using MVC 1.0 and have created a "RequireSSLAttribute" (like the one in ASP.NET MVC 1.0 Futures but ignores SSL directives for local computer). I want to SSL-enable the sign up and login pages to protect the passwords that are being sent. However, I want the rest of the site to be non-SSL.
By adding the [RequireSSL] attribute to m...
How can i secure the Rss feed for private viewing?
...
Ok, I am new at jQuery, but the JQGrid has peaked my interest. While implementing the grid, I have come across two problems that I am not sure how to solve. Both involve loading the grid with results.
How do you load the grid when you have parameters in your route. For instance, http://domain.com/search/results/2010/KY...I am wantin...
This seems like it should be easy, but I can't seem to figure it out. All of my google searches lead me to linking to databases which isn't what I want to do. I'm a complete web development newb.
I've roughly followed the NerdDinner tutorial in creating my web app. One of my stored fields is a web address. On the Index and Details p...
Hi , I am starting a new project in VB /.Net Framework 2.0 for a company corporate website with data driven forms. So should I go further with Asp.net MVC or Asp.Net web forms and WHY ??? We are not ready for Ajax now but later.
And also we have DevExpress components.
...
A)I want to be able to support password protection of my RSS feeds through the following authentication methods:
HTTP Basic
Integrated Windows (NTLM/Kerberos)
Digest
1)How can i do that in asp.net mvc
B)
Reading over the RSS 2.0 specification, I saw nothing related to security, so I assume that security implemented for the RSS feed is...
We have an ASP.Net MVC solution built in VS2008 and TFS2008. We use TFS Build and use Continuous Integration.
We have a deployment pipeline that enables us to progress a build, eventually, to our live site...
Internal Dev (immediate deployment following a build)
External Dev (used by internal testers to make sure it works on the produ...
Hi everyone,
I have big problem with deployment of asp.net mvc application on iis 6.0, i configured aspnet_isapi.dll, and the routing works fine, but json and jquery doesn't work. Any ideas?
...
I am trying to use flexigrid(jquery) to display my data.. I have downloaded some examples but somehow i have not been able to figured out "How to bind the data to flexigrid" which i am fetching using ajax, and which currently is in array.. Basically i dont know how tryconvert my data in Json object.. Or is their any other way(I dont want...
Im trying to develop my first ASP.NET MVC web app and have run into a problem with the jquery ui autocomplete widget.
At the moment I have a form with a number of text boxs which would lend themselves well to an autocomplete ability.
The code for my "Make"(Car make) text box is show below:
jquery:
$(function() {
$("#Make").autoc...
I'd like to detect requests made by my Silverlight client in ASP.Net MVC.
Silverlight can't set 'X-Requested-With' as far as I remember.
What do I use instead?
...
I want to use the Html.Encode by replacing Name <%=Html.TextBox("Name", Model.projectModel.Name)%>
However, since i`m using jquery, How I can still keep the name of the texbox?
Is it possible to use Html.encode and still keep the name of the textbox?
...
How can we apply editor templates to selective rows in a grid?
I want to show text box while editing for particular rows.
I am using telerik grid.
I have used [ReadOnly(true)] attribute for my class member and hence it's not showing me it as editable, which is obviously intended. But for selective rows, I want to show text box in my gr...
hello community,
i have a problem with session in my webapplication (asp.net mvc rc2). the application works fine on asp.net mvc rc1.
i use the follow code for session timeout handling:
if (cnt.Current.Session != null)
{
if (cnt.Current.Session.IsNewSession)
{
string cookie = cnt.C...
How to use data annotations to do a conditional validation on model?
For example, lets say we have the following model (Person and Senior):
public class Person
{
[Required(ErrorMessage = "*")]
public string Name
{
get;
set;
}
public bool IsSenior
{
...
I'm working in ASP.NET MVC 1.0 using MvcContrib FluentHtml version 1.0.
The following code doesn't work because float is a C# keyword.
<%= this.TextBox(m => m.Name).Styles(float => "left") %>
How do I define the "float" css style using the Styles method in FluentHtml?
...
Currently I am using ViewData or TempData for object persistance in my ASP.NET MVC application.
However in a few cases where I am storing objects into ViewData through my base controller class, I am hitting the database on every request (when ViewData["whatever"] == null).
It would be good to persist these into something with a longer ...
I have my existing web site developed using ASP.NET.
It's college management system. Now I need to redevelop it on MVC2.
What all changes do I need to do?
I am little bit aware of MVC and have done some exercises also.
Thing I know is I can keep my database intact but there will be massive changes at other places.
WHat will be the better...