Since i havn't access to the TemplateControl or page from a WCF service i was wondering if it was possible to render a custom control? If so how would one do it?
private string GetRenderedHtmlFrom(Control control)
{
StringBuilder stringBuilder = new StringBuilder();
StringWriter sw = new System.IO.StringWriter(stringB...
What is the right way to set a value on the client side, through JavaScript, in the ASP.NET AJAX CascadingDropDown extender?
There is a partial answer at http://stackoverflow.com/questions/116564/how-do-you-reset-asp-net-ajax-cascading-dropdown-control-client-side, but it only involves resetting the controls, not actually setting a valu...
The MaskedEditExtender does a good job of enforcing the rules, but my users have trouble typing into its TextBox.
I want to select all the contents of my TextBox when it gains focus.
A regular JavaScript solution does not work.
onfocus="javascript:this.select();"
The MaskedEditExtender interferes.
How can I select all the contents ...
I need to scrape query results from an .aspx web page.
http://legistar.council.nyc.gov/Legislation.aspx
The url is static, so how do I submit a query to this page and get the results? Assume we need to select "all years" and "all types" from the respective dropdown menus.
Somebody out there must know how to do this.
...
work on VS05 C# in web.
I am adding a CalendarExtender to a page, using the default styles. When I click the calendar button to trigger the calendar popup, the calendar displays normally.Under the button event i save this calendar value on database.After this event CalendarExtender does not work show ERROR ON PAGE on web form status bar...
Hi,
I'm getting some js errors only for some users, and only every once in a while on a page that uses quite a bit of ASP.NET AJAX.
The page also does some intense SQL querying and some string manipulation to highlight text found in the search results.
Could this be a result of performance? Is it always safe to use ASP.NET AJAX in de...
Hi there
I'm not sure if my issue is more general or only xVal specific.
At the moment I have a form with an undefined list of partial forms Something like this. There I load a partial form with Ajax, with xVal I attach also a validator.
My problem now is that the rendered form is not validated until a postback.
Is there any possibil...
How can I change ASP.NETAJAX ModalPopupExtender z-index. By default it is 100001.
Thanks.
...
So i'm implementing a feature where after a user has visited my site, and not signed in and not registered for over two minutes, an alert pops up and asks them to take a survey.
I agree, annoying, but it's a business requirement.
I thought about doing a Session Object, and then in the page_load of the header (since it's on every page) ...
Sometimes my ajax request is so fast that the user does not realize a ajax call was made. So I would like to force the UpdateProgress control to display for a minimum about of time, even if the ajax request has finsihed.
For example:
John browses the site and the ajax call takes 2 seconds to complete. I only want the UpdateProgress con...
FYI, this is a copy paste from my post on the Infragistics forums, see http://community.infragistics.com/forums/t/32458.aspx
No answer from them yet so I thought I'd drop this one down on the stackoverflow peeps.
Here's what I'm running:
ASP.NET 2.0 AJAX Extensions 1.0 web application
Infragistics2.WebUI.UltraWebGrid.v7.3, Version=7....
I am trying to create a simple ajax grid that allows me to add and remove rows and also edit some of the columns and have others columns calculated directly based on the input in the others. I thought this would be a nice oppurtunity to play with asp.net ajax 4.0 and the client templates. It works pretty ok but I can't seem to find a way...
When we have a .js file which we reference from a View page and then have URLs in callback in JS file we run into problems with urls not being resolved when running site either on VS 2008 integrated webserver or on IIS7.
For example, we have this piece of code in JS file
pending.createCallback(pending.webRoot + "../../WidgetZone...
Here's an odd Firefox behavior. I have developed a simple application in .Net 3.5. I am using firefox 3.5.3 and so is my colleague. On one of the pages, I have a simple partial postback that hides one panel and displays another. When I click the link, the application behaves as intended, but when my co-worker does it, firefox opens a new...
Hi folks
I'm working with an UpdatePanel that I'd like to refresh programmatically on the server side. The reason is I display some data that takes a pretty long time to load, so I need to display the page and some sort of progress meanwhile.
What I did is the following, on a page with one UpdatePanel and one ScriptManager:
protected ...
I am using an html <select> (not the server control) on my asp.net webform, which I bound using asp.net ajax via a webservice call. In my webservice I basically do this:
Private Function GetStores() As String
dim stores as DataTable = GetStores()
dim html as new StringBuilder
for each row as DataRow in stores.Rows
html.append(...
I am doing something wrong and I can not figure out where...
I have this in my view - CreateForm.aspx
<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage" %>
<%= this.Ajax.ActionLink("Create New", "CreateForm", new { nr=ViewData["Nr"]??0 }, new AjaxOptions { UpdateTargetId = "panel" + (String.IsNullOrEmpty((stri...
On a rather complicated screen with a big updatepanel, I'm running into the following problem:
If a user clicks on a certain button 6 or 7 times really fast, it seems to eventually process the last request out of turn and problems occur. Specifically, there's an xml document in session state, and it gets out of sync.
What I really wan...
I am tryng to use this: http://jqueryui.com/demos/dialog/#modal-form
I have:
<script type="text/javascript">
$(document).ready(function() {
$("#dialog").dialog();
$("#dialog").dialog('close');
$('.myPop').click(function() {
$("#dialog").dialog('open');
});
});
Which allows me to pop-up o...
In doing an autorefresh by putting the following code,i assumed that when i do a post the model will automatically sent to the controller ,
$.ajax({
url: '<%=Url.Action("ModelPage")%>',
type: "POST",
//data: ??????
success: function(result) {
...