Most of you here must have used polldaddy. I would like to get some advise from you guys about how can I design an editor like the one seen in polldaddy. Below is a screenshot.
On the left side there is a list of controls (Text box, list etc) and on the right there is a panel(editor). I can click and drag on of the control and as soon a...
Hi all.
I've a TreeView that displays hierarchical data, while I select a TreeNode, I generate a series of links that map the path from selected node till root node
Say:
Root Node --> ChildNode --> SelectedNode
What I need is, while clicking any of these links, select required node in TreeView?
I know that selecting a TreeNode is d...
Hi,
I want my TextBoxExtender to NOT allow a comma and a slash. How do I set it ? Using an escape sequence ?
Thanks.
...
I'm starting to step into unfamiliar territory with regards to performance improvement and our RIA (Rich Internet Application) built with GWT. For those unfamiliar with GWT, essentially when deployed it's just pure JavaScript. We're interfacing with the server side using a REST-style XML web service via XMLHttpRequest.
Our XML is un-mar...
I am trying to use an ajax 'POST' call through the jquery $.ajax function to send data to a php file. For some reason the callback is a success but the data is not getting to the php file. Here is an example of the code:
In JS file:
$.ajax({ type: "POST",
url: "setData.php",
data: "myPOSTvar=myData"
success: f...
I have a user control that has multiple update panels
On Page Load, I load a child user control dynamically onto the PlaceHolder (I do this everytime and don't check for postback)
I want to be able to maintain the state of the changes that a user makes in the Child user control. (The ch...
Hi,
I'm in the middle of adding a tagging system to my website. I want to be able to easily add/edit items tags.
My current tags table structure is:
Table: Item
Columns: ItemID, Title, Content
Table: Tag
Columns: TagID, Title, Tag_Counter
Table: ItemTag
Columns: ItemID, TagID
I really like the implementation of the tagging in Stac...
Hi,
I am using $.ajax to update some values in the database. when the page makes the ajax call for the first time, it is slow. it is taking like 5 or 6 seconds to return the result. after the first request, it is fast. I am not sure if there is a way to make the first call also fast. if you have any ideas, please let me know.
Thanks,
s...
I'm trying to get string data from a web service and populate a thickbox with this data. I feel like this should be the easiest part of the task but so far this is where I'm stuck.
Here is the code in question...
function AjaxRequestHandler(layerName) {
PageMethods.AjaxRequestHandler(layerName, OnSucceeded);
}
function OnSucceed...
The following code executes properly when the data key has no data to send, i.e. data: "{}" an empty JSON object and the webservice takes no parameters. I would like to post some data to the webservice but I am running into trouble.
When I try to set this to data:"{'name':'Niall','surname':'Smith'}", I get an error
{"Message":"Invalid...
So I have a lot of projects coming that could use a little dhtml pizzaz and I don't know which frame work to use for which project and any help would be appreciated.
...
I have some PageMethods (static methods in a page marked with <WebMethod>) defined on some pages and call them using an ajax call. This POST to the server apparently doesn't trigger the ASP.NET code that would raise HttpRequestValidationException if the data sent is deemed possible XSS, so I'd like to duplicate that checking code to run...
Call me a 'n00b', but I am new to creating Script Controls. I want to create a simple control with 3 text boxes. I have a .cs file that looks like this:
public class SmokingCalc : ScriptControl
{
public SmokingCalc()
{
Render(htmlWriter);
}
protected override void Render(HtmlTextWriter...
We use Sajax for adding small Ajax code to sites. After running into a problem and doing some digging, it seems the library hasn't been updated since 2005.
I've appreciated Sajax for being lightweight, easy to use, and easy to install (just include the file in PHP).
So, on the LAMP stack, if you have used Sajax before, what would you...
Is there a norm for AJAX security?
When making an XMLHttpRequest, if querying an HTTPS url, will the browser handle all the certificate business and properly encrypt the request (or use an already existing authenticated tunnel)? Are there any security flaws in this model?
Then there's also user authentication issues with AJAX. Th...
I have this label control in my web page
<asp:Label ID="Label1" runat="server" Text="test"></asp:Label>
And when the page rendered the id of the control changes to something like this
<span id="ctl00_ContentPlaceHolder1_Label3">test</span>
How can I stop asp.net from changing IDs in order to perform a jQuery operation like this
...
I got the following code frfom the web and was trying to compile and run. Its an ajax application. I couldn't get it to compile/build this application; because it says - "Are you missing a using directive or assembly reference" - Can somebody advise what/where should I check? Pardon my ignorance, I'm novice at the Ajx stuff :(
Here is t...
I am a mySQL noob, and have a slightly stupid question...
I am using jquery to send form to a php script which then stores the data in a mySQL database. On another page in my app, I need to get all the values from one column of said mySQL DB, using jquery again (I assume I will also have to write another php script) so I can use the re...
Now that RC1 is out I need to decide once and for all whether to use MS Ajax libraries or just jQuery for AJAX requests. The application is a new application. Essentially the way I'll decide is whether or not i get any significant benefit from the Microsoft libraries that I wouldn't get from jQuery. I already HAVE jQuery loading and I am...
Perhaps I'm just unaware of the competitors, but it seems when it comes to client-side scripting in the browser and DOM, Javascript is it. I know there's VBScript, but it really isn't even in the same ballpark as JS (not even cross platform, for starters).
I'm just curious about how this came to be. Surely there would be a general desir...