Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
N

NikoTanghe

@NikoTanghe
About
Posts
59
Topics
31
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to get the logged in user
    N NikoTanghe

    protected void Page_Load(object sender, EventArgs e)
    {
    IterateParentsForLoginId( Parent );
    }

    private void IterateParentsForLoginId(Control parent)
    {
    if (typeof( Page ).IsAssignableFrom( parent.GetType() ))
    {
    _loggedInId = ((Page)parent).LoggedInId;
    }
    else
    {
    if (parent.Parent != null)
    IterateParentsForLoginId( parent.Parent );
    else
    throw new InvalidOperationException(
    "To ensure proper page functioning, the containing page for this control must derive from OURNAMESPACE.Page." );
    }
    }

    << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

    The Weird and The Wonderful tutorial

  • browser doesn't autosuggest my username + password.
    N NikoTanghe

    I don't completely understand your answer. Yes, I want my browser to auto-complete the username and password boxes. chrome can do this. when logging in to a site, protected with form authentication. chrome will suggest you to save the credentials that you have used to authenticate. The next time when you visit the site, both fields are filled in automatically by the browser.

    << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

    ASP.NET csharp asp-net security question

  • browser doesn't autosuggest my username + password.
    N NikoTanghe

    but how does the browser knows this? somehow a browser can recognize a login form.

    << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

    ASP.NET csharp asp-net security question

  • browser doesn't autosuggest my username + password.
    N NikoTanghe

    hello, asp.net, regular form authentication. I want to make sure that IE / firefox suggest my password by auto filling the user and password text boxes, so I don't have to fill those in all the time. what do I have to do? I guess the buttons need some sort of clientID so that the browser recognize them as username/password fields? note: - it's not about making the form authentication cookie persistent (aka remember me) - I don't want to store the credentials in a separate cookie, I just want to use the browser functionality. thanks, Niko

    << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

    ASP.NET csharp asp-net security question

  • unable to spot the error
    N NikoTanghe

    his footer says " the quieter u become more u hear " he's absolutely right: don't give all the info too soon

    << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

    C# help csharp linq

  • Can any one help please?
    N NikoTanghe

    yes, this is possible from javascript, use: window.open(url, targetFrame, "toolbar=no,width=500,height=500,resizable,scrollbars");

    << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

    C# csharp java html asp-net design

  • design problem with static classes
    N NikoTanghe

    I have a design problem here. in the BIL there are some classes that represent business entities each of this class is static. and they all have mostly the same (static) members : - some info methods like give the pk for that entity - perform some actions on it: search for that specific business entity. - and so on I want to enforce that some methods are implemented on each static class. how can I do it ? note that interfaces don't work here since it is a static class maybe the design is wrong here, better alternatives ?

    << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

    C# question design business help

  • Disarming explposives question
    N NikoTanghe

    Just press the start button, and do 'shut down'

    << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

    The Lounge help question

  • someone who does not trust arithmetic
    N NikoTanghe

    Mister Kofi Ado, If you have 9,5 mil (nine and a half million) that you want to get rid off... share it with the codeproject community, we will be very happy with your money you want anything in return? I'm sure we can provide you a good program that helps you spamming messageboards. (but we can't garantee bugs that might f**k up your pc)

    << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

    The Weird and The Wonderful

  • automatically select tree node
    N NikoTanghe

    I want the tree not to be selected, not expanded. so when the tree is displayed, a postback is generated, as if the user clicked on the node itself to select it.

    << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

    ASP.NET sysadmin data-structures question

  • Restriction to access the aspx page directly.
    N NikoTanghe

    but watch out, the URL referer can be faked rather easy...

    << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

    ASP.NET docker help tutorial

  • Calling server side method through java script
    N NikoTanghe

    Alok, maybe you can do an Ajax page method call. http://www.google.com/search?hl=en&q=ajax+page+method

    << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

    ASP.NET java sysadmin tools help question

  • automatically select tree node
    N NikoTanghe

    I want to automatically select a certain tree node when the tree control is rendered. Do I have to inject some javascripting code? is it possible from the server-side? Thank you in advance... Niko

    << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

    modified on Thursday, September 18, 2008 10:15 AM

    ASP.NET sysadmin data-structures question

  • call other asp page within the same session.
    N NikoTanghe

    hello, Thanks for your answer. found some other http://forums.asp.net/p/945319/1145830.aspx[^] only cookie ASP.NET_SessionId needs to be replaced. for the moment, can't get this to work correctly...

    << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

    ASP.NET question

  • call other asp page within the same session.
    N NikoTanghe

    hello, I want to call an ASP page and retrieve the response. This can be done with HttpWebRequest, but this request seems to be launched as a different session ? I want to avoid posting a form or working with the querystring, so everything is stored in the session. anyone has an idea what I should do? gr, Niko

    << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

    ASP.NET question

  • How can I get the name of the calling method?
    N NikoTanghe

    By using System.Diagnostics.StackFrame like this: public static void Main() { Func(); RL(); } public static void Func() { //Get stack with line numbers System.Diagnostics.StackTrace Stack = new System.Diagnostics.StackTrace(true); foreach(System.Diagnostics.StackFrame Frame in Stack.GetFrames()) { WL(Frame); } }

    C# question tutorial

  • launching programs from a windows service
    N NikoTanghe

    I wrote a windows service that runs under the system account. This service should launch other programs and monitor them, so it's a kind of a watchdog. I use the System.diagnostics.process class to launch these programs. The code is working perfectly when I run this in a simple console. but this doesn't work in the service. Process.start() simply returns, no program is launched, no exception is thrown... what is wrong here ? Is there another approuch that I can try? gr, Niko

    << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

    C# question

  • generating a stub dll from a tlb
    N NikoTanghe

    hi, does anyone know a tool or a method to generate a stub COM library from a Type library (tlb)? I want to provide a com dll without implementation to a customer so that he can start developping. The interface is fixed (type library shouldn't change) but my implementation is not finished yet, so I want to avoid that the customer is starting to work with an untested library... Many thanks in advance... gr, Niko Tanghe

    << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

    COM com sales question

  • Hackers can turn your home computer into a bomb!
    N NikoTanghe

    didn't know the source of that article. to my understanding, a newspaper should bring news. just giving my opinion on american news in general, which is far more sensational then in europe, I think. there is also a political agenda behind such terrorist threats news (I don't mean just that article ;-) ), but who got re-elected again?

    << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

    The Lounge php database

  • Hackers can turn your home computer into a bomb!
    N NikoTanghe

    This is kind of sad to see more and more hoaxes like this in American news. Has America totally gone mad on their holy crusade against terrorism? Sadly enough, some people actually do believe this...

    << Nearly all men can stand adversity, but if you want to test a man's character, give him power. >>

    The Lounge php database
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups