blah blah blah is here! blah blah » Close

0
votes
1 answers

Updating UI using multiple threads

Hi, I normally develop for Web forms, so am just getting to terms with Windows forms. I've come across the common problem of updating the UI with multiple threads running. I've got a delegate on the form, and an update method. I call th ...

0
votes
1 answers

Validators in Firefox

Hi, I have a strange problem in Firefox. I have two submit buttons within one web page. Depending upon which one you click, on the PostBack I disable certain validators. In IE this works fine, and it'll only validate the fields that are ...

0
votes
1 answers

Accessing a parent user control

On my web page, I have a Header User Control that contains all of the data at the top of the page. Within this control there is a Search User Control. Now back on the page level I have a UserSummary User Control that displays all of the u ...

0
votes
1 answers

Return statements

Hi, was just wondering people's opinions with return statements, and what's best practice. Ie, do you prefer to use a single return statement at the end of a method, or multiple return statements in a method. In my case I was using a fore ...

0
votes
1 answers

Memory Management

Hi, I'm writing a piece of code to create Thumbnails on the fly, but am having problems with memory, an area I'm not very experienced in. In my code I put a number of images in a directory and the code, creates thumbnails for all these ima ...

0
votes
1 answers

Quotes with quotes

I'm trying to call a javascript function in my code that contains some data from part of a Repeater. I can't write it well formed though. The code is: onClick="hoverItem('<%# DataBinder.Eval(Container.DataItem, "Id")%> ...

0
votes
1 answers

Session Variables Pro's and Con's

Just thought I'd stir up a little debate. Anyway, from what I know Session Variables are very bad (in fact when we do work for Microsoft we're actually banned from using them). This is because: 1) If used too much they can overload the ser ...

0
votes
1 answers

Sql Problem

I have two tables, for the sake of example Forums, and Threads. Forums consists of: ------------------- ForumId Name Threads consists of: ------------------------ ThreadId ForumId <-- (This shows which ForumId the thread belo ...

0
votes
1 answers

IE problems with Validators

I have a simple login page with two RequiredField validators for the Username TextBox and Password TextBox. However, when in IE, if I fill these out and click the login button nothing happens. The page doesn't even try to load, it's like t ...

0
votes
1 answers

Flush an MP3

Does anyone know how to read in an MP3 (probably using a binary reader) then setting up the mime settings, flush it out to the user so that they get the download file dialog box. Cheers, Bealer.

0
votes
1 answers

Repeater within a Repeater

I have a piece of code that pulls off all of the MP3 albums I have and puts their titles into a DataTable. The first column is the Album's title, the second is a DataTable of all the tracks for that album. I can bind this DataTable to a re ...

0
votes
1 answers

Threading

I have a Web Application that I'd like to implement threading on, but it seems to load before the Threads have finished. I've gone through the code but don't know where I'm going wrong. I have a Web form that creates a thread of another cl ...

0
votes
1 answers

Visual Studio.Net Bug

Has anyone had this problem before? I've been making a number of Web Applications on my machine, and moving them elsewhere etc... Anyway I've wiped the web root and created a new Web Application project and go to add a folder called " ...

0
votes
1 answers

Linkbuttons inside a Repeater

Hi, What I currently have is a webpage, that pulls a load of data off my database into a DataSet. The DataSet is then bound to a Repeater within the aspx page. This all works fine. What I want to do is in one of the columns (MovieName) ha ...

0
votes
1 answers

Clear cache

I'm using a cache on my website to store a few xml files that are being re-used when running a process. When I return to the initial page though I'd like to reset the cache. I've also used an Application variable, and you can clear this si ...

Feedback