logo
down
shadow

ASP.NET QUESTIONS

Azure VM not receiving SMTP from Internet
Azure VM not receiving SMTP from Internet
it should still fix some issue Add endpoint: DASHBOARD > > ENDPOINTS menu > ADD > NAME: SMTPStart SMTP: Start button > Admin Tools > IIS6 > right-click SMTP Virtual Server > START
TAG : asp.net
Date : November 28 2020, 09:01 AM , By : Mohamed Ragab Dahab
IIs 8 Redirect URL from http to https
IIs 8 Redirect URL from http to https
wish help you to fix your issue I solved this problem by adding this code to web.config file on the root directory of the domain. First rule matches the url if it isn't starting with www what ever it is http or https
TAG : asp.net
Date : November 26 2020, 09:01 AM , By : Deepanshu Jaiswal
Nuget Packages with content in ASP.net 5
Nuget Packages with content in ASP.net 5
With these it helps http://blog.nuget.org/20150729/Introducing-nuget-uwp.html
TAG : asp.net
Date : November 26 2020, 09:01 AM , By : Manjeet Patel
generate all web.config transformations at the same time to different files
generate all web.config transformations at the same time to different files
seems to work fine Being an expert on Artifactory, but not on asp.net, I am not sure what web-config is, but assuming it's a text file, you have number of options to transform it in Artifactory: Filtered resources. You can treat any text file in Arti
TAG : asp.net
Date : November 24 2020, 09:00 AM , By : Vimal Chandrakumar
Pass value to another page from image click in gridview
Pass value to another page from image click in gridview
fixed the issue. Will look into that further I have a grid view template column that is a glyphicon in a hyperlink control, I am trying to pass an ID value that is in the SQL datasource to a page like so : , Try this way
TAG : asp.net
Date : November 24 2020, 09:00 AM , By : Ajay Rajpurohit
Partial refresh in ASP using ajax
Partial refresh in ASP using ajax
Hope this helps Since you are making an $.post() you need to decorate your /UpdateTest/Run action with [HttpPost].You also don't define a success handler so, while you are making the request, you never do anything with it.
TAG : asp.net
Date : November 22 2020, 02:42 PM , By : Supi Core
ASP.NET MVC: How to search decimal value?
ASP.NET MVC: How to search decimal value?
wish of those help you can use SqlFunctions.StringConvert. There is no overload for int so you need to cast to a double or a decimal. Your code ends up looking like this:
TAG : asp.net
Date : November 22 2020, 09:00 AM , By : Emily Tsen
ASP.NET Regular Expression Validator VS Required Field Validator OR both?
ASP.NET Regular Expression Validator VS Required Field Validator OR both?
Hope this helps You can use both of them, but make sure to add Display="Dynamic" on both of the controls.
TAG : asp.net
Date : November 21 2020, 09:01 AM , By : Marcus
Combine SQL columns using case when appearing null
Combine SQL columns using case when appearing null
wish helps you By using IsNull() and NULLIF() function you can achieve your desire output. Try this
TAG : asp.net
Date : November 21 2020, 09:01 AM , By : Chris
Asp.net mvc open form with default value in field
Asp.net mvc open form with default value in field
hope this fix your issue Firstly, you should not attempt to override the value attribute generated by HtmlHelper methods. The reason that you do not get a formatted value in the textbox is that Est_Relocation_Expense is a nullable property and you ha
TAG : asp.net
Date : November 19 2020, 12:35 AM , By : Pasi Riikonen
Auto Increment Reseed when another ID has been changed on Insert Query
Auto Increment Reseed when another ID has been changed on Insert Query
Hope that helps You can use OVER Clause(T-SQL) to get the order number of each ID in your table
TAG : asp.net
Date : November 18 2020, 09:01 AM , By : fvquicke
The resource name is not a valid identifier for devexpress gridview
The resource name is not a valid identifier for devexpress gridview
Hope this helps OK!!!! I do it, according to the similar question in this page, I added two ".resx" into App_GlobalResources folder. one of them is default lang "English" and other is target lang "Persian".
TAG : asp.net
Date : November 17 2020, 09:01 AM , By : fatima cse
Razor htmlListBox helper
Razor htmlListBox helper
I think the issue was by ths following , You need to use the overload that accepts htmlAttributes
TAG : asp.net
Date : November 17 2020, 09:01 AM , By : akash singh gautam
Trying to run a local website
Trying to run a local website
may help you . It sounds like you need to edit your host file. So that that domain name will resolve to your local machine. Just add your domain name dev.dfwcraftbeer.com to the hosts file and point it to 127.0.0.1. See the link to find out how to do
TAG : asp.net
Date : November 14 2020, 07:01 AM , By : VJones
How To Set dxn runtime to .net 4.6.1 with Rc1 - Final
How To Set dxn runtime to .net 4.6.1 with Rc1 - Final
hop of those help? It seems it is currently not yet possible to use dnx461. I get the same error with that version. dnx46 and prior versions are working fine.
TAG : asp.net
Date : November 14 2020, 07:01 AM , By : siddhartha behera
How do I clear/reset date field when using jquery datepicker
How do I clear/reset date field when using jquery datepicker
it fixes the issue To clear a field all you would need to do is $("StartDate").val("");see comment below you can see a working plunker
TAG : asp.net
Date : November 14 2020, 06:58 AM , By : Tony Ewell
Azure SQL Database sometimes unreachable from Azure Websites
Azure SQL Database sometimes unreachable from Azure Websites
will help you The answer from Azure support indicated that the connection issues I was experiencing was due to port/socket exhaustion. This was probably caused by another website on the same hosting plan.Some answers to why the symptoms were removed
TAG : asp.net
Date : November 13 2020, 09:01 AM , By : user35280
Enabling Application Insights makes the Web App hang
Enabling Application Insights makes the Web App hang
I hope this helps . I was running 2.0.0-rc1 and had this problem. Commenting this line of code within ApplicationInsights.config also fixed the issue.
TAG : asp.net
Date : November 13 2020, 09:01 AM , By : Franky Sanchez Barri
Ajax-call refreshes page
Ajax-call refreshes page
will be helpful for those in need looks like you are missing a ; after your DeleteRecord() on the onClientClick event. But also If you not using the built in features of the asp:Button. why not just use a regular button. that way the asp.net framewor
TAG : asp.net
Date : November 13 2020, 05:40 AM , By : Nabila Arif
Read from 2 sql datasource in asp.net
Read from 2 sql datasource in asp.net
should help you out why do you use two sqldatasources? you need just one. Use one sqldatasource.
TAG : asp.net
Date : November 10 2020, 09:01 AM , By : abdul
System.ArgumentNullException in Mono ASP.NET Web Service
System.ArgumentNullException in Mono ASP.NET Web Service
will be helpful for those in need I figured out that it was because of the version of mono.I removed all components of the official mono repository and installed the ubuntu mono-complete packages and it was fixed.
TAG : asp.net
Date : November 09 2020, 08:00 AM , By : noviceCoder
what is response.write in asp.net mvc?
what is response.write in asp.net mvc?
will be helpful for those in need If the return type of your method is an ActionResult, You can use the Content method to return any type of content.
TAG : asp.net
Date : November 08 2020, 09:00 AM , By : AkkI
dnx kestrel "System.EntryPointNotFoundException: uv_loop_size"
dnx kestrel "System.EntryPointNotFoundException: uv_loop_size"
To fix this issue After many reinstalls of Mono, Visual Code, Xamarin Studio, DNX, libuv, an upgrade of Node and RoberN giving me some clear pointers, I figured I should check my PATH env variable. Sure enough, as soon as I added /usr/lib/:/usr/local
TAG : asp.net
Date : November 08 2020, 09:00 AM , By : Leonard Afeng
How to display two partialviews in the same view in MVC?
How to display two partialviews in the same view in MVC?
seems to work fine Since you have a ViewModel called CityViewModel (though I'll name it RadiosVM I would create a few EditorFor templates.Use a composite model as user1672994 mentioned in his answer although it can be made more generic and reusable.
TAG : asp.net
Date : November 07 2020, 01:43 PM , By : Lefteris Kameris
Add custom columns on many to many relationship on NHibernate
Add custom columns on many to many relationship on NHibernate
it fixes the issue I have a movie entity and a actor entity, these 2 entities have a many to many relationship, so I've mapped it as ManyToMany(x=>x.Movies) and ManyToMany(x=>x.Actors) but i'd like to have the character the actor played on the movie,
TAG : asp.net
Date : November 07 2020, 01:33 PM , By : Vegvi
System.Web.HttpException with "Type Service not found." in Mono ASP.NET Web Service
System.Web.HttpException with "Type Service not found." in Mono ASP.NET Web Service
With these it helps I figured out that it was because the root directory was not correctly set.I used xsp4 instead of apache2 and it fixed.
TAG : asp.net
Date : November 06 2020, 09:01 AM , By : Máté Molnár
Object cannot be cast from DBNull to other types when password or username not found
Object cannot be cast from DBNull to other types when password or username not found
wish helps you I am creating a dual login form that authenticates the user based on their role and redirects them to a specific page based on their username and password. I was originally using FormsAuthentication.RedirectFromLoginPage to handle the
TAG : asp.net
Date : November 06 2020, 09:01 AM , By : Luis L Leigh
Which process Visual Studio has to attach to run DNX process?
Which process Visual Studio has to attach to run DNX process?
I hope this helps . Use dnx-watch. this show the dnx process. It also automatic restart the server after code changeA fast way to debug is to insert Debugger.Launch(); in your code, on the place where you want to start to debug.
TAG : asp.net
Date : November 05 2020, 07:07 PM , By : Connor14
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on t
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on t
help you fix your problem I have a CORS Web API controller as shown below , You're not serializing the data. The second call should be
TAG : asp.net
Date : November 05 2020, 06:58 PM , By : Cristian Villafranca
VB.NET querystring has parameter
VB.NET querystring has parameter
hope this fix your issue How do I check if a query string has a parameter in VB.NET? I'm having a hard time adapting C code to VB. , You were close. Use:
TAG : asp.net
Date : November 04 2020, 04:02 PM , By : user4567188
Cookies not deleted on logout
Cookies not deleted on logout
this will help I've had this logout problem for over two weeks, and I've used some hacks to get over it (url parameters, redirection, etc.). It cost me almost 40 hours of debugging, research, and testing.In the web.config file of the main site there
TAG : asp.net
Date : November 04 2020, 04:02 PM , By : Xiaoya Wang
Check Checkboxes in a gridview based on a non-boolean value from a stored procedure
Check Checkboxes in a gridview based on a non-boolean value from a stored procedure
should help you out Another option that I tend to prefer is to make use of the RowDataBound event of the GridView. As each row gets data bound to it, this event gets called. What you would do is find the DrugID control and check its value. If it is w
TAG : asp.net
Date : November 04 2020, 04:02 PM , By : Shafi Shaik
ASP.NET MVC: Getting unhandled exception that stops in a catch block of a rethrow
ASP.NET MVC: Getting unhandled exception that stops in a catch block of a rethrow
it should still fix some issue Not sure what you expect to happen. Sounds like the code is doing exactly what it should. If the condition is not satisified, it proceeds to new next line where you throw HttpRequestException, since this is all wrapped
TAG : asp.net
Date : November 04 2020, 04:00 PM , By : Nick Nilsson
asp.net gridview - spread bound data across multi lines per row with updatepanel
asp.net gridview - spread bound data across multi lines per row with updatepanel
fixed the issue. Will look into that further Here is what I came up with -On the left is the GridView when all rows are 'closed'. On the right, after 'opening' 2 rows:
TAG : asp.net
Date : November 04 2020, 08:17 AM , By : Arthur Leao
Context menu doesn't contain Scaffolding VS2015 ASP.NET 5
Context menu doesn't contain Scaffolding VS2015 ASP.NET 5
Hope this helps The goal of Asp.Net 5 was to trim away as much functionality as possible and leave only what was 'absolutely essential' starting with .Net Core. Productivity features like scaffolding don't seem to fall under that 'essential' umbrella
TAG : asp.net
Date : November 04 2020, 08:15 AM , By : Bazsalanszky
IModelBinder in WebApi string manipulation
IModelBinder in WebApi string manipulation
To fix this issue In Asp.Net MVC the System.Web.Mvc.IModelBinder allow the follow implementation to change all strings: , You would set bindingContext.Model and return true:
TAG : asp.net
Date : November 01 2020, 04:09 PM , By : amhamor
No authentication handler is configured to handle the scheme: Automatic
No authentication handler is configured to handle the scheme: Automatic
may help you . Try setting options.AutomaticChallenge = true; in your cookies options and it should work.options.AutomaticAuthentication was split into options.AutomaticAuthenticate and options.AutomaticChallenge. If the last one is left to false, an
TAG : asp.net
Date : November 01 2020, 04:09 PM , By : Jeroen van Wissen
MVC 5 - how can I send a SelectList from a controller to a dropdownlist and show the data text field with more than one
MVC 5 - how can I send a SelectList from a controller to a dropdownlist and show the data text field with more than one
Does that help This is how I would do it, like you know there are many different ways to kill a cat :)I would modify the user class to look something like this. The name property will be a concatenation of first name and last name:
TAG : asp.net
Date : November 01 2020, 01:05 PM , By : jtiser
Is WCF or Web API best for file upload using streams (large files) in a windows service (Self host, not IIS)
Is WCF or Web API best for file upload using streams (large files) in a windows service (Self host, not IIS)
I wish this helpful for you You can achieve it using WCF by wrapping necessary metadata in a data contract or message contract object. You can refer the implementation on: http://www.codeproject.com/Articles/166763/WCF-Streaming-Upload-Download-Files
TAG : asp.net
Date : November 01 2020, 01:03 PM , By : DudleyLumpkin
change a datafield in WebPartPages:DataFormWebPart
change a datafield in WebPartPages:DataFormWebPart
around this issue Instead of changing it here change the select at xsl. For multiple columns add multiple variables in xal and add them in select.
TAG : asp.net
Date : November 01 2020, 09:01 AM , By : Nicola Antoniciello
What are the valid DNX --watch flag values?
What are the valid DNX --watch flag values?
Hope that helps Arguments passed after the command name ("web" in your case) are arguments passed to that command. If you want arguments passed to DNX, pass them before: dnx --watch webBut, --watch will go away. Use dnx-watch instead: https://github.
TAG : asp.net
Date : October 31 2020, 05:43 PM , By : dberry
ASP.NET MVC Entry Point
ASP.NET MVC Entry Point
help you fix your problem There is a very large amount of work that goes on behind the scenes. At a very broad level, a request is made to the url and the server returns a string.Getting there is the interesting part.
TAG : asp.net
Date : October 31 2020, 05:41 PM , By : Aleksandar Gucunja
Login Fail after moving database and website
Login Fail after moving database and website
it helps some times Sometimes it is the simple things. The website and the database both reside on the same physical server so changed connectionstring to
TAG : asp.net
Date : October 31 2020, 01:52 PM , By : kobold The
How to Authenticate Login form without using asp controls
How to Authenticate Login form without using asp controls
I wish this help you You can use the LayoutTemplate of the Login control to do what you want.The trick is that you need to use a Literal with the ID of FailureText, the user field is a TextBox with ID of UserName, and another TextBox with the ID of P
TAG : asp.net
Date : October 31 2020, 01:47 PM , By : Matin Rahman
OnModelCreating undefined in Entity Framework 7
OnModelCreating undefined in Entity Framework 7
help you fix your problem I am trying to setup my models' relations in EF7, but I faced the problem: OnModelCreating method and DbModelBuilder are undefined. , Should be like this:
TAG : asp.net
Date : October 31 2020, 05:57 AM , By : Kyle Huynh
Unable to configure IIS/Asp.NET to process many asynchronous requests concurrently
Unable to configure IIS/Asp.NET to process many asynchronous requests concurrently
I think the issue was by ths following , At the end of the day and after following the given advices I have found the culprit. Surprisingly it was Fiddler who was throttling the requests! I suppose there is a Fiddler setting somewhere controlling it.
TAG : asp.net
Date : October 31 2020, 05:57 AM , By : Devon
ASP.Net Treeview check node exists
ASP.Net Treeview check node exists
like below fixes the issue The problem is TreeView1.FindNode returns TreeNode and you are trying to convert that to a boolean which will never work. This should work:-
TAG : asp.net
Date : October 29 2020, 10:01 AM , By : Ryan Canham
Asp.net URL Rewriting
Asp.net URL Rewriting
it should still fix some issue You can use URL Rewrite Module for IIS .Create redirect rule on the site level (www.example.com)
TAG : asp.net
Date : October 29 2020, 10:01 AM , By : Akansha
Redirect to Controller action from an Async Controller action not working
Redirect to Controller action from an Async Controller action not working
may help you . OK, so this was all my doing!I completely overlooked the obvious. I'm now saving my session in Redis cache because I was having issues accessing and setting is asynchronously, however forgot to change my session checkers that redirecte
TAG : asp.net
Date : October 29 2020, 04:55 AM , By : emmanuel omara
ASP MVC Bootstrap-project - activate email-button
ASP MVC Bootstrap-project - activate email-button
wish helps you Assuming you plan to add more to your email-sending app in the future, you should prefer the seemingly complicated way because in the long run, it will actually make things simpler. This complicated way is based on a concept called 'Se
TAG : asp.net
Date : October 28 2020, 05:11 PM , By : Fernando
How to specify the destination for an existing ClaimsIdentity?
How to specify the destination for an existing ClaimsIdentity?
I wish did fix the issue. To avoid leaking confidential data, AspNet.Security.OpenIdConnect.Server refuses to serialize the claims that don't explicitly specify a destination.To serialize the name (or any other claim), you can use the .SetDestination
TAG : asp.net
Date : October 28 2020, 08:10 AM , By : Sophann Ch
ActionLink ignoring attribute routing settings
ActionLink ignoring attribute routing settings
To fix the issue you can do I can't see that you specify your defauld area it RouteConfig so your action link should look like:
TAG : asp.net
Date : October 28 2020, 08:10 AM , By : Neenu James
How to write an api action to create an entity in Web API
How to write an api action to create an entity in Web API
may help you . you have a number of options. go for a RESTful approach. This means you will have a Category controller with a method called POST.
TAG : asp.net
Date : October 24 2020, 01:32 PM , By : Zallman Shedlock
Determine StyleSheetTheme based on page's master page in asp.net
Determine StyleSheetTheme based on page's master page in asp.net
help you fix your problem I decided to use Request.Url to determine what theme to use. Then I apply the theme based on request path. Its a very flexible solution that will for us here.
TAG : asp.net
Date : October 23 2020, 03:00 PM , By : ycnurld
asp.net passing an id between views in different controllers
asp.net passing an id between views in different controllers
fixed the issue. Will look into that further So I have two models with a one to many relationship. Callout, and shift offer. Callout can have many shift offers. , Try below
TAG : asp.net
Date : October 22 2020, 01:59 PM , By : Crytak
Button visibility before and after session is called in VB
Button visibility before and after session is called in VB
it helps some times If I understand correctly your form act as target if Session("AreaID") is defined. So you can check this value during Page_Load in order to show/hide your buttons.Please remember that you need to remove session variabile when they
TAG : asp.net
Date : October 22 2020, 01:58 PM , By : Karthik
shadow
Privacy Policy - Terms - Contact Us © animezone.co