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
D

droth17

@droth17
About
Posts
23
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Uploading a file
    D droth17

    That would violate just a few security protocols. Just imagine the risks if browsers just allowed websites to upload documents to the server without user input.

    ASP.NET sysadmin question

  • How to use reset button in content template (without <form> </form>)
    D droth17

    I have no problem creating a masterpage that has the form tags and then inside the .aspx having a standard reset button that resets the form fields without a post back. You are going to need to better define what you are looking for because I must not be understanding what you are looking for, and from the lack of responses I must not be alone in my confusion.

    <%@ Page Title="" Language="VB" MasterPageFile="~/masterpage.master"
    AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="Default" %>

    <asp:Content ID="Content1" ContentPlaceHolderID="body" runat="Server">
    <asp:TextBox runat="server" ID="tb" />
    <input type="reset" value="Reset" title="reset" />
    </asp:Content>

    ASP.NET html asp-net sysadmin help tutorial

  • Read binary of .RAW file as image
    D droth17

    I don't think you can directly render a raw file as an image in HTML. You are going to need to transform that .RAW file into a .jpg or something else that is readable by a web browser. I would look into possible using the SDK provided by Canon or maybe Nikon. Beyond that, and not knowing anything about the RAW file (each RAW format is different, it isn't standarized from my understanding)

    ASP.NET database help question

  • How to use reset button in content template (without <form> </form>)
    D droth17

    javascript

    ASP.NET html asp-net sysadmin help tutorial

  • Need Help
    D droth17

    You are assuming that the file is in the folder structure. Many, store files out of the folder structure of the website so they can be properly secured on a user to user basis.

    ASP.NET csharp asp-net sysadmin windows-admin security

  • Displaying User Specific Data (based on user input)
    D droth17

    Create a log table that has it's keys setup to be the userid and the documentid. When they click on the submit button, loop through the checkboxes and add a value (check for duplicates) into this log table. Then, just run a simple query joining your document table with the log table to get those records that have not been viewed. This is pretty basic coding, so if this is above your head go to the library and get a decent book, there will be many examples on this type of question.

    ASP.NET csharp database asp-net visual-studio tutorial

  • Masterpage control update
    D droth17

    After you capture the event from the Modal window have a public Sub in your user control that you can call that updates the UC. You can either pass the values into the usercontrol or requery the DB, I would just pass the values in if you already know them. It would be something like this in the content page, then the corresponding sub in the User Control

    Dim oUC As MyUserControlType = CType(Master.FindControl("UserControlName"), MyUserControlType)

    oUC.UpdateMe(NewValue)

    ASP.NET database question wpf help tutorial

  • Changing password using membership provider
    D droth17

    You have to have the membership provider configured to allow for reseting of password. This will be in the web.config file under 'membership' you need to make sure your provider is configured with enablePasswordReset="true"

    ASP.NET question sysadmin help lounge

  • how to preserve the variable
    D droth17

    Do one of three things and then repopulate the variable when it reloads. 1. Add it to the viewstate 2. Add it to the Session 3. Add it to a hidden form field I usually just do something like this

    Public Property VariableID() As Integer
    Get
    Return ViewState("VariableID")
    End Get
    Set(ByVal value As Integer)
    ViewState("VariableID") = value
    End Set
    End Property

    ASP.NET database help design sysadmin tutorial

  • loginame control
    D droth17

    Dim tbUser As TextBox = Login1.FindControl("UserName")
    Dim tbPassword As TextBox = Login1.FindControl("Password")

    You should be able to extrapolate what you want from the above code snippet

    ASP.NET tutorial question

  • Moving page from root to folder causing 404 error
    D droth17

    Going to need a little bit more then this to go off of, like some code.

    ASP.NET help sysadmin tutorial

  • problem is dynamic dropdown list control ...Please help!!!
    D droth17

    I'm not a C# guy, but it sure seems like you call getMLNO on every page_load which then adds in the "Any" item into the dropdownlist which overrides what the user selected. Put that in a If Not Ispostback then (C# equivalent for you) you should be all set.

    ASP.NET database help csharp asp-net graphics

  • Prevent resending information on refresh
    D droth17

    I created a new class that my page inherits from that basically adds a session variable and a form field and then tracks the two to see if the user hit the F5 button. There is a article on it here in code project somewhere (I didn't create the original, but modified to fit my needs), I just can't seem to find the link. You could also look at other solutions like. http://aspalliance.com/687_Preventing_Duplicate_Record_Insertion_on_Page_Refresh.4[^] and http://forums.asp.net/t/763984.aspx?PageIndex=2[^]

    ASP.NET question csharp asp-net database

  • update database through mail on clicking the link
    D droth17

    call a webservice

    ASP.NET database announcement

  • We are planning to make our own website
    D droth17

    LOL

    The Lounge hardware business tutorial

  • Interesting problem - Interaction between controls on a page and controls embeded within a user control
    D droth17

    You need to add the onClick event on the server side. Get the clientID of the control inside the usercontrol using UserControlName.FindControl("TextBoxName").ClientID and then use that for the javascript statement for the onClick handler.

    ASP.NET hardware help tutorial question

  • Autocomplete textbox in asp.net1.1
    D droth17

    Take a look at the ajax control toolkit, it should do exactly what you are looking for. http://www.asp.net/AJAX/AjaxControlToolkit/Samples/AutoComplete/AutoComplete.aspx[^]

    ASP.NET csharp asp-net database sql-server sysadmin

  • server.tranfer path error
    D droth17

    Try Server.Transfer("~/Demo/FrmChecklist.aspx", true);

    ASP.NET csharp asp-net sysadmin help

  • iPod or Zune
    D droth17

    The Instinct is 10x better then the overhyped iPhone.

    The Lounge c++ com architecture question

  • Why is ASP so SLOW?! [modified]
    D droth17

    I totally disagree with you on this. The programmer ultimately has more control over how a site performs then any other factor. I've seem some very poorly designed PHP sites that were slow, and I've seen poorly designed ASP(X) sites that were slow. I've also seen some wickedly fast php and asp(x) sites that do basically the same thing as the poorly designed sites, they just do it a ton faster and more efficiently. The biggest difference is still the skill level of the programmer, not the language because they are all pretty solid right now. ASP tends to have a ton more entry level programmers, guys who come from a different background then say, Computer Programming. I happen to be one of those guys, I came from an engineering (chemical) background that used to tons of VBA work in Excel and from there transitioned into the web. Some of my first work as an ASP programmer was HORRIBLE, but remember I had no training, etc. I didn't understand the importance of things like garbage collection, caching, etc. My knowledge of DBs consisted of using access, so the concepts of configuring the indexes, etc was completely foreign to me. I don't know of a single php programmer that came from a non computer background. Sure, there are some out there, but on the norm, there are many more non-computer based asp(x) programmers as compared to php. I don't care how fast a language or server is, if the programmer doesn't have a clue and writes horrible code the application will be slow.

    The Lounge question php css lounge
  • Login

  • Don't have an account? Register

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