15,917,329 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 12824529 (Top 11 by date)
Member 12824529
25-Jul-20 1:37am
View
Thank you Sandeep. I tried your method, but unfortunately it didn't populate the textboxes. I also tried changing innerText to value, and it still did not work. I appreciate your help though. Thanks.
Member 12824529
25-Jul-20 1:33am
View
Thank you Richard. I copied and pasted your Javascript code and it worked perfectly. It not only populated the textboxes in page load, but the values were available in the code behind. I've tried so many configurations, and in some cases was able to populate the textboxes, but could never access the values in the code behind. Thank you.
Member 12824529
18-Jul-20 19:38pm
View
Derek,
I updated my question. I had already moved away from using p tags, but they were still mentioned in the head question; but now, I copied ASP.NET form code for a login form and, not evendoing anything with code behind, I can't even assign text string values in a jQuery Ready function that will display in the textboxes on the form.
The new question is at (https://www.codeproject.com/Questions/5274150/Why-do-text-assignments-to-textboxes-in-jquery-fai).
Member 12824529
12-Jul-20 2:51am
View
Thank you for your answer. Actually I do have form tags with runat="server" specified. I've tried so many things. I tried text boxes (which don't display the data), p-tags and label tags (that each do display the data), and hidden field tags added. All of them return empty strings in the Code Behind in spite of specifying runat="server". It's extremely frustrating. Any other ideas on what condition might not be right that could cause this kind of issue? Thanks.
Member 12824529
18-Apr-18 23:17pm
View
Thanks. Actually, id and objType are the two parameters. ObjType is probably not a good choice on my part, as it looks like I'm referring to an object type, but it's just a normal parameter. The issue I'm running into is the Ajax.ActionLink handles the first parameter differently than the rest. So instead of it appending after the action with ?id=1&objType=Gizmo, it appends with instead with /1?objType-Gizmo. It treats the first parameter like it's the action name.
Member 12824529
28-Aug-17 21:06pm
View
Thanks. The link has numerous fixes, but nothing seems to be phasing this aggressive issue. I found another fix that said to go to IPAll in Config Manager, clear TCP Dynamic Ports, and enter 1433 in the TCP Port field. I tried that too and I'm still unable to do sign-ins on my web app. I never mentioned ... when I click on Sign-in, it says "Use another service to log in. There are no external authentication services configured. Then it provides a link for setting up external services, but I with I could get this service working. One great thing about Microsoft is they make me feel much better when my software has a bug or two on the first round. I wanted to mention ... in the past, this authentication worked for me when I was using LocalDB. But IIS wouldn't work and I read that IIS requires SQL Server Express. That's why I spent a day uninstalling SQL Server LocalDB and installing SQL Server Express.
Member 12824529
20-Aug-17 22:00pm
View
Graeme, thanks for the tip. I'm looking at it and actually it appears to be cleanly formatted. You might be using an enlarged font sizing in your browser.
Dave, thanks. Thing is though, if I remove the throw statements, it displays the normal About and Contact pages without error. I wonder if there might be some sort of 'exception cache' that needs to be cleared. I've been searching and haven't found anything yet. Thanks again.
Member 12824529
6-Aug-17 9:34am
View
Thanks Peter. Actually, I resolved it last night. I added a route to the RouteConfig file, before the default one. Not sure why I needed a special route for returning from Edit or Details for an view set that was auto-generated. That's not usually the case.
routes.MapRoute(
name: "Properties",
url: "properties/index/{id}",
defaults: new { controller = "Properties", action = "Index", id = UrlParameter.Optional }
);
Member 12824529
2-Jan-17 23:52pm
View
Thanks. Your Regular Expression works perfectly.
Member 12824529
22-Dec-16 15:29pm
View
Your solution worked. Thanks.
Member 12824529
13-Nov-16 19:19pm
View
Thanks. Yes, I put this in the Index ActionResult and it works:
return RedirectToAction("Details", new { id = Convert.ToInt32(Session["Assmt_ID"].ToString()) });
Show More