Search

You searched for the word(s): userid:71781

Matching Posts

  • Re: how to add a prefix to a filename while saving it

    That'll be because of the : in the time (e.g. 10:15 ...) Use your own custom time formatting string to overcome this.
    Posted to Getting Started (Forum) by DMW on 10/22/2009
  • Re: Do I need to validate the input?

    [quote user="venkatu2005"]so no possible way by sending any 'blah' value[/quote] Apart from the obvious fact that a malicious HTTP request can be formulated by anyone with the most basic understanding of how to create form variables, so just because its a DropDownList doesn't mean that a valid value will be present in an incoming request. Hackers don't fill in forms; they hack them, relying on people assuming that the only way in to the app is via what is displayed in the
    Posted to Web Forms (Forum) by DMW on 10/22/2009
  • Re: Do I need to validate the input?

    ASP.NET can validate the input for you, but you might still want to do it yourself.
    Posted to Web Forms (Forum) by DMW on 10/22/2009
  • Re: Do I need to validate the input?

    [quote user="venkatu2005"]so using POST method, it will not visible to user, not able to track the value its secured[/quote] No, it is not "secured". Anyone with a couple of seconds effort, and say using Fiddler, can trivially examine a normal POST request and then prepare and submit a fraudulent one. venkatu2005, you keep thinking that all usage of your web application must come from a browser. Look up WebClient or HttpWebRequest in the .NET SDK documentation, and you can see
    Posted to Web Forms (Forum) by DMW on 10/22/2009
  • Re: CLR Integration ... why and when ?

    CLR Integration means running managed code in your SQL Server. So comparing it to managed code seems a little odd: it is managed code. There are many fantastic articles and blog posts that describe CLR Integration, performance issues, good use cases, and so on. Many of them written by developers using it in the real world (or not using it anymore, for various reasons). I doubt that you'll find more information here than you would get from reading those articles and posts, but I wish you luck
    Posted to Free For All (Forum) by DMW on 10/22/2009
  • Re: Corrupt file while exporting in PDF

    Setting the content type makes no difference to how RenderControl works. It still spits out HTML. You actually need to convert the HTML that is generated into a PDF, which involves understanding the PDF file format and (probably) using one of the many excellent PDF developer libraries that are on the market.
    Posted to Installation and Setup (Forum) by DMW on 10/22/2009
  • Re: change screen resolution

    Are you really sure that you want to do this? So when browsing your site on an iPhone, you want to change the screen resolution? Or on a 30" Mac Cinema screen? Or on a braille terminal? How can you possibly know what resolutions the device will support? If this is a requirement in an application specification that you have to work on, find the author and politely explain why they're so wrong, and why it cannot be done.
    Posted to Web Forms (Forum) by DMW on 10/22/2009
  • Re: Check if runat="server" exists

    You can recursively iterate the Controls collection, and stop when you find a control that is a Form.
    Posted to Getting Started (Forum) by DMW on 10/22/2009
  • Re: change screen resolution

    Sorry, I should have made it clearer. You cannot do this. You can determine the size in Javascript in modern browsers that support the screen.width and screen.height properties. But you cannot change the screen resolution. Think about why this would be such a bad idea (if you could do it, which you can't, so this is purely theoretical). Imagine that you are a partially sighted user running on a very large monitor but with a high contrast colour scheme and a resolution of 640 x 480 or 800 x 600
    Posted to Web Forms (Forum) by DMW on 10/22/2009
  • Re: change screen resolution

    [quote user="ramadurai jayaraman"]It is possible[/quote] If you can assert that it is possible, then you know how to do it. Therefore, rather than posting the question, why not post your solution? I presume that it works on all variants of Windows running IE 7, with and without Javascript enabled, with and without .NET installed, with and without ActiveX support, and in the face of technologies such as UAC and anti-malware technologies. I presume it also works on multi-monitor installations
    Posted to Web Forms (Forum) by DMW on 10/22/2009
Page 1 of 193 (1928 items) 1 2 3 4 5 Next > ... Last ยป