Hi,
I have a modal popup extender which is triggered by gridview onRowCommand.
The gridview and the modal popup extender is in different updatePanel.
The panel which assigned to PopupControlID of the mpe contains a textbox and a button.
This button will triggered a page method web service that will return a value to be assigned to the t...
Hello,
At moment I want to implement picture upload without using any plug-ins.
My upload form looks like this
<form action="/Member/UploadPicture" enctype="multipart/form-data" id="uploadform" method="post">
<span>
<div class="upload" id="imgUpl">
<h3>Upload profile picture</h3>
...
I have a search at the top of the page in ajax and I want to fill a asp.net 2.0 GridView with ajax.
How i can do this?
Any ideas?
...
Ajax needs xmlhttp. Does Asp.net ajax, ajaxcontrol toolkits also needs xmlhttp for their smooth running.
...
Guys,
i'm trying to intercept ajax requests with jquery, to display a waiting message like with using plugin BlockUI, but how can i intercept requests sended by the UpdatePanel provided from asp.net framework, is some way to take the trigger?
Thanks
...
Friends, I am willing to follow the rules of the W3C where it is recommended that javascript and CSS files should be in individual files and not within the page.
Good, following this rule, and not wanting to overload the master page, I would like to embed the dependencies dynamically. So how could I insert the libraries dynamically? I t...
i've tried using this code and this to make a random quote generator, but it doesn't display anything. my questions are:
what is wrong with my code?
in the above tut, the quote is generated on a button click, i'd like
a random quote to be displayed every
30 mins automatically. how do i do
this?
////////////////////////
quote.html:
...
Greetings,
I was trying to discover a proper way to send captured errors or business logic exceptions to the client in an Ajax-PHP system. In my case, the browser needs to react differently depending on whether a request was successful or not. However in all the examples I've found, only a simple string is reported back to the browser in...
Everytime I test the email is send correctly. (I have tested in PC: IE6, IE7, IE8, Safari, Firefox, Chrome. MAC: Safari, Firefox, Chrome.)
The _POST done in jquery (javascript). Then when I turn off javascript in my browser nothing happens, because nothing is _POSTed.
Nome: Jon Doe
Empresa: Star
Cargo: Developer
Email: [email protected]...
I'm using the W3 Schools example: http://www.w3schools.com/PHP/php_ajax_database.asp to display a table of database data given the choice from a single select box. How can I modify this to include another select box, say for example I wanted records matching a name and an age?
...
Our first ASP.Net MVC/jQuery product is about to go to QA, and we're looking for a way for our QA guys to easily be able to simulate bad Ajax requests (without modifying the application code).
A typical integration/UI test plan might be:
Load page, click button "DoStuff"
"DoStuff" fails
Attempt button "DoStuff" again
"DoStuff" succe...
Hi,
I am working on a shopping cart(open cart) software and have this question. I am not familiar with mvc framework. What i want to know how to show content(mysql) inside a div when you click on a link. There will be 8-10 links and clicking on each should fetch its corresponding products. So for example
category 1 | category 2 | categ...
I'm having difficulty with Javascript instance variables. I'm trying to make an easy way to refresh the chat page, looking for new messages. The AJAX call supplies a mid, or the lowest message id to be returned. This allows the call to only ask for the most recent messages, instead of all of them.
MessageRefresher.prototype._latest_mid;...
hello
i use of php and jquery in my application
i want when users submit success a form in page1 , forward form page1 to page2 and show a pop-up message(like this site) "success" and when they do not submit success , dont forward and just show pop-up message "error"
how i can implement this process?
thanks?
...
In a JQuery getJSON call, how can I tell the length of the JSON that's returned?
function refreshRoomList() {
$.getJSON('API/list_rooms',
function (rooms) {
if (rooms.length > 0) {
$("#existing-room-list").empty();
$("#join-existing-room").text("Join existing room:"); // th...
I need to set http header for disabling ie (7-8) caching (it disturbs my ajax functionallity).
I've tried inserting this code to the head of my site.master with no result -
<META HTTP-EQUIV="Pragma"
CONTENT="no-cache"> <META
HTTP-EQUIV="Expires" CONTENT="-1">
How and where can I set the HTTP headers?
or do you have a better solutio...
We have an internal ASP.NET MVC application that requires a logon. Log on works great and does what's expected. We have a session expiration of 15 minutes. After sitting on a single page for that period of time, the user has lost the session. If they attempt to refresh the current page or browse to another, they will get a log on page. W...
So i am working on a project and need some advice.
I have a MySQL database that stores events, i know how to code this functionality in PHP but im just stuck of a few specifics.
As the project that I am creating is a timetable, the most important attributes are the day of the event, starting time and finishing time.
Once i have read t...
I have extended a WCF service with new functionality in the form of a second service contract. The service.cs now implements both contracts. I have added another endpoint to expose the new contract operations. Here is my web.config relating to the service
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="Basic...
I have a list of items like this...
<ol>
<li>
<span></span>
<img src="image.png" />
<p>Image Caption</p>
</li>
</ol>
And I want to be able to sort the LI's but not the sub elements, they should just move with their parent.
I am using the jQuery to do that...
$('ol li').sortable({ 'cursor': 'move' });
...