I am building a web application that needs to be able to interact with a desktop application. Essentially, what I need to be able to do is to execute an .EXE file with command line arguments on the client from the web application when a form submits. My initial thought is to develop an ActiveX control to handle this, but I have never done this before.
I have a table that the user can add rows to through javascript by clicking on a "add rows button". In each row there are two columns one with a dropdown list and the other a text box. The dropdown list is populated with data through a sub on server side code.I need to be able to insert the data from each row into a table but I'm unable to do this. I clicked on my "add rows button" to add several rows and then did a test to see how many rows the table was returning on the server side and it did not include the five rows I added .. only the header row.If there is a better way to allow users to dynamically add rows to a table and then access the dynamically created table on the server then I'm all ears!
I am looking for a way to integrate a web application with a client application that will sit on the users desktop. Our scenario looks like this user will click a link in the client server application that will launch an .ASPX and pass various parameters via a querystring. User will make form inputs on ASPX page and on that input, I need to be able to execute a .EXE on the client machine that will refresh the window in the client server application.
I have looked at some tutorials for using ActiveX for this, but they all seem out of date and the ones that I have been able run prompt the user with the Activex warning dialog, which I would like to avoid.
I've created ASP.NET pages in the past that sent emails using the .NET classes. However, I'd like to send an email from a webpage using the email software on the client computer.
My understanding is that the mailto: protocol allows for some arguments such as a subject and to address.
But I'm not sure which arguments are supported or how universal that support is. Also, are there other options that give me even greater control over the client's email software?
Ideally, I'd be able to specify more than one to address, the subject, and the email body, which the user could then review and modify before sending.
We've deployed some reports from a server machine which can be accessed without any problems if you are logged onto the server itself by going to the URL of http://servername/ReportServer. However if we try and access the reports from a client machine (even if we use the same administrator Windows account) we get the Windows security window appear asking for a Username and Password to be entered in order to connect to the server. We've tried entering this but we then just get a blank screen after being re prompted a few times to enter the details.
Now I'm not sure whether this will be a Reporting Services or a Windows issue. Could it be a setting within IIS? It can't really be a user thing as the same user works on the server but not on the Client machine so it's more of a machine problem. It's as if there are some authentication settings somewhere that need to be set.
I have a button on a masterpage, which when clicked, calls a method that takes an EventHandler previously saved to the viewstate, this method is on the client page, and executes it:
However, the value of TextBox2 is incorrect, it is the value of the text box that was set when the page loaded (or if any other item on the pages changes it), the new value is not passed.
If I add a button to the client page, that calls the Button2_Click event directly, it get's the correct value.
Is the reason I am not getting the correct value of the text box because the Event is called from the master page?
I should add, that this button is created dynamically, and the event delegate will vary, which is why I have to set it at run time. I need a way to set the delegate on a click, and persist this until it is changed again.
What is the best way to reference controls from the clientside from within a TabPanel? I've tried using jQuery and javascript both has failed me. I've tired using the find method, but still no luck... SchoolSectionID refers to a div element within one of my TabPanel controls.
for (var a = 1; a < 4; a++) { var SelectControlID = ""; var HiddenControlID = "";
I want to access one image file residing in C: of the client's machine. I know with the help of file upload control (or say input type=file), this would be easy. Due to nature of my application (Its a KIOSK application), user is not expected to select file. I am just wondering how should I implement reading file without using file upload control. I want to store this file in Images folder of server. I am beginner to WCF. Should I look towards WCF?
I'm evaluating two options of accessing a server side data on client side. Little bit confused about the efficiency or may be you can call it as finding best approach to do it.
I need to access a server side data may be an integer value in javascript on client side. I know about two options to do it.Create a public variable or property on server side and set it to javascript variable on client side as below:
var value = eval(<% =value %>);
Create a asp hidden variable and set value in this hidden variable from server side and access it through javascript using document.getElementById().
Which is the best approach and what are the pros and cons?
The idea is that a pure html table will be generated on the client side. (using jQuery to add dynamic new rows to the table when the user clicks a button). These rows contain textboxes, dropdownlists, checkboxes and other input controls. When the user clicks a button, a PostBack is triggered in which I need to access this data from the table on server side, validate it and perform other actions on it.
I'm able to perform the client side and access the table data on server side by adding runat="server" to the table tag. However, I only see the initial table rows (not the ones added through JavaScript) and I have troubles retrieving the different inputs from the rows. put me in the right direction?? Or someone offering a better solution to the problem?
What is Web services? What is Web services? How can I Transfer the data from server to client and client to server using XML. Need one simple Example program(C# web Application) ...
if in the code behind, I set the label to "You must enter a value if the textbox is empty" to validate it on the server side and this is fine, but if javascript is enabled, I don't want to show the client side validation and the server side label together. Is this something where I would just have to disable the client-side validators if javascript was enabled?
We've got a client app which connects using TCP to a server. Additionally, the client app makes use of .NET remoting to talk to another piece of locally running code.
I'm tasked with creating a "Client Simulator" to do some testing, where we'd need to have 100's of clients connected simultaneously to the server. Ideally, this would work out great if I were to run each client in it's own space, such as a VM, but this is not logistically feasible.
how to handle this? Is there a tool that could do something like this? Or some sort-of .NET concept I could use?
I have a user control which contains a CustomValidator which is used according to whether a RadioButton is checked or not (there are several RadioButtons, I'm only showing the relevant one)
There is some client + server side validation code (the server side code does exactly the same thing and is skipped for brevity)
<script type="text/javascript"> function ValidateDateFields_Client(source, args) [code]...
There are two instances of this control in the page. When running the client side version it hits the wrong one (the version of the control which is disabled). You can see from the generated HTML both are correctly specified. I'm not sure how .NET works out which clientside function to call given they both have the same name.
[code]... Do i need to add something in to scope it? What's the best way to achieve this? If I disable the loading of the second control everything works fine.
I am working with a chatServer application. I want to transfer(share) one file from client machine to another client machine, like gtalk file send without saving that file in server (I meen directly transfer from client to client). How can i do this in asp.net
I'm going to create my own project, and i have some difficulties with technology selection. I will have client application(windows forms) and web service. Data exchange between clients will be only by using this web service. Data will be like image stream,so I don't know which technology to use. I started to look at WCF, but i don't know a lot about it.
My form calls a sub for the onclick of the submit button. I need to access the form element with id 'form1' from this sub. I know in javascript its document.getElementById but how is this done in ASP.NET VB? And Yes I do realize I just showed off how much of a newb I am to the language but this seems to be so easy that its almost unsearchable on google.
I have a webusercontrol which has a form. When I place the control on a page, and the form on the webusercontrol is submitted, I set a parameter on the control which I like to pass to the parent page. I am setting the parameter within the control using
I have made 3 web controls which need to be accessible between eachother. First control is main control (controlA). Other 2 controls (controlB and controlC) are referenced in controlA. Now i need to access function from controlC and call it in controlB. I tried adding new reference, but it doesnt work the way I want it.
ControlA is main control and it is merely a table to hold other 2 controls in place. I can access both controls from controlA, but since I need to modify controlC due to drop down menu in controlB i can't force controlA to respond to event in controlB every time it occurs and affect controlC. Or can i? :)
So whenever the event (SelectedIndexChanged) of drop down menu occurs in controlB, I need to set up/change controlC. Problem is, I don't know how to call function from controlC. It may sound very simple to solve and i tried to make a new instance of controlC class in controlB my webpage just wouldn't load.
In my application, I use nested master pages. In the main.master which is the top level, all encompossing master page, I have some properties. I want to set the value of this property from a user control embedded into the page which is using master page which is embedded into main.master. To clarify further, here's the hierarchy