0
votes
0answers
21 views

Is it possible to use Javascript in Windows Service project?

I have a requirement where I need to generate Bing map control with push points (which is only doable using JavaScript) in a Windows Service. So my question is: Is it even possible to write ...
0
votes
0answers
16 views

C# Webbrowser inject Javascript in html loaded js

Currently I redefine the functions window.open, window.unload, etc.; as a void function. for (int C = 0; C < webBrowser1.Document.GetElementsByTagName("head").Count; C++) { ...
0
votes
0answers
10 views

Fake javascript:WebForm_DoPostBackWithOptions

I'm trying to upload a few thousand of PNG images to a site (powered by ASP.NET) using a C# bot. They're using the following button to submit the upload on their site. <input type="submit" ...
-1
votes
1answer
28 views

Add an administrator to your asp.net mvc 4 application [closed]

Ok this is gonna sound like a huge question but I'm still learning asp.net mvc 4 and just need an idea as to how to get started with this one. I have a asp.net MVC 4 application we'll call it product ...
0
votes
0answers
12 views

Prevent closing WebBrowser control from JS

I have WebBrowser contol on my form that can load page with button calling window.close() JavaScript. It leads to closing WebBrowser. How can I use interface DWebBrowserEvents2 which has a method ...
-1
votes
1answer
51 views

Detect and escape all special char

I have a string, that is used to send into a mailto. I want to find all special char, and then escape them, to make my mailto work good, without avoid the choice to wrote special char. For exemple, ...
0
votes
0answers
22 views

Label cordinates in Aspnet

My problem it's the following: I have a Table that contains 9 divs. <asp:Table ID="Table1" runat="server" Style="text-align: center; -moz-user-select: none; -khtml-user-select: none;" ...
1
vote
2answers
45 views

Convert Special characters into Html Encoded characters

I want to converter all special characters into Html encoded characters. I found many post related to used HttpUtility.HtmlEncode(); , but it's only convert some of special characters like "&", ...
-2
votes
0answers
16 views

want to draw dots on image with the help of excel data [closed]

I want to draw dots on an uploaded image,the dots will be placed into an image according to the score of an excel sheet,how can i do it? I am doing it in c# using visual studio 2010. please help me.
-3
votes
1answer
26 views

Display simple c# in “sharepoint online”

I am using "SharePoint Online" and I'm new to it. I have descend programming background and I need more Info on customisation of this service. I've never worked with .NET before (WHAT?!), but I would ...
0
votes
3answers
54 views

How to get javascript confirm popup value in c#.net

I want to get javascript confirm popup returns value from code behind. Here when user select ok button on confirm popup some code goes here, or user select cancel button on the popup some code goes ...
0
votes
1answer
37 views

ASP.Net: How to maintain TextBox State after postback

I would like to know how to maintain the control state that has been modified in Javascript. I have two TextBoxes, one DropDownList and a button (all Runat=Server) in C# ASP.net 2010 Express. First ...
-3
votes
0answers
45 views

Converting regex from C# to Javascript [closed]

Can anyone please help me to convert this C# regex to its Javascript equivalent: ^0[234586789]{1,2}(\-)?[^0\D]{1}\d{6}$ When I'm using it in c# it works fine but in javascript it doesn't work.
1
vote
1answer
36 views

Asp.net Button component doesn't work under Twitter-Bootstrap theme

I've been using twitter-bootstrap for my asp.net website theme and I've ran into some trouble when trying to make a simple button execute an event. The button is an asp component, from what I've read ...
3
votes
1answer
37 views

ASP.Net MVC C# with Toastr not minifing javascript

I'm using ASP.Net MVC 4 - and attempting to use Toastr too. I installed it via NuGet - and it works in development, however, when I publish, my Javascript "bundle" reports: /* Minification failed. ...
-1
votes
0answers
34 views

string formatter Issue in html

If I write in C# string text = String.Format("{0:C2}", amount); suppose amount 1234 so text look like $1,234.00 and this text when i passed to HTML page it convert into $ 234.00 is there ...
0
votes
1answer
39 views

ViewBag Data In Javascript/Ajax not passed in correctly [closed]

I have the following script. <script> $("#sendMSG").click(function () { $.ajax({ type: "POST", url: '@Url.Action("Action", "Controller")', dataType: "JSon", ...
0
votes
0answers
13 views

ActiveX control events

I am using ff-activex-host plugin to embed an ActiveX control in my web page.But, when I call an event from the control, there is no response in JavaScript. My function look like this function ...
-2
votes
0answers
32 views

Flot Chart expert needed

I am plotting number of ice creams by day using flot charts.The user can enter a date and time range and a "zoom level" to view the data. I am using the mode:"time" which allows me to view a dateTime ...
0
votes
4answers
70 views

How can I get values in a javascript object?

I have a javascript object in .aspx page which have some parameters whose values needed to be fetched from .aspx fields on page load. This is the javascript object- <script ...
0
votes
1answer
21 views

how to call the data of one ascx control in another ascx control

i have developed the two ascx control 1) product detail 2) product review now i have to design the tabs bar to display description and product review together like that ...
0
votes
0answers
36 views

javascript file unbinding from dropdownlist on partial post back - need to re-bind

I have a dropdownlist inside an update panel as I need to drive other content on the page on changes to the selected index. However I am trying to apply a mobile look and feel to it. I tried JQuery ...
0
votes
0answers
10 views

Passing a value from a control to a templatefield in a subgrid (ASP.NET)

I have two grid-views one inside the other. The sub-grid is contained in a template field. This one contains a hidden-field. I want to pass its value to a function used in one column of the sub-grid. ...
0
votes
1answer
25 views

Way to remove localstorage created by JavaScript in C#

I am developing Windows phone 7.1 PhoneGap app. I would like to remove localstorage which was created by window.localStorage.setItem JavaScript code in C#. I know, in JavaScript we can remove using ...
0
votes
2answers
49 views

Show Hide Textbox using Javascript in ASP.Net

This code not working in ASP.Net and give the error Microsoft JScript runtime error: 'select' is null or not an object my code is var select = ...
0
votes
0answers
22 views

SCRIPT5022: Sys.ArgumentException:

I am facing a strange issue. I have a site which is working fine when opening in IE10 Win7 on my local + one production Server, but not when browse from my Main Production server. Giving Error ...
0
votes
1answer
27 views

sending data over js and receive pdf from action controller

I'm sending two strings from my view to the controller using javascript. Controller receive that strings and based on their values return pdf page. I'm using this approach for creating pdf on the fly. ...
3
votes
1answer
33 views

calling javascript code in C# Windows Phone 7.5 app

I would like to run some JavaScript code in C# to clear localstorage after clicking a button in appbar in a Windows phone 7.5 app. I came across various code through Stack Overflow and forums But the ...
0
votes
2answers
63 views

How to store a value in javascript and use it in server side

I am trying to use store a dropdown selected value in a local variable inside javascript function once dropdown is changed and when I click an anchor tag to make the controller call, I could retrieve ...
0
votes
1answer
19 views

How to loop through xml string in razor

I have an xml string looking something like this <row Name="analog.__VG_SPP3_SFRTPCT" /> <row Name="analog._3305_LIST210_1" /> <row Name="analog._AG_5340_PR14AN" /> <row ...

1 2 3 4 5 232
15 30 50 per page