Thought I would pose this to the StackOverflow crowd since I've run out of ideas.
I have a request from users that once a button is clicked, a PDF form is generated which they would like to automatically view, and once they close the PDF the page will already be a "Final page", not the page they clicked the button from.
In my pre-final...
Hi Guys,
I'm asking this question with little/no knowledge of SMS gateways and it's relevant technologies, so bear with me.
What i want is this:
User Sends an SMS to a given number
This SMS is forwarded to my website for processing
So from the (little) research i've done, it looks like i need to pay for an SMS Gateway.
Any recomm...
I have the following code, which works perfectly fine in every browser except for IE
<script type="text/javascript">
if (!window.slider) var slider = {}; slider.data = [<% foreach (var item in Model) {%>{ "id":"<%: item.ImageID %>", "client":"<%: item.ContentTitle %>", "desc":"<%: item.ContentDescription %>" },<%} %> ];
</script>
...
I have table containing data . In every row there is a checkbox plus a checkbox to select all checkbox at the headers.
Upon checking this checkboxes,corresponoding rows are to be deleted from database table.Plus,on chiecking the checkbox at the header,all rows will be deleted from the database table.How can i achieve this asp.net mvc.
...
Hi,
Would it be a good idea, and executable, to use the ASP.NET MVC View Engine to render html to be sent out by email?
I know it's possible to let the view render into a string. So that could be use to build the mail message.
Since ASP.NET MVC is already used in the application, I get to use all practical ASP.NET MVC stuff without hav...
I've thought of a few ways of doing this but I want to get the community's view. I have a feeling that the answer is cringeworthily simple - I'm not afraid to look stupid (my kids took that fear away from me long ago!)
I'm writing an XML REST web service using MVC2. All XML Types that consumers of the web service will receive and send...
Hi guys,
I have some fields in my ViewModel that I only need for the output in my View. But they are always getting send when submitting the form. That's not only annoying, but also dangerous, because I definitly don't want that databinding for these viewmodel fields.
Are there any change to define a OneWay Databinding for some of my v...
Having used PHP on Linux a lot, I'm used to using memcache so that the database doesnt have to be accessed on every single request. What do people use on Windows the achieve this? From the asp.net mvc applications which I've seen, none of them use any sort of cache, they just hit the database on every request? Is this common, and if so, ...
i have an image:
<img onclick="Search()" alt="searchPage" style="vertical-align: middle;" height="17px"
src="../../Stylesheets/search.PNG" title="search" />
and javascript methode:
<script language="javascript" type="text/javascript">
function Search() {
alert("test-search");
var searchText = $("#txtSearch")....
Actually i want to generate a list of applicants (more than 1000) on a view for that i am using sql data reader and genrting a List and passing to Views but it is taking big time(4 to 5 second) to show on View when records are more than 500 is this normal .
{
public static ApplicantsList GetListSend(string category, string subDiv)
...
I'm writing an asp.net mvc2 project with a lot of views/partialviews. Reading on good MVC practices, I've been encourage to create ViewModels. Its really nice and makes sense to do so but I'm noticing recently that I can no longer easily remember what model is for what view. I'm hoping there is a nice naming convention for ViewModels tha...
hi,
I have an asp.net MVC application where I am using telerik grid to show the data/records.I am using the Entity Model.
My requirement is that sometime I want to show only some of the columns specified at the runtime/may the user select. How do I bind View with only those columns as selected by the user . Initially view is binded wit...
Hello,
To make a projet manageable, we break it into sub-projets (class libraries in C#, for instance). Now, in ASP.NET MVC 2, we do have Areas. I'd like to know if Areas have or can serve the same purposes as class libraries? It looks like both are meant to make a project manageable...
Personaly, I'm about to write something bigger. I...
As usual, having trouble with SelectList in the MVC framework. The selected value is never set for some reason:
public class MyViewModel
{
public DateTime? SelectedServiceTime { get; set; }
public IEnumerable<DateTime> AvailableServiceTimes { get; set; }
public SelectList ServiceTimesList
{
get
{
...
How do I create a Javascript method in here that RELOADS the .aspx page, that I can call during one of those other existing methods.
<%@ Page Language="VB" Inherits="Core.Web.BaseView(OfLending.Controllers.Workspace.DocumentUploadData)" %>
<%@ Import Namespace="Framework.WebControls.Forms" %>
<%@ Import Namespace="Framework....
I want the follow URLs in my MVC application:
/Admin/Accounts/Groups
and
/Admin/Accounts/Users
I know i could create an area named Admin,and then create Groups and Users controllers inside that area.
Can i create "nested areas" to accomplish that full URL above?
i.e:
An area Admin,and inside this area another area named Accounts?
...
The context:
I'm actually developing a small web app (C#/MVC2). Users are going to use their iPhones (and probably Android phones in the future) to access it.
At the moment it's quite simple (it just shows some info and reports from our customer's ERP), and I decided to give a try at creating local webapp that the users could add to t...
Does anyone know how to add a confirmation dialog with an "actionlinkwithimage"?
...
Short question is : "How do I save current url into cookie file?"
And the whole problem is as follows. I have to save current filters that client have applied to my grid in his cookie, that next time he logs in the data looks just as he wants it to look like. The service doesn't have any "login" stuff, just provides available data to th...
Hi all,
I have a simple (hopefully) scenario.
Seats table
Computers table
SeatComputers table (since a seat can have multiple computers assigned)
I have a strongly typed "Edit" view for "Seats". I have managed to get a multi select list on that page in order to assign or unassign computers (jquery to add/remove items).
However, w...