I use ReturnOfSmartPart on WSS3 to display a ASCX in Sharepoint as a web part. This works beautifully.
The only problem is that the AjaxSmartPart seems to be using the Debug mode javascript (the scripts are close to 1MB!)
How can I ensure that the AjaxSmartPart only uses the "Release" mode java scripts?
Note:
I have Published my ASC...
We have the following code (listed below) in our JSP. We are seeing the action configured in the href of the div id=pwcercontainer being called twice. Can't work out exactly why. Replacing the containing sx:div label="Admin Record Deployment" with a plain non-struts div causes the action to be called only once. We can't see anything in t...
I have a page with a number of ListViews that I want users to be able to sort and page through. Rather than postback and rebind the entire page each time, I would like to do it via jQuery/AJAX selectively for the control in question. I am comfortable making the client-side call to a WebMethod in my page - my question is how do I get the ...
Is there a simple and foolproof way we can test an AJAX installation? We have a problem in calling a webscript using AJAX form a JS file. The error is 'ServiceLib' is not defined. The error gets a few hits on Google.
We've added some AJAX functionality to a customer's app. This works fine here in the office on dev machines and on our...
Please, I am new to webparts and I need help!!
I have a custom web part that I created. I added MS Ajax to it using an UpdatePanel which works fine. I add all my controls to the CreateChildControls method. As soon as I add a UpdateProgress control my page breaks with the following error:
Script controls may not be registered before Pre...
I found strange bug (maybe). When I send parameters to $.ajax in a form of hash, and tried to check that params in $.ajaxSend, I found that settings.data is null, settings.url was normal with parameters included. Then I look inside jQuery code, and found that data erased.
// If data is available, append data to url for get requests
if...
Hello,
I have this code
while($row = mysql_fetch_row($result))
{
echo '<tr>';
$pk = $row[0]['ARTICLE_NO'];
foreach($row as $key => $value)
{
echo '<td><a href="#" onclick="GetAuctionData(\''.$pk.'\')">' . $value . '</a></td>';
}
which gets pk. pk is then passed on to the axjax part with this:
function GetAuctionData(pk)
{
.....
var...
I'm working on a webservice + AJAX interface, and I'm worried about authentication. This moment I'm passing username and password to the webservice as arguments, but I fear that this approach is highly insecure. I was told that ssl could solve my problem, but I want more alternatives.
My webservice is written in php and my interface is ...
Is there any way to follow a URL in JavaScript without setting the document.location.href?
I have a page that displays a list of objects and each object may have a file download associated with it, which is accessed via a hyperlink. Clicking the link initiates an AJAX request that ultimately leads to a transient file being generated tha...
Is there a way to use XMLHttpRequest in combination with other domains?
I would like to parse some xml from Google without having to use a server so it is minimalistically complex to run.
var req = getXmlHttpRequestObject();
...
req.open('GET', 'http://www.google.de/ig/api?weather=Braunschweig', true);
req.setRequestHeader("Con...
From what I understand, due to the "same origin policy" enforcement in current browsers, it's impossible to obtain data from an XmlHttpRequest sent to a different domain than the Javascript's original domain.
I have close to zero experience regarding this matter, so I'm confused about web services being unusable from Javascript.
Does it...
Hello to everyone
how do i create asp.net web service that return JSON fromated data.??
...
I am calling a .txt file from a jquery ajax call,
it has some special characters like "±". this ± is delimiter for a set of array...data i want to split it out and push into a js array.
but it is not treated as ± symbol when interpreted like this.
so how do i get that data as just like browser content?
...
Hi,
I have strange problem with sharepoint and ajax functionality. We have an UpdatePanel placed inside webpart. When partial postback occurs, page title gets missing.
We have found that temporary partial solution is to write title element into one line and not use any spaces or controls inside it..not even a literal control.
But we ne...
Can jQuery ajax made browser request a new location in redirect header send by server?
...
Hello,
I have a php page that displays rows from a mysql db as a table. One of the fields contains HTML markup, and I would like to amke this row clickable and the html would open in a new popup window. What is the best way to do it, and is there a way to do it without writing the html to a file?
edit: this php page is actually part o...
Hi,
Does anyone know if the AjaxHelper in the ASP.NET MVC framework deals with degradation?
For example, if you have an ActionLink that updates the content of a div, if JavaScript unavailable, will the page do a full postback by renderubg the page (via an action on a controller) and call the action specified in the ActionLink?
If not,...
I really don't know how to describe it, but if you understood it and you have an experiend on that field, may be you can help me with something 'Open Source' and 'Ready-made'.
I want to create something like a box 'or widget', where you can change it content by hitting some buttons on the upper of the box. (Hey the box is on a web page ...
I am interested in implementing an html textbox that has auto-complete capability which supplies suggestions for mathematical functions. My goal is to be able to have a text area where a user enters a series of equations and for each variable they can select from a library of functions and custom formulas. Basically this would be intell...
Does anyone have real-world experience of ZK that they can pass on? The marketing blurb on their web site makes it all sound too good to be true. Any issues with performance, browser compatibility, tooling, widget availability, etc?
...