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
B

Broken Bokken

@Broken Bokken
About
Posts
66
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Radio Buttons in a Modal popup not updating checked status
    B Broken Bokken

    I've been digging around and it appears to be the way I am showing the modal. Using a link button, it works fine. But I can't do that. I'm trigging a text changed event when the user clicks enter in a text box, I then validate the data entered, and then show the modal. modalPopupOutcome.Show() does not work. Any ideas?

    Broken Bokken You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod The story of your fighting is a poem of two words: YOU SUCK.

    Web Development sysadmin help announcement

  • Radio Buttons in a Modal popup not updating checked status
    B Broken Bokken

    Thanks for your response. No, I'm not binding the radio buttons at all. If I put text in the text box and click any of the buttons, the text is not cleared. The behavior is mostly on the client side as far as them not showing selected. The button highlights and reacts to the click, but does not actually have the little blue circle in it, and does not show selected in tha backend.

    Broken Bokken You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod The story of your fighting is a poem of two words: YOU SUCK.

    Web Development sysadmin help announcement

  • Radio Buttons in a Modal popup not updating checked status
    B Broken Bokken

    I'm using the 3.5 version of ajax. I have a panel set tp be a modal popup, and inside I have a few radio buttons, a text box for a comment, and a button. The button submits fine, but the radio buttons are not retaining their checked value. I can set the selected value and it shows it as selected when the popup appears, but if I click any of the radiobuttons, none of them show as selected. If I click the botton, the checked property is false for all of them.

    <asp:Panel ID="panelOutcomePopup" CssClass="OutcomePopup" runat="server" style="display:none;">
    <div class="PopupHeader">
    <table width="100%" cellspacing="2px" cellpadding="2px">
    <tr>
    <td>
    Record Outcome
    </td>
    </tr>
    </table>
    </div>
    <div class="PopupContent">
    <div>Select the outcome below and enter a comment </div>
    <asp:UpdatePanel ID="updatePanelErrors" runat="server">
    <ContentTemplate>
    <div><asp:ValidationSummary ID="validationSummary" runat="server" HeaderText="The following error(s) occurred:"
    DisplayMode="BulletList" CssClass="ErrorBox"></asp:ValidationSummary></div><br />

    <olympus:MultiValidator ID="multivalidator" runat="server" />

    </ContentTemplate>
    </asp:UpdatePanel>

    <asp:UpdatePanel ID="updatePanelOutcomes" runat="server">
    <ContentTemplate>

    <div><asp:RadioButtonList ID="radioButtonListOutComes" runat="server" /></div>

    <div><asp:RadioButton ID="radioButtonAdministered" Checked="true" runat="server"
    GroupName="OutcomeGroup" Text="Administered Successfully" /></div><br />

    <div><asp:RadioButton ID="radioButtonRefused" runat="server" GroupName="OutcomeGroup"
    Text="Patient Refused" /></div><br />

    <div><asp:RadioButton ID="radioButtonDropped" runat="server" GroupName="OutcomeGroup"
    Text="Dropped" /></div><br />

    <div><asp:RadioButton ID="radioButtonOther" runat="server" GroupName="OutcomeGroup"
    Text="Other" /></div><br />

    <div>Comment</div>
    <div><asp:TextBox ID="textBoxComment" runat="server" TextMode="MultiLine"></asp:TextBox></div><br />

    <div><asp:Button ID="buttonRecord" runat="server" Text="Record Outcome"
    onClick="buttonRecord_Click" /></div

    Web Development sysadmin help announcement

  • VPN Setup
    B Broken Bokken

    Our linksys has VPN passthrough and we already have 2 Windows 2003 servers. No need to go buy more hardware. In either case, I figured out the problem. I had to set an IP range on the VPN server for IP's to be handed out to clients. I set aside 50 IPs (.200-.250) and made sure the router allowed those addresses. The server gives out the addresses in that range, and being a small company we will never eat up 100 addresses in the range 100-200 to have to worry about multiple machines getting the same address.

    Broken Bokken You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod The story of your fighting is a poem of two words: YOU SUCK.

    System Admin database sql-server sysadmin help question

  • VPN Setup
    B Broken Bokken

    We're trying to set up a VPN and we are running into some issues. Here is our setup: We have a linksys router hooked into a 16 port switch. The Router has IPSec Passthrough, PPTP Passthrough, and L2TP Passthrough enabled. We have 2 servers. The first is our webserver/code repository/sql server, the second is our domain server. The webserver is a member of the domain. Port forwarding on port 1723 is pointing to the server we are trying to set up as our VPN Server (webserver). The webserver, also the vpn server, only has one NIC card. Because of this setup we had to do the custom setup. We are not using this server as the router. We just want it to handle the VPN. We are first trying to set up the VP locally and we want to use our domain accounts. The domain accounts have Allow Access checked under Remote Access Permission (Dial In or VPN) When we log in on XP we get Error 6. On Vista, we get TCP/IP CP and TCP/IPv6 CP error 733 The logs are showing something that I cannot find any information on. It's called an Admin Reset. So, from the logs we see that the user is connecting and authenticating okay, but then there is this admin reset. Does anyone know why we can't connect or have any suggestions? Thanks

    Broken Bokken You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod The story of your fighting is a poem of two words: YOU SUCK.

    System Admin database sql-server sysadmin help question

  • Javascript problem
    B Broken Bokken

    I'm making a simple html page with an external .js file that will write the navigation to a page. My problem is that for some reason the page will not call the function in the external file from the page. Here is my .js file: function WriteMenu(selectedNav) { document.writeln('<table id="NavigationTable">'); document.writeln('<tr>'); document.writeln(GetNavItem('Home', 'index.html', selectedNav == 'home')); document.writeln(GetNavItem('History', 'history.html', selectedNav == 'history')); document.writeln(GetNavItem('Castes', 'castes.html', selectedNav == 'castes')); document.writeln(GetNavItem('Map', 'Library/Images/map.gif', selectedNav == 'map')); document.writeln(GetNavItem('Rules', 'rules.html', selectedNav == 'rules')); document.writeln(GetNavItem('Resources', 'resources.html', selectedNav == 'resources')); document.writeln('<tr>'); document.writeln('</table>'); } function GetNavItem(text, url, isSelected) { var navItem; if (isSelected) { navItem = '<td class="selected"><a href="' + url + '">' + url + '<a></td>'; } else { navItem = '<td><a href="' + url + '">' + url + '<a></td>'; } return navItem; } Here are the answers to obvious questions. Here is my header: <script language="Javascript" type="text/javascript" src="Library/JS/Menu.js" /> Here is where I am trying to call the function. This is inside the body tags for the page. <script type="text/javascript"> WriteMenu('home'); </script> I even tried adding an alert to the function and I get nothing. Why won't it call the functions?

    Broken Bokken You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod The story of your fighting is a poem of two words: YOU SUCK.

    Web Development javascript html database tools help

  • ActiveX Control that Communicates with Client Side Devices
    B Broken Bokken

    I'm trying to interface a barcode scanner and a website using activeX. I have code that will read the barcode, but my issue is developing an activeX control that will run on the client machine to pick up input from the barcode scanner device. I am having trouble finding much on activeX control creation, let alone interfacing my activeX control with a device on the client machine. If it isn't possible for the control itself to interface with the client side device, then is it possible to wite a C# windows app that the active X control installs on the client machine and then communicates with? Thanks

    Broken Bokken You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod The story of your fighting is a poem of two words: YOU SUCK.

    ASP.NET csharp com help question

  • ActiveX Barcode Scanning
    B Broken Bokken

    After further searching I found that Microsoft has their own managed library that handles the device drivers. I think I will see if I can make it work in an activex control. http://blogs.msdn.com/pointofservice/[^]

    Broken Bokken You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod The story of your fighting is a poem of two words: YOU SUCK.

    ASP.NET database com algorithms tutorial question

  • ActiveX Barcode Scanning
    B Broken Bokken

    I've been searching google thoroughly and haven't yet found anything that does what I need it to do, so I thought I'd ask here. Most of what is out there is software to create (display) a barcode. I want to actually scan the code and convert it to something I can use against my product database. I have a web application. I want to be able to have the user scan a barcode and then have the scanned code picked up and used by the website. I understand this will require an activeX control. A windows application is not an option. It also needs to support a variety of scanning devices as we don't know what our clients will use to scan the barcodes. I am not opposed to purchasing a third party solution. If you have ever done something like this please point me in the direction of example code or third party vendors. Thanks

    Broken Bokken You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod The story of your fighting is a poem of two words: YOU SUCK.

    ASP.NET database com algorithms tutorial question

  • Borland finally sells its CodeGear tools division
    B Broken Bokken

    You can't polish a turd. Actually, I'm not sure how bad this software is, but if it's anything like Star Team (shudder), then it's pretty bad.

    Broken Bokken You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod The story of your fighting is a poem of two words: YOU SUCK.

    The Lounge delphi html com tools question

  • Why the fuss over MVC?
    B Broken Bokken

    I try to follow MVC to a point when developing web applications. I think it is possible to make your site ajaxy and dynamic and still maintain a site that adheres (mostly) to MVC standards. Jeff Atwood[^] discussed MVC on Monday.

    Jeff Atwood wrote:

    Here's one quick way to test if your application has properly segregated itself between the Model, View, and Controller roles: is your app skinnable?

    But, you are also right. Third party controls can break MVC, if they don't support css control of the look and feel. I don't feel that ajax controls fit this type, sonce all of them are configurable using CSS.

    Broken Bokken You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod The story of your fighting is a poem of two words: YOU SUCK.

    The Lounge design architecture asp-net testing business

  • got ToolStripRenderer?
    B Broken Bokken

    I know you said free, but if you consider buying a control, you should look at DevComponent's DotNetBar [^] It is an awesome set of controls for the cost, and they update the library frequently.

    Broken Bokken You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod The story of your fighting is a poem of two words: YOU SUCK.

    The Lounge question

  • Suggestion for new article category
    B Broken Bokken

    A negative review should be allowed if it is present with an equal comparison and presented in a professional manner. For instance, comparison between two products to determine which product is better. You might have a negative for one of the two reviewed. But I agree, I don't want to see 300+ "my OS is better than your OS" articles.

    Broken Bokken You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod The story of your fighting is a poem of two words: YOU SUCK.

    Site Bugs / Suggestions question html com windows-admin tools

  • Waiting for other threads
    B Broken Bokken

    My standard model for multithreading (in a windows app) is to create a a wait form. You can put a progress bar or a label or whatever you want to use. For my threads I use the System.ComponentModel.BackgroundWorker. I'll briefely explain the basics. My code will create the BackgroundWorker and set up the method it will need to run.

    BackgroundWorker myWorker = new BackgroundWorker();
    myWorker.DoWork += new DoWorkEventHandler(myWorker_DoWork);

    The method passed in looks like this

    private void myWorker_DoWork(object sender, DoWorkEventArgs e)
    {
    //...
    }

    My WaitForm accepts the BackgroundWorker as a parameter to the constructor. My WaitForm accepts the background worker as an input parameter. You can set up the worker in the WaitForm to handle progress changed events to modify the message and even a progress bar in the wait form. Also, you will want to set the RunWorkerCompleted event and make it close the WaitForm. Then, append this below the first block of code.

    WaitForm waiting = new WaitForm(myWorker);
    waiting.ShowDialog();

    By using ShowDialog you are forcing the current thread to wait until the dialog is done. Because the worker is working the dialog won't close until myWorker_DoWork completes. Also, this is another good approach which I have used on a few applications.

    Broken Bokken You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod The story of your fighting is a poem of two words: YOU SUCK.

    C# question

  • Hardware specific article
    B Broken Bokken

    I own a Dell XPS and have been playing with the Dell QuickSet application which allows the user to change the LED colors of the laptop from windows. Would it be worth an article to discuss how th change the LED colors on the XPS? It's pretty specific to Dell XPS notebooks, but there is a lot that could be done with an application that utilizes the LED lights. Would it make a good article despite the hardware focus?

    Broken Bokken You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod http://www.brokenbokken.com

    Article Writing com hardware question

  • Why blu-ray sucks
    B Broken Bokken

    If I have to rebuild my DVD collection I think I will just shoot myself.

    Broken Bokken You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod http://www.brokenbokken.com

    The Back Room csharp com sales question announcement

  • Calling for mr. John Simmons
    B Broken Bokken

    Is AssHat the next version of Linux?

    Broken Bokken You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod http://www.brokenbokken.com

    The Back Room question

  • Firefox vs IE
    B Broken Bokken

    What about Opera and Safari?

    Broken Bokken You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod http://www.brokenbokken.com

    Clever Code beta-testing csharp javascript visual-studio testing

  • Don't wat to be appearing stupid but...
    B Broken Bokken

    Dalek Dave wrote:

    Ye Gods, it was a serious question, didn't expect the Espanol Queso Inquisione!

    NOOOOOOOOBODY expects the Spanish Inquisition! :laugh:

    Broken Bokken You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod http://www.brokenbokken.com

    The Lounge question swift

  • High price of Visual Studio outside the US
    B Broken Bokken

    Get an MSDN subscription.

    Broken Bokken You can't carry out a ninja-style assasination dressed as an astronaut. It's the luminous fabric; too visible. - Tripod http://www.brokenbokken.com

    The Lounge visual-studio csharp help question announcement
  • Login

  • Don't have an account? Register

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