Tagged Questions
1
vote
4answers
49 views
emulating a browser programmatically in C# / .Net
We would like to automate certain tasks in a website, like having a user 'login', perform some functionality, read their account history etc.
We have tried emulating this with normal POST/GETs, ...
-2
votes
1answer
68 views
Detecting if a user has left the site [duplicate]
I am currently working on a website in aspx, where I need to detect and record if a user is about to leave the site.
It will need to capture if possible all of the following, if the user:
clicks on ...
0
votes
1answer
39 views
get cookies on a browser from winform c#
im building an app that after the the user logs in to my web site the app goes to a link to get his user name so i will recognize him on the app.
Now if i as a user login from a browser and then ...
0
votes
0answers
14 views
C# Accessing the DOM of a Frame element using a Browser Helper Object
I have spent my last 48 hours trying to develop a BHO to scan the page of a web browser and highlight phone numbers. I have it working in most pages other than pages that uses Frame tags. The website ...
0
votes
0answers
36 views
How open Html file with his content(internal pages, styles and other) in browser
I have a problem. I have some xlsx(or xls) file, I converted it in a html file as follows:
Microsoft.Office.Interop.Excel.Application excel = new Microsoft.Office.Interop.Excel.Application();
...
1
vote
1answer
37 views
Sync website browsing to another machine?
Is it possible to have a website displayed on two seperate machines but to syncronise the users input on either machine to the other?
Basically any anchor clicks, image zooms, javascript pop out ...
1
vote
1answer
33 views
How to refresh browse from thread ? C#
I have an application that populates a grid with information from a SELECT. After all the filling, I gather a playlist (songs) and reproduce in the same sequence. After this whole process, I need to ...
0
votes
0answers
51 views
How to make sure WP8 browser control user agent does not change on subsequent navigation?
I know I can set the browser control user agent using the following code
wbControl.Navigate(url, null, "User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Win64; x64; Trident/6.0)\r\n"); ...
-1
votes
1answer
36 views
c# How to click a radio buton on a webpage
i have learned visual C# browser control.
But i got stuck at this thing. I want to click a radio button. This is the html of the radio
Is there a way to click it ?
Also if there are multiple ...
0
votes
0answers
48 views
Cache viewer for Google Chrome [closed]
I want to make a simple cache viewer for Google Chrome with C#, I didn't find any sample about how to access Chrome cache
I found that the cache existing on ...
3
votes
2answers
253 views
How to set default browser in windows 8 using C#?
We all have been easily able to do this prior to Windows 8 (in XP/VISTA/WIN7) with few changes in Registry and it was done.
With Windows 8 it's not that easy (I'm yet to figure it out how). Windows 8 ...
0
votes
1answer
40 views
How do I sandbox a web browser control in C#?
I am using a web browser control to view cached web pages "offline". The problem I am running into is that when I load a page, some links obviously want to fetch the data from the internet.
I am not ...
0
votes
1answer
24 views
opening browser using a get method url
I'm trying to open the default web browser from my application, so far I'm using:
Process.Start("view.html");
And it works, but what if I want to open the browser with an url like: ...
0
votes
0answers
39 views
Detecting and redirecting an existing instance of browser
As part of a larger solution, I need to detect if any of the running browser instances (IE, FF and Chrome) have my web page currently open. If so, I need to redirect that browser to a different URL ...
0
votes
1answer
72 views
How to Open Datalist Link Button in New Tab in browser
I have a Datalist Which have some linkbuttons which redirects to other page with querystring .
on click it is redirecting to other page with QueryString.
If i am right click on the datalist ...
0
votes
0answers
33 views
Line break not working in Firefox
When I try to print from the browser the newline : \n\r or Environment.NewLine doesn't work in Firefox. Works fine in IE, Chrome.
Environment : Visual Studio 2010, C#.
0
votes
1answer
103 views
An error appears if Selenium Webdriver test that is run by TeamCity clicks on Browse button for uploading a file
I run Selenium Webdriver tests by TeamCity on local server (Windows Server 2008). Also I use test automation framework for working with browser's dialog when I try to upload or download file. When I ...
0
votes
1answer
134 views
Adding contextmenu to WP8 browser control
I am trying to attach a context menu when user perform a hold gesture on a link on a webpage.
I've searched the web and found some recommendations HERE
if (webBrowser.IsScriptEnabled)
{
...
0
votes
1answer
74 views
Web browser automatisation (Robor)
Could anyone please advise me what is the best framework/library for web browser automatisation? The task is to open web browsers page, sign in, perform some long searches, and save gathered ...
0
votes
1answer
21 views
How to distinguish website was opened by browser and software?
I have a link in winform. I press it to open new site on my browser. I call it by page A. In my website I have another link. It link to page A too. When winform open page A it'll be removed header but ...
1
vote
2answers
73 views
How can I handle many (more than 100) parallel HTTP-Requests with Silverlight running in a Browser?
I have to do 100 parallel HTTP Requests with my Silverlight application. Unfortunately the parallel connections are limited by the Browser.
If I start the Prozess I start all Requests parallel. The ...
0
votes
0answers
57 views
How to click an external button in my c# program?
I have a web browser which register accounts,
in the program i put 5 web browsers each one register an account and copy its URL to text box so i have 5 text boxes and i put
if (textBox2.Text ...
1
vote
0answers
32 views
Action already returned but browser not fetching results
In ASP.NET MVC 4, I have a [HttpGet] action method, that returns a JsonResponse.
public JsonResult List(int domainId)
{
....
}
When I call this method with the browser, by ...
1
vote
1answer
118 views
Webpage has expired
Code to forces the page to load when the browser back and forward button are used.
Response.Buffer = true;
Response.ExpiresAbsolute = ...
1
vote
2answers
61 views
Automatic ask/recomendation for user to update browser when user enters website
I'm wondering if there is some solution to "force" user to update their internet browser - I'm thinking if user enters my site and he or she is having an old version of browser, some hidden area (for ...
2
votes
1answer
104 views
Open CRM 2011 Site in default Browser with credentials provided?
At the moment I have to login the first time I open a specific CRM site from my C# Application (in external default browser). As this happens quite often and the browser is closed most of the time, ...
-1
votes
2answers
149 views
Send data from textbox to website textbox using c#?
I have been trying to enter data from my c# form and when I click to submit button on my form it should be transferred to TextBox of website...here
private void button1_Click(object sender, ...
2
votes
1answer
104 views
In Web Garden Mode, how process Id is maintained for all major browsers except opera?
I was testing sessions behavior in Web Garden mode.
Why do all major browsers use only one process (on server) except Opera? and how is it done?
Here is very simple web application:
Code-behind:
...
1
vote
2answers
188 views
How to make IE8 understand file download name?
I use Controller.File(Stream fileStream, String contentType, String fileDownloadName) Method to download a file from server. In my case contentType is ...
0
votes
2answers
49 views
Browser is not reading the response cookie
I am creating a cookie with a value(like an Id) and adding it to the browser's response context.
So when the www.abc.com is called from my applciation through click, it auto logs into abc.com web ...
3
votes
1answer
76 views
How can I decrease the width of crystal report toolbar?
I am using Crystal Reports version 10.5.3700.0 and .NET framework 3.5
I want to adjust the tool bar which are coming when I include the crystal report in a web form. It looks proper in Mozilla ...
0
votes
0answers
59 views
Cancel navigation and call another function in c#
I'm trying to solve a problem in c# for mobile device. I have a basic web browser which has to show only one page.
If I click on a link at this page and in response of it, I cancel navigation there, ...
0
votes
0answers
49 views
Changing browser size depending on screen res/size c#
I'm trying to make it so my browser will stretch to any persons screen size.
Any way of doing this? I have no idea. And I am using c# in this project btw.
Thanks for any help in advance!
0
votes
2answers
506 views
Open webbrowser, auto complete form components and submit
We are currently investigating a method of creating a WPF/winforms application that we can set up internally to :-
automatically open a new instance of a web browser to a predefined URL
...
2
votes
3answers
111 views
how can closed the TAB page by click?
I am making a Web Browser , I have done some parts like that new tab Page,Bookmark,home page,Default Search Engine and so on. I'm confused about how to closed the TAB PAGE. I have tried Double click , ...
1
vote
1answer
150 views
Controls not grey out in Chrome but they does in IE [duplicate]
I am disabling a sortable using this line of code:
$(".sorrtlist").sortable('enable');
In IE they are greying out but not in Chrome, what should I do ?
I can't use ('disabled', 'disabled'); as ...
2
votes
3answers
54 views
Collecting client computer and browser statistics
We have a web application in which user can upload files to our server. We need to find the following details of clients so that we could know our user base
Operating System with version
Browser ...
0
votes
1answer
82 views
Import code signing certificate into the browser
I want to implement the screenshoot functionality in silverlight 5. I purchased code signing certificate from go-daddy . We need to do following things to archive the goal.
Sign the xap file ...
0
votes
1answer
77 views
.Net web browser for windows mobile
I would like to start mobile developing.
I have done many research about how to create own web browser for windows mobile 6.5 and Windows CE in VS2008, but I can only find WM 7 everywhere by using ...
1
vote
2answers
39 views
How to browse a folder in the same directory as the application
Screenshot of Solution
Just wondering in c#, if i set a folder as in the picture /img, now how do i read the image from this folder, thanks!
1
vote
2answers
64 views
Silverlight only makes one http request
I'm working on a Silverlight app which among other things makes Http requests in which it uploads a zip file from the web server. The zip file is picked up from the web server every n:th minute, a ...
0
votes
2answers
124 views
How I can fill the DropDownList in the page_load
I have a DropDownList and I want to check what language does the browser have and set the values in the dropdown accordingly.
protected void Page_Load(object sender, EventArgs e)
{
string ...
0
votes
1answer
113 views
GeckoWebBrowser isn't showing (Handle) (C# WinForms)
I want to use the geckoWebBrowser but it says I have to asign the handle to something to display.
After searching a bit, a good solution seems to be to asign it to a tab page,especially to simulate ...
2
votes
3answers
97 views
Is there a way to check if JavaScript is disabled from controller
I'm pretty sure this is not possible, but just thought I would throw it out there. I want to know if there is a way from the controller (before the view gets rendered) if the browser has JavaScript ...
0
votes
1answer
251 views
How to select a directory route via Dialog Form ON ASP.NET C#?
I need to place a button which will open a Dialog form, on which you will be able to browse Windows directories to select a ROUTE (example c:\Windows) and place all the folder's available files on a ...
1
vote
3answers
124 views
Hook into tab changed event of browser
In an ongoing project (Windows, .NET C#) we encountered a bottleneck in our development:
we have to observe the change of the current tab in all major browsers (IE,FF, Chrome, Opera, Safari).
As ...
0
votes
2answers
162 views
How do I simulate web page button click in c#
I know it can be done by
webBrower.Document.GetElementById("Id_Of_Element").InvokeMembers("Click") method by I have trouble finding it's ID. is there any other way I can do that. Web Page URL is this
...
1
vote
0answers
116 views
C# hook or inject any browser
I am writing a c# WPF Application and wanted to know if it would be possible to create a hook on any browser like Chrome, Safari, FF or even Opera. What I want to do is to manually reload the active ...
0
votes
1answer
229 views
Detect browser URL
Is there a way for a standard C# desktop app to detect the URL that the browser is going to navigate to, and possibly prevent it from doing that? An example would be all those download managers that ...
2
votes
2answers
74 views
Creating Uri from user input
So, I want to create an Uri from user input.
I have a textbox, an Ok button and web browser control.
User writes his desired web address, clicks button and launches getUri method.
I tried to create ...