net

WatiN with proxy

I've been doing some testing with WatiN lately. For one of the tests I will need to use a proxy to perform the tests. I can set the proxy manually from IE, but I want to do it programatically. In the past I've had success setting proxy for webbrowser control using the code from here http://social.msdn.microsoft.com/Forums/en/Vsexpressvb...

WatiN with webbrowser

I'm using the following code to bind watin to a webbrowser on the winform. Dim w As IE = New IE(WebBrowser1.ActiveXInstance) Settings.AutoStartDialogWatcher = False w.GoTo("http://google.com") I can see from wireshark that the page get's loaded, but the form is frozen until a exception gets thrown "Timeout while Internet Explorer busy...

How can i select multiple values from drop down list in a rdl report.

Hi, I need to show multiple values in a drop down list, and i also need to allow the customer to pick more than one option. Thanks in advance. Luis ...

upload a image in one of the columns of datatable using listview

hi,i am using a listview in which employee detail is shown.i want to display a image which should be uploaded by user shown in one of the column of listview.In listview i use layout,item,edititem and insert item templates.a new user can upload a image through a fileupload control(which is in insert item template).problem is that i would ...

DLL Caching issues on IIS/Sharepoint GAC

We have a handful of sharepoint sites that uses various UserControls we have developed for custom stuff including authentication and authorization. On one of these sites when a new user is created by an admin it creates a password of this minumum length number of characters, saves the user info and sends an email to the users email addre...

ASP.NET MVC passing several data instances from controller to view

I'm trying to build an ASP.NET MVC 2 application. I want to pass data to a view from a controller. I am able to pass it when it is only a single data structure. In the controller: private ArticlesDBEntities _db = new ArticlesDBEntities(); public ActionResult Articles() { return View(_db.ArticleSet.ToList()); } an...

Problem with ExecuteMethodCall

Hi, everyone! I've sql Server 2000 DB which includes Stored Procedure that return Current DateTime. And I've the procedure that call this procedure : [Function(Name = "dbo.spGetDBDateTime")] public ISingleResult<DateTime?> GetDBDateTime() { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMet...

How to test file transfer restarting code [setRestartOffset(offset) in Commons NET API]?

Hi, I wrote small FTP Client Applet which uploads files to FTP Server using Commons Net API. In my code I handled 'CopyStreamException' and trying to restart the same file transfer by setting the offset using FTPClient.setRestartOffset() method. Is there any proper way to test this part of the code? I tried by disconnecting my interne...

Generating a literal for each item in an item collection

As it stands right now, I have a literal control on my page. In my code-behind, I'm using StringBuilder to generate some JavaScript. Also on that page I have a item collection. What I want to do is for each item in my item collection, generate my literal which will in essence generate my JavaScript. Here is an example of my code-behind n...

Type.GetType fails to create type from already loaded assembly

I have program which loads an assembly using Asssembly.LoadFrom method. Some time later I attempt to use Type.GetType to create a type from that assembly (using AssemblyQualifiedName), but the method returns null. If I set it to throw exception, it tells Could not load file or assembly '...' or one of its dependencies. The system ...

Gridview column that changes when required (ASP.NET)

Hi all, I need to have a GridView listing all invoices of an account. Each account can have a PDF generated for that account, which isn't done instantly - so I need a gridview column to update the user of the progress of this conversion - i.e. 'In Progress'. Then, when the conversion is done the cell's text should change to a hyperlink...