Tagged Questions
0
votes
3answers
64 views
What is the easiest way to trigger a C# class from an asp.net page?
In my asp.net page I have three labels:
A default name to filter by
Filled with a list of names which I want to click on to be the new filter
Filled with a list of items to be filtered
2 and 3 are ...
7
votes
10answers
2k views
Elegantly check if a given date is yesterday
Assuming you have a Unix timestamp, what would be an easy and/or elegant way to check if that timestamp was some time yesterday?
I am mostly looking for solutions in Javascript, PHP or C#, but pseudo ...
1
vote
0answers
24 views
updated value of asp.net label not reflected on java script variable
I have an asp.net label , label2 which is in an ajax update panel.
<div id="Div1" class="InsertBar">
<asp:Label ID="Label2"
runat="server" Visible="true" Font-Bold="true">
...
0
votes
2answers
56 views
TextBox with numbers only in the format ####.##
I figured out how to type in only numbers in a text box, using this function
function isNumberKey(evt) {
var charCode = (evt.which) ? evt.which : event.keyCode;
if (charCode != 46 ...
0
votes
1answer
19 views
How to disable a specific javascript file in Web Browser control in C#
I'm using web browser control in my C# project and I want to disable only a specific javascript file. Is there any way to do that? This script is loading from an external website and I want to disable ...
0
votes
1answer
21 views
Filter GridView with Javascript
I have a function in Javascript that makes filters in my GridView.
But, this function makes a filter by column, ie I needed an "input" per column in my GridView to filter all GridView.
How I can adapt ...
0
votes
3answers
32 views
Getting data from .aspx to jquery ajax
I'm novice in jquery and I have one problem:
I have two .aspx files: one of them contain script
<script type ="text/javascript">
$(document).ready(function () {
var schemaName = ...
0
votes
0answers
8 views
How to run HttpUtility.JavaScriptStringEncode on all references to Resources translations?
In the web app that I work on, we put all our translations into .resx files that we then refer to by calling Resources.FileName.KeyName (as specified in the "To retrieve global resources using strong ...
4
votes
8answers
123 views
Better way for the special concatenation of two strings
I want to concatenate two strings in such a way, that after the first character of the first string, the first character of second string comes, and then the second character of first string comes and ...
0
votes
1answer
29 views
Interaction between JavaScript and Windows Forms
i have a Windows Forms application, which uses a Webbrowsercontrol to display a dynamically generated Htmlpage. Is there a possibility to interact with the jscode of the page? For example if i have ...
0
votes
1answer
35 views
jQuery UI class dissapears on button even though .button() is set in codebehind?
Im starting to pull my hair over this.
Im trying to append jQuery UI's button appearance on my regular button, however it doesn't get appended. Doesnt even get a class..
<asp:UpdatePanel ...
0
votes
0answers
12 views
getting Data from Database using offline html page using the HTML5 postmessage function
I have offline html page includes iframe linked to aspx page .The aspx page will receive the message from input in the offline page . HTML5 postmessage function will be used in offline page to send ...
1
vote
1answer
35 views
How to return backbone collection in .NET MVC
I'm fetching a backbone collection using .NET MVC and am having trouble populating the collection properly. The data I need is returned but is inserted incorrectly in the collection.
What follows is ...
0
votes
1answer
37 views
JQuery trying to print columns of a table where a checkbox is ticked, then printing a response from a web server
I am trying to create a URL using JQuery and am having a small issue. I am printing a table to my page like so :
<table id="employeeTable">
<thead>
<tr>
...
1
vote
1answer
22 views
Bit shifting/type casting in javascript with unsigned 32 bit integers?
I'm trying to convert some complex C# bitshifting code into javascript (node), but I'm having issues with this kind of conversion as an example:
var d = false;
var k = 61;
var dd = 103;
uint r = ...