Psyguy's Profile User Rating: -----

Reputation: 78 Whiz
Group:
Authors
Active Posts:
333 (0.22 per day)
Joined:
12-January 11
Profile Views:
10,884
Last Active:
User is offline Mar 26 2015 09:13 AM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
250

Latest Visitors

Icon   Psyguy I reject your reality and replace it with my own...

Posts I've Made

  1. In Topic: Remove Char parenthesis in Richtextbox

    Posted 20 Mar 2015

    If all you want is to replace the parenthesis with a space, use the following:

    RichTextBox2.Text = RichTextBox2.Text.Replace("(", " ")
    
    
  2. In Topic: Pass user input from form to another view

    Posted 20 Mar 2015

    Bear in mind that I haven't written MVC using VB.NET, I use C#, so some of the syntax might be a little off. Particularly, I would pay attention to the method decorations.

    When you begin the request, the GET method of the controller will execute:

    [HttpGet]
    Function Contact() As ActionResult
            ViewData("Message") = "Send me a message!"
    
            Return View()
    End Function
    
    


    When the form is submitted, the model will be returned to the POST method:

    [HttpPost]
    Function Contact(model As ContactModels) As ActionResult
            /*do some stuff here*/
            /*You will have to specify the success view here unless you want to go back to the Contact view*/
            Return View("ViewName", model)
    End Function
    
    


    In the post method, you receive the model and return it to the "success" view so it can display the information necessary.
  3. In Topic: Span with image on left and right side and text in the middle

    Posted 20 Mar 2015

    You can use something like this (obviously you need to adjust the css to fit what you need):

    <table>
         <tr>
              <td>star</td>
              <td>text</td>
              <td>star</td>
         </tr>
    </table>
    
    
  4. In Topic: Troubles with "rolling the dice"

    Posted 6 Mar 2015

    Actually, I think it is a much simpler mistake than not checking the debugger, tlhIn'toq. He/She is completely missing the point of OOP and accessing properties.

    If I have a class called "Die", I cannot simply tell the console to print that object and expect the class to know what property I am looking for. Try coding it to print what it is you want to see (i.e. the face value of the die).
  5. In Topic: Problem with colors in Drop Down Menu

    Posted 17 Feb 2015

    nav#menudesplegable ul ul li { 		
    		font-size: 13px;
    		font-weight: bold;
    		margin: 0;
    		padding: 10.5px 15px 10.5px 15px;
                    width: 100%;
    	}
    
    


    The problem is the li is not as wide as the ul, so the black ul background is showing. Adjust the width of your li accordingly.

My Information

Member Title:
D.I.C Regular
Age:
37 years old
Birthday:
October 14, 1977
Gender:
Location:
Eugene, OR
Full Name:
Joel M. Priddy
Years Programming:
3
Programming Languages:
VB.NET, C#, ASP/ADO.NET, C++, Java, XML, SQL

Contact Information

E-mail:
Click here to e-mail me
LinkedIn:
http://www.linkedin.com/pub/joel-priddy/12/49/7b5/
Twitter:
joel_priddy

Friends

Comments

Psyguy has no profile comments yet. Why not say hello?