Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:569652
More Search Options
RSS Available
Matching Posts
Re: Validation on Initial Page Load
Thanks for the link. I am able to do the validation on client side at page load. But would prefer to have already triggered the Server side validation before sending the response. There are a large number of controls on the page and I would like to have it prerendered. Any idea why Page.Validate() doesn't work before it is a postback? I have checked Page.Validators.Count and it is 0 on my initital page load. Thanks!
Posted to
Custom Server Controls
(Forum)
by
AndyBuffaloNY
on 11/20/2008
Validation on Initial Page Load
I have a CompositeControl that contains a CustomerValidator. These controls are added dynamically to a Place Holder I have a bunch of these on a page that I would like to validate at page load. I am trying Page.Validate() but for some reason Page.Validators is always 0. It works on postback but not on initial loading of page. I have event tried Page.Validators.Add(validator) but they get cleared out before I am able to execute Page.Validate() Can someone shed some light on this for me. Thanks!
Posted to
Custom Server Controls
(Forum)
by
AndyBuffaloNY
on 11/19/2008
Filed under: Composite Control, Validation
Extend Dom Element
Does MicrosoftAjax have any funcitonality built in to wrap the Dom Element so that we can extend it? I am trying to do something like Sys.UI.DomElement.prototype.ToggleDisplay = function() { Sys.UI.DomElement.setVisible(this, Sys.UI.DomElement.getVisible(this)); } Or something to that effect so I could just do $get('id').ToggleDisplay(); Am I missing something? This seems like an important feature to have included but I am not sure where or if I can do it. Is there an AddMethod() or something
Posted to
ASP.NET AJAX UI
(Forum)
by
AndyBuffaloNY
on 10/14/2008
Filed under: ajax, dom, prototype
Missing attribute too allow design time support
I have a control that contains a collection of myClass myClass contains system types like stings and ints class MyControl { public list<Validator> MyVals } class Validator { public bool Required public string RegEx public string ErrorMessage public string controlID public string blah... } What attribute do I need on my classes and properties to allow me in designer html to do this <cc1:... MyControl id="mycontrol1"> <MyVals> <Validator Required="True" ErrorMessage
Posted to
Custom Server Controls
(Forum)
by
AndyBuffaloNY
on 9/12/2008
Filed under: Control Builder, designer, custom control
Re: Postback with Url Rewriting
I didn't realize that http://urlrewriter.net would handle the other file types as well after forwarding the request. That's handy. Thanks for the Scott G link that is actually where I started playing with this, I just didn't realize that urlrewriter would handle the extra stuff. Thanks again!
Posted to
Configuration and Deployment
(Forum)
by
AndyBuffaloNY
on 6/19/2008
Re: Postback with Url Rewriting
My understanding is that IIS 6.0 checks if the file exists before forwarding the request to .net. So the urlrewriter modules only work if you create the folder structure to replicate what you want to do. And the only way to get around that was to foward * to .net or to do a 404 hack like I am trying. Am I correct in that or no? If not that would be wonderful news :o) And I will implement that asap. Thanks!
Posted to
Configuration and Deployment
(Forum)
by
AndyBuffaloNY
on 6/19/2008
Postback with Url Rewriting
My current set up is IIS 6 with the 404 error being handled by .net framework via url handler override in iis. My url scenario is this I have a folder stucture like this... product/ <COUNTRY> / <STATE> / <TOWN> Where it could be something like product/UnitedStates/NewYork/Buffalo this folder structure doesn't really "exist" other then a template folder stucture that I use to rewrite the path too in order to get CSS and themes to tie up properly. So the folder /United
Posted to
Configuration and Deployment
(Forum)
by
AndyBuffaloNY
on 6/18/2008
Filed under: Postbacks, url Rewriting global.asax, 404, IIS 6.0
Re: How do I know when I should call update code for an UpdatePanel
My issue is that my website works that there is sort of a JS framework that uses S ys.Services.AuthenticationService as well as handles a lot of page state information. In this situation I have an picture upload that first checks if the users is logged in, if not opens modal window for login, the the user can upload a file using the IFRAM technique. Once this file is uploaded and finished I call __doPostBack( "ctl00_ContentPlaceHolder1_updatePanelOnlyRenderMe" , "" ); from JS
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
AndyBuffaloNY
on 5/6/2008
Re: How do I know when I should call update code for an UpdatePanel
I think I was unclear. I used the GridView as an example of something in an Update Panel that might be SQL intensive and would want to be avoided on a Call Back if not needed. I'm not looking for the update panel to know what to update, as much as the update panel knowing it needs to be updated. My page has a bit of cusom JS that handles events (login etc) that then need to trigger certain parts of the page to update. However when I specifically update one update panel (say containing a repeater
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
AndyBuffaloNY
on 5/6/2008
Re: how to upload file in asp.net under ajax
I have seen a couple solutions to this where a user piggy backs off a control that is outside the Update Panel. Put a button outside the update panel and then on the button inside the update panel add to the onclientClick for it to do __doPostabck() on the other control forcing it to do a full post back. If you are looking to do "asynchronous" file upload I would suggest looking into doing an iframe solution there is a nice control built for this on codeproject.com http://www.codeproject
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
AndyBuffaloNY
on 5/6/2008
Page 1 of 4 (33 items) 1
2
3
4
Next >
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online