0
votes
0answers
33 views

Showing Calendar Using JavaScript Function

I want to make a calendar that display itself on clicking to the calendar image, and whenever a date is selected, it is shown in the textbox. I have done this part but the problem is whenever I change ...
0
votes
1answer
21 views

javascript Changes clear after postback

Here I am posting code, ASP: <%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> ...
0
votes
4answers
32 views

How to format date fetched by JQuery?

I am fetching and displaying date from sql server database using Jquery now the problem is that this is what I am getting in my HTML 2013-05-30T10:05:00+05:30 I would like it to be something like ...
0
votes
1answer
25 views

How to call aspx page from javascript with query string

Currently the functionality of a web app I am designing(I can not tell real details) is as follows : alert('Hi'); var args = ShowModalDialogue(sURL,'',''); if(args[0] == 'Pass') alert('Bye'); Now ...
0
votes
1answer
30 views

`<td>` will be calculated if the display of the `tr` is not none

In my cshtml file, I want the <td> to be calculated if the display of the tr is not none. <tr id="abc" style="display:none;height: 30px;"> <td class="titleStyle">Page:</td> ...
-1
votes
0answers
26 views

Awesomium, how to get error messages? [closed]

I want to get message from awesomium's javascript console. how can i do that? I can make custom console using JSObject and CreateGlobalJavascriptObject, but how can i get any javascript error?
0
votes
2answers
39 views

send an object from javascript to the View

I have a variable is named: myvariable that has some elements (id, name, etc) in my controller, I calculate some elements of this variable and return it: return View(myvariable). I have another ...
0
votes
2answers
41 views

Need to access variable from code behind. What i found shows how to go about it but i but the value keep displaying null

How to access and use javascript variables from code behind (C#). Upon research, i implemented the proccess in accessing the variables but i still do not get the values of the variables. Where am i ...
0
votes
1answer
18 views

how to reload an aspx page within an iframe when click event triggers from the control within an iframe

I have a webpage wherein I have an iframe and I am loading a separate webpage [aspx] say wb2.aspx within it. There is a button named add comment in wb2.aspx. When the button is clicked a modal pop up ...
0
votes
1answer
23 views

jquery msgBox execution in code behind(c#)

I want to show a message box when user enters wrong ıd or password. I write following function to the .aspx file: <script type="text/javascript"> function warningMessage() { ...
0
votes
3answers
40 views

JavaScript - Disabling Textbox upon Change of Drop Down List Index

I have the following code which suppoesedly disables or enables a textbox depending on the value in a drop down list. <script type="text/javascript"> function DisableEnable() { ...
-1
votes
2answers
40 views

registering jquery in asp.net Master page

I have asp.net web project with following folder structure MyProject -FolderOne -PageOne.aspx -FolderTwo -PageTwo.aspx -HomePage.aspx -Site.Master I registered <script ...
0
votes
1answer
53 views

Execute javascript in webbrowser control

I am trying to resolve the links in a google search results list by executing a javascript on the page that would normally resolve when you click the link. Basically, I am trying to resolve all of ...
1
vote
3answers
38 views

Making a popup window between two websites

On our website we have a link to another page. This looks like this <a href="URL" title="Title" class="thisClass"> <img src="IMG" width="20" border="0"/> </a> What I want is ...
0
votes
2answers
37 views

Executing javascript containing method in WebBrowser control C#

I really need some help executing this piece of javascript code in a WebBrowser control. On the website, it get's executed like this: ...
0
votes
1answer
38 views

Separate Logins in asp.met MVC 4 Application

Still learning, so excuse the generalisation's. Basically, I have a login for regular users. I want a separate login for an administrator so he/she can alter content on a view in the application. The ...
-2
votes
5answers
38 views

How to retrieve Domain Name from Site URL

I am having the Site URL like:: http://stackoverflow.com and I want to just find the Domain name of the Site :: So that Answer should be like:: stackoverflow.com How can It be done? Is there ...
0
votes
0answers
33 views

Copy Textbox Text on Client Click using ZeroClipBoard

I am trying to copy the text of TextBox using ZeroClipBoard but its not working for me. I have one TextBox and one Button. I want to copy the content of TextBox when client click the button. This is ...
0
votes
0answers
27 views

Is there a way we can detect in IE the security level of internet zone programatically

In IE when we click Internet Options->Security Tab. We see the settings for the internet zone high or medium etc. How can we detect these settings programatically.
0
votes
0answers
23 views

C# WPF WebBrowser control, JavaScript writeln function not working after intercepting newWindow2

I have a WPF WebBrowser control. Users log into a website using it and a session is created. When users click on links that create popups a new browser is launched (and the session is lost) so they ...
0
votes
1answer
34 views

Send image data to server in IE 8, IE9

In FF and Chrome we can send image data to server via this code: canvas.toDataURL("image/png"); and then this base 64 string is decoded and extracted on server. I have the issue in IE now. Right ...
0
votes
0answers
51 views

How to call code behind C# function from javascript or jquery which is in different project [duplicate]

I have two projects in my solution : Presentation and CommonControls. I need to call a function defined in a class inside CommonControls. But this call has to be from the javascript function defined ...
0
votes
0answers
15 views

FilePathResult works for ActionLink but doesn't work from JavaScript

I'm not sure why this occurring, but when I call my action from a "ActionLink" it works properly, but when I call it from javascript it doesn't. Both methods get to the "ExportFile" method, but only ...
0
votes
3answers
92 views

How to declare a type as nullable in TypeScript?

I have an interface in TypeScript. interface Employee{ id: number; name: string; salary: number; } I would like to make 'salary' as a nullable field (Like we can do in C#). Is this ...
0
votes
1answer
44 views

Disabling Button Javascript and C#

I have a call in my codebehind that looks like: bool isQtyValid = true; bool disabled = false; foreach(parameters) { //setting isQtyValid if (!isQtyValid) disabled = true; ...
0
votes
1answer
11 views

How to get results from event handler of window.external.Notify(“someText”) i.e. WebBrowser.ScriptNotify Event back to JS?

I am using window.external.Notify("someText") in my WP8 HTML5 App function func() { window.external.Notify("clearTextBox"); } I have written event handler for ScriptNotify private void ...
0
votes
1answer
42 views

ASP.NET MVC Checkbox List Validation

as of right now I am validating checkbox list in the model by overriding the IsValid function so it will get validated on the server-side, but I was wondering if there's a way to add validation on the ...
0
votes
1answer
23 views

How to register event handler for WebBrowser.ScriptNotify Event

I am trying to invoke a C# function from JavaScript used in my WP8 HTML5 App. I am trying to use WebBrowser.ScriptNotify Event to do so. In my html5 code I have written: <button ...
0
votes
0answers
16 views

Buttonclick in javascript modal window opens unwanted new window in IE10

I have a small C#.net program that looks like the comment function in facebook. This comment app is called via a hyperlink from a Reporting Services report using javascript window.open() function to ...
0
votes
4answers
95 views

Accessing C# variables through javascript in asp.net

I am implementing auto-complete on a search box using asp.NET and c#. This is how i have divided my code: I have a class class ListSuggestions.cs, the default Default.aspx.cs class and the default ...

1 2 3 4 5 234
15 30 50 per page