Questions




Answers
0
How to write HTML5 data-atrribute in Razor MVC C#?

I am trying to specify HTML5 data-atrribute in my asp.net MVC razor code like below

 @Html.DropDownListFor(m => m.Industry, OnePassV3.utility.OptionList.GetIndustryListSelectList()
                           , new { @class="cs-select cs-skin-slide cs-transparent", @data-init-plugin="cs-select" })

but i am getting error as you can see below in the image.

...

Read More
MVC C# Razor data-attribute-in-razor HTML5
Answers
1
How to redirect from HTTP to HTTPS in asp.net?

How can I redirect HTTP(not secured) to HTTPS(Secured domain) URL  in asp.net, here is my current code, which I am using in web.config

...
Read More
asp.net web.config system.web system.webServer http-to-https
Answers
1
Git push error "git did not exit cleanly (exit code 128)" , how to solve?

When I am trying to push my new commit using Tortoise-Git on server, I am getting this error "git did not exit cleanly (exit code 128)", here is the image of the issue

...

Read More
Git push error git did not exit cleanly
Answers
1
How to show only a single record with crystal report in ASP.NET MVC

I want to show only a single record from an employeeList by ID with crystal report in asp.net MVC. But I don't know how to do it. I can show a whole list. But I can't do it for a single ID. Please help.

...
Read More
ASP.NET MVC Crystal Report
Answers
1
Unable to update the EntitySet because it has a DefiningQuery and no InsertFunction element exists in the ModificationFunctionMapping element to support the current operation

I am trying to enter a new value in my database table row using Entity Framework in my asp.net MVC application, but getting this error

Unable to update the EntitySet because it has a DefiningQuery and no <InsertFunction> element exists in the <ModificationFunctionMapping> element to support the current operation.

How can I solve it, any suggestions or help? thanks

...
Read More
asp.net entity framework C# Unable to update the EntitySet
Answers
1
What is DA & PA in SEO?

Hello, I would like to know, What is DA & PA in SEO? & why it is important in SEO? any answer/comment would be helpful, thanks 

...
Read More
SEO DA-PA da-pa-in-SEO
Answers
2
How can i change hr color using CSS?

I am trying to change the color of <hr> line using the normal CSS code, but it is not working

...
Read More
CSS hr-color html
Answers
2
How to Parse JSON in javascript?

How can I parse JSON string in javascript?

The response is something like

...
Read More
javascript parse JSON parsing-JSON-in-javascript
Answers
2
How to get query string values in JavaScript or jQuery?

I am working on a web-application and would like to know, how can I get query string value in javascript (possible using jquery, or with plain javascript), I don't want to increase page load time by adding an extra plugin, a demo code example would work.

thanks

...
Read More
javascript query-string-in-javascript query-string-using-javascript
Answers
2
This request has been blocked because sensitive information could be disclosed...ASP.NET JSON Return error?

Hi, I am trying to load data in Asp.NET MVC using JsonResult as return type to load rows in jQuery datatable server-side processing, but I am getting this error

This request has been blocked because sensitive information could be disclosed to third party web sites when this is used in a GET request. To allow GET requests, set JsonRequestBehavior to AllowGet.]

So why I am getting this issue and how can I resolve it?

Here is my partial C# code

...
Read More
asp.net-mvc JSON JsonResult http-get

Page 1 of 14