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:199011
More Search Options
RSS Available
Matching Posts
Re: return 3 values of web service when i use input button VB
Another pattern you could use is to return an array as an object: Return New Object () {id1, id2, id3} This is not very type-safe, but it works well if you are going to pass data to the client-side using javascript. --- Jim ---
Posted to
ASP.NET AJAX Networking and Web Services
(Forum)
by
JimboM
on 11/3/2008
Re: Error accessing webservice - "Error executing child request for handler 'System.Web.UI.Page'"
Clearly this isn't the solution for every possible use, and there are flaws in there (for example, if any of the controls in the UserControl need to raise events, they go unhandled). But for small situations where crunching out information for an AJAX dialog box or for deferred loading of dynamic content, this raises a good pattern that seems to work well. So long as we don't try to get it to do something it wasn't designed for, the planet will continue revolving. I hope. As long as we've
Posted to
ASP.NET AJAX Networking and Web Services
(Forum)
by
JimboM
on 11/3/2008
Re: Error accessing webservice - "Error executing child request for handler 'System.Web.UI.Page'"
CuriousKittu, Try something like this: Dim st As String = String .Empty Using p As New Page(), _ f As New HtmlForm(), _ c As UserControl = p.LoadControl( "~/MyUserControl.ascx" ), _ w As New System.IO.StringWriter p.Controls.Add(f) f.Controls.Add(c) HttpContext.Current.Server.Execute(p, w, False ) st = w.ToString End Using The Using statement will ensure that all four of the objects declared by it are disposed of when execution leaves the scope...important with these strange ways of doing
Posted to
ASP.NET AJAX Networking and Web Services
(Forum)
by
JimboM
on 11/2/2008
Filed under: ajax LoadControl UserControl Server.Execute
Re: Error accessing webservice - "Error executing child request for handler 'System.Web.UI.Page'"
From what I've read going back to earlier this year, ScottGu recommended this as a way of doing deferred loading of content on heavy/slow loading pages. Since learning about this, I've actually gone back and refactored some UserControls to make better use of deferred loading. Why not go for a more traditional AJAX thing? I discovered the jQuery library last month and I've been delighting in removing UpdatePanels. With ViewState overhead and all, some simple means of content loading are
Posted to
ASP.NET AJAX Networking and Web Services
(Forum)
by
JimboM
on 11/2/2008
Re: Error accessing webservice - "Error executing child request for handler 'System.Web.UI.Page'"
[quote user="johnwsaunders3"] Because you can't create a page like this! [/quote] Actually John, this is an approach I've been using for while and it works well (particularly if you remember to call Dispose() on the Page, StringWriter and UserControl). See the following article: http://encosia.com/2008/02/05/boost-aspnet-performance-with-deferred-content-loading/ This can either call a PageMethod or a WebService to pull the HTML back to the client. Unfortunately I don't have
Posted to
ASP.NET AJAX Networking and Web Services
(Forum)
by
JimboM
on 11/2/2008
Filed under: ajax WebService
Re: Membership Provider Encrypted Mode
[quote user="XiaoYong Dai – MSFT"]Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.[/quote] Thanks for the answer, and for closing the message on my behalf! I didn't even have a chance to read it before the thread was marked as answered. I guess that's how one gets tens of thousands of points.
Posted to
Security
(Forum)
by
JimboM
on 4/22/2008
Re: Membership Provider Encrypted Mode
[quote user="XiaoYong Dai – MSFT"]The default implementation in MembershipProvider encrypts the password using <machineKey>'s decryptionKey, but throws an exception if the decryption key is autogenerated[/quote] I've got the decryptionKey set. Membership.Provider.GetPassword requires username and answer. Answer is in the database, but it's encrypted, apparently using the value in the PasswordSalt field. Given the web.config setting says "Encrypted", I need to
Posted to
Security
(Forum)
by
JimboM
on 4/18/2008
Re: Custom Membership Provider - Encryption & Decryption
Curious if this was ever resolved? I'm running into the same thing...
Posted to
Security
(Forum)
by
JimboM
on 4/16/2008
Membership Provider Encrypted Mode
I am trying to utilize the Membership Provider, however my needs are for clear text. I'd like to secure it a little further by using the Encrypted passwordFormat instead. I also want to utilize the recover password option. So here's the rub. When I try to call GetPassword, I need to supply the user's security answer. Since these are stored in the database encrypted, I'm not quite sure how to decrypt the password for a given user on demand. To date I've tried rolling my own Membership
Posted to
Security
(Forum)
by
JimboM
on 4/16/2008
Re: ProfileService.save Not Saving
Hi Kirchi, [quote user="kirchi"] Do you run your web site on local IIS or VS built in web server ? The difference should be the version of IIS. Vista uses IIS 7.0 while Win 2003 - IIS 6.0. [/quote] Short answer: yes! My website is built using IIS7 on Vista. When I ran into problems implementing the ProfileService calls, I tried to break the problem down into a smaller issue by creating a new solution running on the local file system using Cassini. In both scenarios it fails to save the
Posted to
ASP.NET AJAX Networking and Web Services
(Forum)
by
JimboM
on 3/26/2008
Page 1 of 3 (22 items) 1
2
3
Next >
Channel 9:
Channel 9 Live at PDC09: Dr Jeff Norris, NASA
Channel 10:
Flickr Drive Integrates Flickr into Windows Explorer
Channel 10:
Playfire: A Growing Network for Gamers
Channel 10:
Find the Top iPhone Apps with Bing (Yes, Really!)
Channel 10:
Xbox to Become Emergency Alert System
Channel 10:
Progression of the Iconic Background
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Mix Online:
Adventures With Windows Azure Diagnostics
Channel 9:
Channel 9 Live at PDC09: Ray Ozzie
Channel 9:
Coding4Fun: DrinkTendr
Channel 9:
TWC9: Scott Hanselman, John Galloway, Bing, parallel unit tests, more
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online