My problem:
I can't get Data Annotations Client Validation to work with a List in my viewdata class.
The skinny:
In my view data class I have a List.
public class FriendsViewData
{
public List<Person> people { get; set; }
}
I have all the properties of the class Person as required using Data Annotations.
public class Person
...
I have an AJAX control project that has a .js file which is configured as an embedded resource.
My main web application references this project, and when I try to load up the control I get this error:
Assembly does not contain a Web resource with name 'MyFile.js'.
Here is my implementation of getScriptReferences:
public IEnumerable ...
I was recently asked to stop using the Ajax Control Toolkit 3.0 in my application and need to go back to 1.0. Luckily I only have one calendar control which I don't believe will be affected by this.
I have removed the reference to the 3.0 .dll and added a reference to the 1.0 .dll.
These are the assemblies in web.config:
<asse...
Hi,
I'm facing an issue with nested masterpages in Asp.net MVC 2.0.
When using a normal master (not nested - below default.master), the login functionality works fine.
Using the nested master, the ajax form post results in a full page render of the default.master inside the UpdateTarget div. Since in this case the referred master is ...
I have a dropdown list on my form with Integer Values set and displaying text. When I run the following code to display the Value and then associated text, I find that the text is displayed in as value when it is not supposed to. Any work around to this please?
function OnddlChanged(dropdown)
{
if( dropdown != null)
{
var selindex ...
Don't know why, but when making the postback for the control to update the ajax updatePanel it actually does the full postback of the page, it works fine on IE however with mozilla it reloads the whole page.
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:Panel ID="userLogin" Visible=false runat=...
Hi Experts,
I need to create an Asp.net Calendar Control with Daily-weekly-Monthly & Yearly view
This Control should Have Some Events , Properties and some Methods as its clear.
This Control should be capable to add tasks ( jobs) and some photos in each day
Also Should have Remainder and should be Full Ajaxable.
So As I'm not familiar ...
I'm really new to the WebControl / CompositeControl world, and I have a small test class I am playing with. It's just a LinkButton that updates when clicked. Things work great when I leave it out of UpdatePanel. But when I try to run it inside I still get a full page POST response. How can I make this class work inside a UpdatePanel?
H...
Hi.
I have a web page, where I'm using a jQuery UI datepicker on an asp.net textbox, which is located inside an UpdatePanel. Here is a description of what I do roughly
<script type="text/javascript">
$(document).ready( function() { $(".datepicker").datepicker(); } );
</script>
<asp:UpdatePanel ... >
...
<asp:TextBox runat=...
I'm using some third-party controls that use an older version of the ASP.NET Ajax library, but also would like to use some features of the newest version of said library. The problem, naturally, becomes dealing with the clashing namespaces. Is there a way to wrap the newer Ajax library in a separate namespace so I could use them independ...
Hello!
I'm working with the treeview and I've seen that I can get the selected node, but when I try to look for it on TreeView I can't find it because TreeView.Nodes only has rootNode. What's happening?
I'm doing this on the same method:
First I get SelectedNode and
then I try to get its index using
TreeView.Nodes.IndexOf(selected...
Hi,
I have two text boxs for time input. I'm trying to compare two time with format : 10:14:23 AM. Then End-TIme must be greater or equal to Start-Time. The ASP.NET CompareValidator doesnt offer the time type, so I'm thinking of using the Customvalidator. I never use Customvalidator to compare the two text boxs for time input before. Ho...
I am working around AJAX for few months now and i see Ajax request as following,
Pass parameters to background page (PHP/ASP/HTML/TXT/XML ... what else can be here?)
Do some processing on server
Get back the results and show to client (HTML/XML/JSON ... what else can be here?)
If there is something else to add on Request lifecycle ...
I downloaded Ajax Control Toolkit and want to add its components to my project. I Used ValidatorCallOut Component as an extender of a Textbox and when user changes focus to another Textbox ValidatorCallOut pops up. but this action will cause the page to refresh. How can I prevent that?
Here is my code:
<%@ Page Language="C#" MasterPage...
Hi,
In my ASPX page I have an Ajax Control toolkit provided 'Auto Complete extended text box' (tried having explicitly stating AutoPostBack="false").
Auto Complete data is fetching data from the Web Service.
And it’s working fine.
But when focus is set in text box and I hit enter it causes a post back.
Other than this 'Auto Complete Ex...
I am working on ASP.NET and not using any ASP.NET's AJAX framework. Now I am trying to update the contents of the textboxes and dropdowns in the Grid controls cell on client side using (classic JavaScript way)AJAX. But problem I am facing is that controls (textbox, dropdown) which I would like to update when rendered on the client side g...
The following code should bind the "value" property of the text box to the string "Test".
Instead the binding expression "{{test}}" is left unparsed as the text box content.
The binding expression within the sibling element is parsed correctly however.
<html>
<head>
<title></title>
<style type="text/css">
.sys-templa...
How to use jQuery to call ASP.NET AJAX Page Method?
...
I'm looking for a good Forum to include in my application.
I find Community Server toouseful but it is notopen source, any Sugesstion will appriciate.
this forum should have an API to extend. and support Unicode
...
Hi all,
I'm using ASP.NET 3.5 web forms, ASP.NET AJAX and ASP.NET AJAX Control Toolkit. I have a series of images, loaded at small size. When I click on it, I want to be displayed as a modal popup at a larger size. I implemented it, the larger image is shown in a panel. It works fine in Mozilla Firefox 3.6, Google Chrome 4 but the modal...