Gridview inside updatepanel error I have a GridView inside an

August 31, 2010 – 11:00 pm

Gridview inside updatepanel error
I have a GridView inside an UpdatePanel set to conditional update mode and ChildrenAsTrigger to false, now the gridview got bind successfully, we are talking about 500 rows, i have others gridview but in different UpdatePanel. Everything works except when i try to clear everything, it hangs saying…

add a user a group
Is there a way to add a user to a group in J2EE dynamically (using glassfish btw)? If so, is there a away to have a user in a group called members to be promoted to an admin group. Thanks in advance

Google upgrades mobile YouTube
Google (http://www.google.com) has upgraded its mobile version of YouTube (http://www.youtube.com) so that it shares more in common with the desktop version on HTML5 enabled phones. This anticipates the idea that more people will watch videos on the move than on the desktop, so you’ll get a better…

Back, Next and Previous Button
I am using Visual Web Developer Express 2010 with VB scripting to create my web site. I would like to put a Back Button on each page but cannot find any instructions on how to do this - any help would be appreciated.

VIZIO Releases New Line of Top Tier HDTVs
VIZIO has long been the bargain shopper s HDTV brand of choice. Peppered across shelves in Wal-Mart, Costco, and Target electronics department, the displays albeit not the most advanced in terms of picture quality have always been reliably, affordable, and completely viable options for people…

eBay Launches eBay Bucks Cashback Program Attachment 16647 (http://www.daniweb.com/forums/attachment.php?attachmentid=16647)On Friday,

August 31, 2010 – 5:00 pm

eBay Launches eBay Bucks Cashback Program
Attachment 16647 (http://www.daniweb.com/forums/attachment.php?attachmentid=16647)On Friday, the world s largest online marketplace announced the launch of its U.S. exclusive eBay Bucks Rewards Program. The cashback incentive gives the consumer a 2% return on most items available for sale on the…

problem in checking account balances
Hi, I have 4 account type tables. savings_investment(ID,account_type,full_name,balance,interest,customer_id) shakthi(ID,account_type,full_name,balance,interest,customer_id) surathal(ID,account_type,full_name,balance,interest,customer_id) …

Garmin Recalls 1.25 Million GPS Units Due to Fire Hazard Concerns
If the woman with the British accent suggests you turn left to find a fire hydrant, heed to her warning. Attachment 16904 (http://www.daniweb.com/forums/attachment.php?attachmentid=16904)Earlier today (August 25th), GPS maker Garmin announced a voluntarily recall of 1.25 million n vi GPS systems…

phpmyadmin problem
Hi I m using xampp latest version. I have a table created by phpmyadmin. Now I want to delete all data form the table, But dont want to drop the table. Problem is that… When I click oncheck_all it select all checkbox. but some row r yello background. When I click for delete, only yellow rows r…

Oracle Sues Google Over Java Use in Android OS
Attachment 16645 (http://www.daniweb.com/forums/attachment.php?attachmentid=16645)Oracle announced Thursday evening (August 12) that they would be filing a lawsuit against Google, claiming that their Android phone software infringes upon patents and copyrights of their Java software, which they…

Unable to debug Webservice call on client side Scenario: I

August 31, 2010 – 12:00 pm

Unable to debug Webservice call on client side
Scenario: I have a ASP.Net 3.5 (VS.Net 2008/C#) application. I have a webservice which I have marked with [ScriptService] attribute and also made sure that the setting is in place in the webservice web.config configuration settings. I add the Script reference in the…

Rumor: Gearbox Software to Continue Development of Duke Nukem Forever

August 31, 2010 – 7:00 am

Rumor: Gearbox Software to Continue Development of Duke Nukem Forever
Attachment 16592 (http://www.daniweb.com/forums/attachment.php?attachmentid=16592)Kotaku is reporting the rumor that the once ill-fated Duke Nukem Forever might have another shot at making it to the retail market. Kotaku’s sources claim that the game has been picked up by none other than Gearbox…

Disable php warning message hi, The problem i am facing

August 31, 2010 – 1:00 am

Disable php warning message
hi, The problem i am facing is Notice messages in my website when i upload site on domain. I tried to sort it out by applying error_reporting(0) in php and code in htaccess file to disable error reporting. But problem is still there as shown in my website www.bathroomfurniturestore.co.uk …

Product Review - Magic Article Rewriter
Rewriting an article is a complex and time consuming job. If you agree, then why not check out Mass Article Rewriter which simplifies the process of article rewriting. In this review, Anand examines the usage and usefulness of this software in detail.
Anand Narayanaswamy

Retrieving multidimensional array
Hello, In OOP PHP, i got 2 classes: Database and News. In News class i call DB function and get result (multidimensional 2D array). Now i have to display that array in index.php. I call News class (lets say get_news() function) from index.php but cant retrieve data and always get message: “Cannot…

ISP Owner Released from Six-Year FBI Gag Order An Internet

August 30, 2010 – 7:00 pm

ISP Owner Released from Six-Year FBI Gag Order
An Internet Service Provider (ISP) has finally been given permission to reveal that he was the recipient of an National Security Letter (NSL) from the Federal Bureau of Investigation (FBI) six years ago, demanding information about his clients. Nicholas Merrill, president of the New York ISP…

Philips Fluid Flexible Concept Smartphone Revealed
It was only a matter of time before Hollywood’s depiction of “the future” started to grow strikingly similar to something one would find in Best Buy’s Sunday flyer. The Philips Fluid Smartphone was unveiled earlier today (August 18th), the first device since Doc Brown used banana peels and…

Fake reviews fingered A marketing company in America has been

August 30, 2010 – 1:00 pm

Fake reviews fingered
A marketing company in America has been rapped by the Federal Trade Commission for publishing reviews of its clients’ games on iTunes. The organisation, Reverb Marketing, has issued a statement suggesting it regarded the matter as trivial and didn’t want to spend ages fighting this sort of lawsuit….

Robots Help Ill Children Achieve Mobility A team of researchers

August 30, 2010 – 6:00 am

Robots Help Ill Children Achieve Mobility
A team of researchers from the University of California at Irvine (http://uci.edu/index.php) lead by Laura Marchal-Crespo is developing a robot that will help train disabled children to use electric wheelchairs which can make a huge difference in the life of a child who has had little mobility. …

Data lost on submit
Dear Experts, I have a modal popup and a GridView in it. The GridView is populated programmatically, i.e. I use .DataBind(). I can enter data into some of the GridView’s controls. After I press Submit, I expect to do something with the entered data. But in the button press handler, the GridView…

data source urgent reply
hi i m using two drop down 1 will populate abbrivation base upon other drop down which will show branch name both are depending upon each other if i select abbrivation second must populate branch name and if i select branch it will populte abbrivatiion my database is dynamic and i m usind data…

TestDriven.Net 2.21: Now includes NUnit 2.5 RC

Support for NUnit 2.5 RC

A couple of days ago, Charlie Poole announced that the first NUnit 2.5 release candidate is now uploaded. I ve hurried to get a new version of TestDriven.Net with support for this version ready. I m happy to announce that TestDriven.Net 2.21 Beta (which includes NUnit 2.5 RC) is now available for download.

TestWithNUnit25

This is a major NUnit release with lots of new features. Here is the list that was posted on the NUnit mailing list:

  1. Parameterized (data-driven) tests are supported, with features similar to those found in mbUnit and xUnit.net.
  2. Theories - as used in JUnit- are supported fully, including support for Assume.That.
  3. New attributes allow the specifying the thread and apartment state requirements of a test.
  4. Exception handling can now be moved into the test code using Assert.Throws or the Throws.Exception syntax.
  5. Test methods and fixtures may now be generic and many asserts and constraint expressions now support generic syntax.
  6. Many constraints now permit substitution of a user-defined comparison algorithm through the Using modifier. Lambda expressions are supported.
  7. Test execution may now take place in a separate process for better isolation.
  8. Tests may be loaded and executed using a selected runtime version.
  9. Tests, setup methods, teardown methods and data sources may be static if desired. If there are no instance methods, then NUnit doesn’t need to construct your test class.
  10. Source code is displayed in the gui, where available.

Charlie has also posted a top 10 reasons try NUnit 2.5.

Improved x86 / 32-bit support on a 64-bit OS

This version also contains improved support for running tests in a 32-bit process. To configure a test project for 32-bit execution, simply select x86 as the Platform target in the project properties. After doing this, the Run Test(s) and Test With > NUnit 2.5 commands will execute your tests in a 32-bit process (this doesn t work for NUnit 2.4). By default projects configured for Any CPU will execute tests in a 64-bit process (unless you re testing with NCover, Team Coverage or dotTrace).

x86  

Experimental Visual Studio 2010 support

TestDriven.Net was working with the Visual Studio 2010 PDC CTP version. Unfortunately I ve had less luck with more recent pre-Beta versions (Visual Studio was crashing). You can try the experimental support by choosing Custom setup and enabling the Visual Studio 2010 feature. There is a chance this will be working again when the Visual Studio 2010 Beta is released.

vs2010

Trace/debug messages now appear in Debug pane

When stepping through code started from TestDriven.Net, you may have noticed that trace/debug messages appeared in the Test pane but not the Debug pane. Trace/debug diagnostic messages will only appear in the Test pane when targeting specific tests, but not when executing all tests in a project / solution.

Release Notes & Download

Here are links to the TestDriven.Net release notes and download.

Don t hesitate to contact me or the NUnit team if you find any issues with this release.

How to access individual Menu Item??
Hello Friends, In my Menu i have several Menu items one of which is Change Password. When i click on it my modal popup should appear on the screen. However as we know that individual menu items do not have ID assigned to them, i am having a problem assigning a TargetControlID property of the…

Help with ER diagram Scheduling System need some advice College

August 30, 2010 – 12:00 am

Help with ER diagram Scheduling System
need some advice College faculty needs to have schedule that does not conflict with other teachers schedule.. Abide by the room capacity.. Computes the total number of hours per teacher.. And generates a time table..

What does PHP file encoding affect?
Hi, I am currently trying to do a website with both chinese and englis text, and I have problems displaying chinese text. I uploaded a set of identical website files to 2 different servers and domains, and one displays chinese character but has messed up layout, the other does not display the…

SUM query
hi all, i have a little issue with SUM query from this table UNIQUEID Date Production engine1 01/12/1999 1440 engine1 01/01/2000 6061 engine1 01/02/2000 5152 engine1 01/03/2000 5347 engine1 01/04/2000 4642

Facebook launches geo-location app, Places
Attachment 16757 (http://www.daniweb.com/forums/attachment.php?attachmentid=16757)Facebook announced last night (http://blog.facebook.com/blog.php?post=418175202130) its own location-based “check-in” app — this being the social-networking site’s response to similar applications like FourSquare,…

Auto Update value for default
heyy… i need to knw how to update some table value to default value automatically after some period of time. assume that user update table value to “false” today. then it will be update to its default value “true” to tommorow by automatically. please help…

How do i publish my website on my PC? I

August 29, 2010 – 6:00 pm

How do i publish my website on my PC?
I have finished a web application, but i’m having problem publishing it. The application is meant to be accessed only by people in my office. But i actually don’t know how to go about it. Is it possible to host it on my PC and it will be accessed by other people in the office through wireless or…

client side and server side
good day! i’m a newbie in php. but i know the basic things like what is server side and what is client side. my question is is it “OK” if i place a php script (which is a server side) in the page that my client views? i dont know if this is a stupid question but please answer it im just soooo…

.NET Exception Handling By Edward G. Nilges
This article presents a set of general error handling principles and illustrates them in action with a downloadable VB.NET project, including a demonstration program and a reusable .NET exception handling DLL.
Click here for the full article.

Moq.me 3.0 RTM

Congratulations Kzu on the release of Moq 3.0 RTM!

You can get it here http://moq.me/ (I love the domain name).

There s a fascinating back and forth between Ayende and Daniel (kzu) where they discuss different ways to use mock frameworks. Ayende (who developed Rhino Mocks) is more in favor of interaction testing than Daniel who is a state/classic TDDer.

Recently I ve been trying to separate my tests into unit tests, interaction tests and integration tests. For interaction testing I ve been using Typemock Isolator, which allows me to break a few runes in order to exercise some hard to test code. Moq is looking very interesting as a mock framework to use with my traditional unit tests.