I have tried it with "Register.aspx" and debugged and got no errors. My Log-in form popped up and I entered the name and password of a user in the database. It searched for a few seconds - at least that's what I think it was doing behind the scenes - before the username remained in its field and the password disappeared.
I did exactly the same but this time only with "Register". Again, no errors. I completed the form again and the same happened, only quicker.
I don't get any errors such as 'username/password invalid'.
Could the form actually be working, but it does not know where to direct the user to as I have not stimulated a kind of 'if credentials are correct send the user to www.mysite.com' type of script?
but you should be able to run the code in visual studio
select the line you want to start at by pressing F9, and the line will turn yellow
Press F5, and run the code in the web dev server, and you should be able to walk the code by
pressing F11, to go 1 line at a time.
From there, you can see what happens
I suspect the if Page.IsValid doesn't really work and the page does nothing, and the username stays but the password is cleared which is normal behavior for nothing happening.
I am well and truly stuck.
I have created a huge list of radio buttons on my razor view. Each row is a different set of radio buttons and I have given them each dynamic names.
I am new to MVC and i did not know how i can pass this radio button list to controller
this is my editor template
I am designing a website. The designing is almost complete.
But I am noticing that there is many images and file is unlinked and in useful.
It is unnecessary present in the project. I would like to remove/delete it. But
it almost impossible to detect these types of files manually, impossible. So is there any way
to find these files ? Please help me.
I don't know of any tools to do it other than just manual. I suppose you could search google but since files can be referenced so many different ways, I doubt there is a tool that will work completely.
There are only 10 types of people in the world, those who understand binary and those who don't.
--This code populates the ddLoc dropdownlist
Protected Sub btnLoc_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnLoc.Click
ReportViewer1.LocalReport.ReportPath = ""
pnlLoc.Visible = True
which.Value = "P"
dslocator6.SelectCommand = "SELECT location FROM Locations ORDER BY [location]"
ddLoc.DataTextField = "location"
ddLoc.DataValueField = "location"
Sub Run_Report(ByVal sel As String)
Dim params(0) As ReportParameter
ReportViewer1.LocalReport.DataSources.Add(New ReportDataSource("locs", LOC.ID))
ReportViewer1.LocalReport.ReportPath = "locations.rdlc"
params(0) = New ReportParameter("loc", sel, False)
ReportViewer1.LocalReport.SetParameters(params) '<-- error points to this line
I have been stuck on this for two days. Your assistance is greatly appreciated.
Hi All, i'm after a bit of advice on the homepage of my app there is one particular section (Repeater) that queries the DB to provide a high level overview of the latest version of an application. Loading the data into this repeater is having an impact on the load time of the homepage so my thought on this is to is to add a checkbox to the page and on the initial page load do not populate the repeater but if the user checks the checkbox to display the data then go an query the DB to populate the repeater. Aside from only loading this data on request what other way could I control the populating of this repeater so that is not impacting performance?