How do I insert a toggle switch value into sql database
I have a couple of toggle switches: one with Yes/No option and the other with Delivery/Purchase option. I know that you can use the ControlName.Checked but that just inserts True or False. How do I do...
View ArticleHow to show/hide textboxes based on what is selected via toggle switch
Have a toggle switch where I want to show textboxes based on what is selected on the toggle switch and need help on it. If Contract is selected I want to show contract row, if Order is select order...
View ArticleView to Controller - HTML form POST action failing, with wrong Requested URL
I have an MVC view page (Views\DataForms\Index.cshtml) with an HTML form that just contains a couple of selects and a hidden element. I'm trying to POST the form to action 'Edit' in controller...
View ArticleFull crud operation in ASP.NET in a single page with dropdownlist, radio...
I want to create a single page on which i can perform full crud operation using dropdownlist, radiobuttonlist, checkbox ,checkbox inside dropdown in a gridview. and at the left side of each row in...
View ArticleMultiple Dates in Multi select Drop down list in HTML 5
Hi All, I have to have date ranges selected multiple times in HTML5, Like for example if we have Start Date and End Date, like there should be multiple Start and End Dates Selected, if one Start and...
View ArticleMultiple Date Rages in Multi select Drop down list in HTML 5 using JQuery or...
Hi All, I have to have date ranges selected multiple times in HTML5, Like for example if we have Start Date and End Date, like this, there should be multiple Start and End Dates Selected, if one Start...
View ArticleOptimal way to share data between MVC Controller and AngularJS
Hi all, I'm working on reducing the amount of calls to the DB in the applications at our company. One issue that I'm seeing is that the same data is being used by the MVC Controller and the AngularJS...
View ArticleSave Foreign Key Value - EF Core + ASP.NET Core
Hi guys, I´m new to ASP.NET Core and EF Core and I have the following problem: I have two related objects, Goals and Months, Goals got the foreign key of Months, and when I try to save the data of...
View ArticleCrud operation by pattern
I want to implement Crud operation with generic repository ,unit of work, repository and service layer. I did all the layers but i don't know how to implement it in the controller.Please Help!!
View ArticleOperation must use an updateable query - question
Hello I am getting the following error: System.Data.OleDb.OleDbException: Operation must use an updateable query. when I type in a valid user's email (he exists in the Access mdb) on this...
View ArticleGenerate SQL query
how to dynamically generate a SQL server query based on the application server received input from the user
View ArticleHow do layout out the columns using stringbuilder?
I am dynamically creating a PDf in memory and sending a PDF attachment via email. This works fine. What I am having problem with is presenting the data in the format management wants. For instance,...
View ArticleNeed help with showing tab info when first landing on page.
I have two tabs:Customer and Contract. When I land on the page I want to show the Customer tab info but with my current code I'm unable to get it to work....
View Articlediv controls outside of a repeater should be made invisible
Hello, I am modifying an existing website. There is a nice feature where on one of the pages, if multiple images are returned by a datasource associated with a repeater control, the images can be...
View ArticleThere is no ViewData item of type 'IEnumerable' that has the key...
hi guys, I have developed a MVC implementation 5, it works perfectly locally but I published it on IIS and I have had this problem // in the controller Ipublic ActionResult Index () { CatalogModel m =...
View ArticleA message
Greetings gurus, I have a requirement to collect information from users by presenting a form to them. Upon completing the form and hitting the submit button, the content of their submission is stored...
View ArticleA message
I have a couple of toggle switches: one with Yes/No option and the other with Delivery/Purchase option. I know that you can use the ControlName.Checked but that just inserts True or False. How do I do...
View ArticleA message
Have a toggle switch where I want to show textboxes based on what is selected on the toggle switch and need help on it. If Contract is selected I want to show contract row, if Order is select order...
View ArticleA message
I have an MVC view page (Views\DataForms\Index.cshtml) with an HTML form that just contains a couple of selects and a hidden element. I'm trying to POST the form to action 'Edit' in controller...
View ArticleA message
Hi all, I'm working on reducing the amount of calls to the DB in the applications at our company. One issue that I'm seeing is that the same data is being used by the MVC Controller and the AngularJS...
View Article