7767 1
How to Edit data using pop-up modal in knockout js and MVC?

How can I edit/update value using pop-up modal in knockout js and MVC?

My data is being displayed in a table using knockout but when the user clicks on edit button, text boxes, values should prefill with data in pop up model against particular id, but I am not able to achieve this.

...
Type
Question
7694 2
How to create shopping cart in asp.net MVC?

I have to create shopping cart in Asp.net MVC ,i don't know from where I should start

As i am a beginner, I saw various Youtube videos online but i am not able understand coding in those videos, so Please give me some other appropriate recommendation or advise??? 

Thanks

...
Type
Question
7640 2
ASP.NET Web-Form Error "WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive)."

I have created a new empty ASP.NET web-forms project using Visual Studio, after adding the new .aspx (web-form) file with the RegularExpressionValidator code as shown below, I am getting an error "WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive)."

Here is the code of my Web-Form page(Default.aspx)

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="EmailIdValidate.Default" %>

<!DOCTYPE html>
<script runat="server">
    protected void Button1_Click(object sender, EventArgs e)
    {
        Label1.Text = "Your email: " + TextBox1.Text.ToString();
    }
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Validate email address using RegularExpressionValidator in ASP.NET</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <h2 style="color:Red">RegularExpressionValidator: email</h2>
        <asp:Label 
             ID="Label1" 
             runat="server"
             Font-Bold="true"
             Font-Italic="true"
             Font-Size="Large"
             ForeColor="SeaGreen"
             >
        </asp:Label>

        <br /><br />
        <asp:Label ID="Label2" runat="server" Text="Email">
        </asp:Label>
        <asp:TextBox  ID="TextBox1" runat="server" >
        </asp:TextBox>

        <asp:RequiredFieldValidator 
             ID="RequiredFieldValidator1"
             runat="server"
             ControlToValidate="TextBox1"
             Text="*"
             >
        </asp:RequiredFieldValidator>

        <asp:RegularExpressionValidator 
            ID="RegularExpressionValidator1"
            runat="server" 
             ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
            ControlToValidate="TextBox1"
            ErrorMessage="Input valid email address!"
            >
        </asp:RegularExpressionValidator>

        <br /><br />
        <asp:Button 
             ID="Button1" 
             runat="server" 
             Text="Submit email"
             Font-Bold="true"
             ForeColor="DodgerBlue" 
             OnClick="Button1_Click"
             />
    </div>
    </form>
</body>
</html>

When building the project and running it browser getting error details as shown below

...

Type
Question
7624 1
How to create Dropdown list using Option group in MVC Razor?

How to create Dropdown list using Option group in MVC Razor syntax in View, like below iimage

...

Type
Question
7562 0
Send Emails in ASP.NET MVC using MvcMailer
In this article, I have explained how to install MVC Mailer in your ASP.NET application, set up email templates and send email using C#.
Type
Article

7538 3
how to integrate SSRS in asp.net mvc from scratch ?

How to integrate SSRS with MVC from scratch?

...
Type
Question
7528 1
Getting error "Method arguments are not valid! See validationErrors for details " when posting ajax beginform in mvc

When I am trying to post regular Ajax.BeginForm in my asp.net MVC project (asp.net zero boilerplate project), I am getting this error

Method arguments are not valid! See ValidationErrors for details

Here is the image of the error

...

Type
Question
7466 0
Export to Excel C# GridView in ASP.NET Web-Form
In this article, I have provided working sample to export GridView data to excel using C# without using any external library.
Type
Article
7413 3
If Statement condition in ASP.NET Web-Forms?

I want to write a basic if statement on my web-application, as I would like to place <script> based on a condition in .aspx page, how can I achieve it?

Something like

...
Type
Question
7387 1
How to Leverage browser caching for my CSS and js files.

How to Leverage browser caching for my CSS and js files?

...
Type
Question

Page 16 of 31