Is it possible to use WCF's CallbackContract or any other "remote eventing" mechanism provided by WCF from an Asp.Net Ajax control/page?
So far all the articles I found treated separately about CallbackContracts and WCF's usage from Asp.Net pages.
Is there any way to make the service's callback reach back to the page that initiated the...
I created a form in a popup div, that contain an UpdatePanel with ImageButtons in it.
Initially, I used LinkButtons to test but I wanted ImageButtons. The thing is, it works well with LinkButtons and not with ImageButtons (absolutely nothing happens).
Checking the source, I see that the javascript call is a little different :
LinkButto...
I have a page setup like so:
<ajax:UpdatePanel id="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:TextBox id="TextBox1" runat="server" AutoPostBack="true"/>
<asp:TextBox id="TextBox2" runat="server" AutoPostBack="true"/>
</ContentTemplate>
</ajax:UpdatePanel>
<asp:TextBox id="TextBox3" runat="s...
Hi,
I have implemented a reorderList in c#.net and everything works fine
The only problem is that i am not able to retrieve the list data source. For this reason i tried to Find the controls for each item in the list without any success.
this is my reorderlist
<ajaxToolkit:ReorderList ID="rlVerticalMenu" runat="server" DragHandleAlign...
I am developing asp.net (3.5) web application for mobile. I am able to find the regularly used asp.net controls for mobile on internet. I also got the link for the basic ajax controls for the mobile (such as required field validator, regular expression validator, validation summary etc) but I am not able to find the any link for the aja...
can any one help me on the query below.
I am making an ajax web service call from java script, the web method returns the custom objet, serialization of the object into JSON format is taken care by the Ajax architecture and am not doing any explicit serialization. most of the times I get response properly as below, this gets deserialized...
I have two textbox in a page each uses ASP.Net Ajax Autocompleteextender control.
asp:TextBox ID="txtLastName" runat="server" CssClass="PlainText"
MaxLength="50"
Ajax:autocompleteextender id="aceLastName" runat="server" targetcontrolid="txtLastName"
servicepath="~/AjaxService/Predictive.svc" servicemethod="GetLastName" minim...
It seems UpdateProgress will be displayed covering the entire area of the UpdatePanel.
I want to replicate this behavior using plain javascript, as this behavior needs to be done for a windows client form.
Are there any javascript libraries available?
Thanks.
EDIT : I am using a Browser control inside windows client form to get resul...
I seem to lose the postback, even if i have AutoPostback="true" and OnSelectedIndexChanged="grid_SelectedIndexChanged". Anyone ever get this to work?
-Romel Evans
...
Hi,
In my aspx file, I have:
<asp:UpdatePanel ID="UpdatePanel3" UpdateMode="Always" runat="server">
<ContentTemplate>
<asp:Button ID="Button1" runat="server" Text="Button" />
</ContentTemplate>
</asp:UpdatePanel>
In javascript file I have:
$('#ctl00_ContentPlaceHolder1_Button1').click(function (e) {
alert('hel...
If I upload a file that is larger than the configs max request length I get a "Server Response Error: Unknown Server Error" alert popup. It asks if I want to see the response page and if I click "OK" an application error window pops up saying "Maximum request length exceeded."
I found this already...
http://stackoverflow.com/questions/...
I'm new to MVC and I'm implementing the Nerd Dinner MVC sample app in MS MVC2. I'm on step 10, "Ajax enabling RSVPs accepts". I've added the new RSVP controller and added the Register action method like so:
public class RSVPController : Controller
{
DinnerRepository dinnerRepository = new DinnerRepository();
//
// AJAX: /Di...
I'm attempting to display a real-time Arrivals/Departures list on an iPad / iPod Touch / iPhone that automatically refreshes every few seconds. ASP.NET AJAX UpdatePanels work fine, but the AJAX Timer never fires in iOS Safari browsers.
Is there a way to get an ASP.NET AJAX Timer to work on iOS devices? Or is there some way I can put a b...
I'm writing a custom class library that contains custom controls (not user controls).
I have some embedded javascript files that need to be registered on the page.
Now since this is a class library, how do I detect whether or not to use a ToolKitScriptManager or ScriptManager?
Page.ClientScript is a ClientScriptManager, but would I do ...
How to do this?
Let say i dropdownlist in update panel and I want to update my URL and update content of that updatepanel
...
Hi,
how can I detect if a request is an AJAX-request (from jQuery) on the server-side of a ASP.net application. I don´t want to do this: mypage.aspx?this_is_ajax=true...
ex.
$.get("mypage.aspx");
On the server side I want to do certain things when the request is a ajax request...
Thanks!
...
Inside the update panel I have update progess I want to set stylesheet inside the updatepanel like following I want to set vertical-align to middle but I it is not work how I can repair this code ?
<asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" runat="Server">
<ContentTemplate>
<asp:Timer ID="Timer1" runat="server...
what is the code below trying to do? I get a script error when debugging a small asp.net website. The browser stops and at the code below and the existance of .facebook. in code makes me Suspicious because i don't have it any where in all my web pages. Am curious as to what the code wants to do because i have no idea where that code exis...
Hello!
I have some javascript file that opens new window with an image:
var lastOpenPictureWindow = null;
function showPicture(url) {
lastOpenPictureWindow = window.open(url, "MISPict", "height=500,width=500");
$addHandler(lastOpenPictureWindow, "load", correctPictureSize);
lastOpenPictureWindow.focus();
}
So $addHandler...
Hi all,
I am working with ASP.NET MVC and have a view page with a simple text box and button to accompany it. I want AJAX to submit the form when the user clicks the search button. The response (search results) will be returned and displayed in a content div on the same page.
I have done this successfully with JQuery, but I need the sa...