Hi all
I have a scenario in which I need to design online keyboard with buttons implementing different mathematical functions in ASP.NET. For example
1) A button called "Fraction" Onclicking= should display A numerator and a denominator separated by '-' with empty fields. Just as we write fractions manually. Now when the user clicks on this…
I am trying following,
1. Get response using Ajax from the users selection which returns me the list of the radio buttons attributes as
2. Once i get the attribute list i am creating the radio buttons using createElement()
3. Then i am attaching the event to the radio button for onclick buttons.
4. Then i add element to the DOM using…
Friends,
currently I dont have iphone to test and using Simulator for testing purposes. I am Just curious to know whether an application continues to run even after a phone call.. here i have no option to test this from simulator. If it terminates then how can i pause things.. and continue after a phone call. Is NSUserDefaults can be…
I have table cell which has class "cellActive". Which has following defination
.cellActive{background:"#DDDDDD"}
Now i am trying to read the background color property for the cell and it comes null/"".
var bgColor = cell.style.backgroundColor; // returning ""
Is that something mistake on my part of its by behavior. If CSS class…
DataContractJsonSerializer this is nice class added in the .net framework which can be used to serialize/desirealize object into JSON.
Now following is the example i am trying
[Serializable] class User { public string name; public string userId; }
Now following is the output generated
Output : Notice structure where only…
When we use the console.log(someObject.function) firebug shows function() string only.
Is there a way i can see/log the code for the function in the console window ?
browser.getEval function in selenium makes iterateNext return null ..Otherwise in firebug it returns a value(same script)
document.evaluate("//button[text()='Save']",
document,
null,
XPathResult.ANY_TYPE,
null)
.iterateNext()
.disabled;
…
I have table cell which has class "cellActive". Which has following defination
.cellActive{background:"#DDDDDD"}
Now i am trying to read the background color property for the cell and it comes null/"".
var bgColor = cell.style.backgroundColor; // returning ""
Is that something mistake on my part of its by behavior. If…
When i request a page using browser / AJAX request i see lot of spaces and newlines which i think must be adding some overhead for retrieving the response as they too belong to characters means bytes and size. right ?
Is there some way it can be removed while sending from the server ? how ?
(I am using IIS and asp.net for…
i have a workflow where user is allowed to upload any file and then that file will be read.
Now my question is if user have image file xyz.jpg and he renamed it to xyz only (extension removed) in this can we still get the type/extension of the file using/reading files data/metadata.
Thanks all
I have come across the ASP.NET ready made controls like grid, repeater... etc.
For example while dealing with GRID i remember following facts,
ASP.NET V1.1 has DataGrid with "virtual row count" which is heavily used for custom paging which is need of big sites to perform well.
ASP.NET V2.0 added the GridView with all…
I have a page where I have 4 tabs displaying 4 different reports based off different tables.
I obtain the row count of each table using a select count(*) from <table> query and display number of rows available in each table on the tabs. As a result, each page postback causes 5 count(*) queries to be executed (4…
In javascript is there a good(i mean built in) way that i can find whether element if array of not ? one simple i can see is as follows but i don't like it
if(ele.push){//its array it has push method}
I mean i would like know if something like below exists
function x(ele){ if(isArray(ele)){//dosomething} }
Normally we have login page with username, password filed and signin button. Using the normal form based approach we send the data on and page gets post back. Now i would like to change this using the Ajax.
As Ajax too using the normal HTTP so i guess nothing in different from the existing workflow barring postback…
When i started learning function in C++ its all around pass by value and reference.
Is there something similar we have in javascript ?
If yes/not how it works in case of javascript?
Thanks all.
I would like to create a function which can take two arguments object and type and then type cast the object to appropriate type using the type parameter. Is that possible ? how can i achieve it ?
public class TEST
{
public int test;
}
object ot = new TEST();
Type type = typeof(TEST);
TEST t = (type)ot;
…
can someone please help me with this javascript:void(null)
I found it used in link buttons as follows
<a onclick="ProcessResponse()" href="javascript:void(null)" >Accept Data</a>
In my TabActivity , i'm sending value to other Activity how to do that
in this TabActivity how can i send the bundle to other Activity plz tell me
how to pass the value to my other ReceivedList Activity plz tell me ....
public class TabViewForSendAndRecv extends TabActivity{
private TabActivity…