Nakor's Profile User Rating: *****

Reputation: 444 Architect
Group:
Expert w/DIC++
Active Posts:
1,493 (0.77 per day)
Joined:
28-April 09
Profile Views:
74,148
Last Active:
User is offline Yesterday, 08:13 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Who Cares
Favorite Browser:
FireFox
Favorite Processor:
Who Cares
Favorite Gaming Platform:
PC
Your Car:
Hyundai
Dream Kudos:
750
Expert In:
jQuery

Latest Visitors

Icon   Nakor wonders why mornings have to come so early

Posts I've Made

  1. In Topic: ASP.net casting usercontrol text box to web control text box

    Posted 15 Aug 2014

    But if you want to do it the way you have it now, you need to pass in the ID of your textbox which is "txt", not "tsClientName".

    well, you wouldn't need to call ToString since the Text property is already a string. And during which event are you trying to access the control?
  2. In Topic: ASP.net casting usercontrol text box to web control text box

    Posted 15 Aug 2014

    UserControls inherit from the UserControl class. You need to get a reference to the TextBox contained within that UserControl. One way you can do this is to make a publicly accessible property on the UserControl that returns an instance of the TextBox control.

    Then you don't even have to mess with doing a FindControl on it.
  3. In Topic: Input string was not in a correct format, why am I getting this error?

    Posted 14 Aug 2014

    try separating out the steps a little.

    int var1 = Convert.ToInt32(TextBox4.Text);
    int var2 = Convert.ToInt32(TextBox5.Text);
    int result = var1 * var2;
    
    TextBox6.Text = result.ToString();
    
    


    This will give you a lot better idea of where you're getting the actual error.
  4. In Topic: C# code in cshtml file doesnt work?!?!

    Posted 14 Aug 2014

    I realize this is a bit late, but here's my 2 cents on this.

    First, it looks like you are putting too much logic inside the view. Most of that logic should be handled in the controller and the results returned to the view to be displayed. This would completely remove any template problems being caused by trying to stack so many if and for statements. It looks like you are updating a shopping cart, why would this be logic that belongs in the view?

    Second, the current code is susceptible to errors because you are trying to parse values without doing any checks to see whether they exist and if they do exist are they a value that can be parsed into an integer.

    Also, as to your last post, there may be a } on that line, but you're still missing a } somewhere within that block.
  5. In Topic: Simple ASP one question survey problem

    Posted 17 Feb 2014

    You might check to make sure that the windows server can't run php, many can.

My Information

Member Title:
Professional Lurker
Age:
36 years old
Birthday:
December 19, 1977
Gender:
Full Name:
Jonathan
Years Programming:
3
Programming Languages:
C#, Javascript, Java, ASP.NET

Contact Information

E-mail:
Click here to e-mail me

Comments

Page 1 of 1
  1. Photo

    Darky88 Icon

    29 Oct 2012 - 05:56
    sir i need one help in Jquery!
  2. Photo

    anusha shivni Icon

    28 May 2012 - 00:44
    sir please repply me fast i struck in using java script in asp.net page which derived from master page..i gone through ur solution but i dont no how to place in asp.net page.plese help me sir
  3. Photo

    trancongjava Icon

    26 Feb 2012 - 20:15
    hello, how are you today?
  4. Photo

    Nakor Icon

    15 Jan 2012 - 12:23
    Not yet, I'll have to look into it though
  5. Photo

    Nakor Icon

    15 Jan 2012 - 12:23
    Not yet, I'll have to look into it though
  6. Photo

    BrairMoss Icon

    15 Jan 2012 - 07:46
    Hey Nakor. How's it going? Read the newest Feist book yet?
  7. Photo

    stayscrisp Icon

    05 Jun 2011 - 15:15
    Glad you enjoyed it :)
  8. Photo

    BrairMoss Icon

    10 Apr 2011 - 14:39
    Of course, the only wizard I like better than Nakor and his tricks is Fizban from DragonLance if he counts.
  9. Photo

    Nakor Icon

    10 Apr 2011 - 09:33
    Glad to see I'm not the only fan of Feist.
  10. Photo

    BrairMoss Icon

    10 Apr 2011 - 07:35
    "Nakor is a fictional vagrant, magician and trickster appearing in the novels of Raymond E. Feist."
    My third favourite character ever haha. This profile is getting less nekked now.
  11. Photo

    no2pencil Icon

    26 Jan 2011 - 03:17
    Where there is nekked, there is B9. Fact.
  12. Photo

    Nakor Icon

    25 Jan 2011 - 20:29
    guess that's as good a reason as any other to leave a comment :P
  13. Photo

    BenignDesign Icon

    25 Jan 2011 - 19:09
    I don't know you, but your profile looked so... naked!
Page 1 of 1