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:721863
More Search Options
RSS Available
Matching Posts
PostBack and AsyncPostback Triggers for Dynamically Created Controls
My project requires adding everything dynamically, to include AJAX elements (even the script manager). Everything works great, except I need to force one item in an update panel to NOT do an AJAX postback, but a full postback instead. In static ASPX page, I would do this by adding a triggers collection and specifying a standard postback for that control. Trying to do the same thing with the dynamic control, but it doesn't seem to cooperate. The dynamic controls are always doing AJAX postbacks
Posted to
Getting Started
(Forum)
by
ataxia1
on 10/1/2009
Re: Problem loading site in IE8
I believe the Marquee command you are using is breaking the page. Try disabling that and see if it runs in IE8.
Posted to
Web Forms
(Forum)
by
ataxia1
on 9/24/2009
Get AJAX postback calling event or control
I've added a javaScript handler that gets called at the end of any async postback. Is there a way to get either the control (or preferably, the event) that caused the postback? The following is the javaScript I'm using to add the post-postback event. It works fine. I just need a way to get the event name. Sys.Application.add_init(appl_init); function appl_init() { var pgRegMgr = Sys.WebForms.PageRequestManager.getInstance(); pgRegMgr.add_endRequest(EndHandler); } function EndHandler() { if
Posted to
Getting Started
(Forum)
by
ataxia1
on 9/24/2009
Re: Get AJAX postback calling event or control
Perfect! Can't thank you enough. Do you happen to know where I can find a reference for all the available methods available on sender and args in the beginRequest and endRequest events? Seems like that could be really useful. PS - Might want to change it to pgRegMgr.add_beginRequest(BeginHandler); for future readers of this post.
Posted to
Getting Started
(Forum)
by
ataxia1
on 9/24/2009
Re: Dynamics AX Query Problem
Learned that firstOnly hints to Dynamics to provide the first(x) records, but doesn't guarantee it. Still looking for a good way to limit the number of records returned.
Posted to
Other Databases
(Forum)
by
ataxia1
on 9/23/2009
Re: .ToString, System.Convert.ToString(), CStr(), CType("", String)
Based on the previous responses, this is what I'm taking away: There isn't a single method that can be used at all times. - If receiving null is not a possibility, use .ToString() - For anything that could return null, such as user, session, or database input, use .ToString() + some sort of null check. - System.Convert is brute force... ok, is that bad? Is .ToString() + null check better? Is there anything wrong with writing a function (as suggested in the last post) that checks for null
Posted to
Getting Started
(Forum)
by
ataxia1
on 9/23/2009
.ToString, System.Convert.ToString(), CStr(), CType("", String)
This is a follow-on question to a previous thread (linked below) but is really an entirely new question. With Option Strict on, everything must explicitly be converted to the correct type. Not a big deal. I started my project by adding .ToString to everything as needed and was in good shape until trying to read a session variable. Discovered that .ToString crashes on a null value. Converted every .ToString in my project to System.Convert.ToString(obj) and all was right with the world... ...until
Posted to
Getting Started
(Forum)
by
ataxia1
on 9/21/2009
Dynamics AX Query Problem
Trying to do a very simply query against a Dynamics database via the Business Connector. SELECT firstOnly * FROM %1 ORDER BY TRANSDATETIME DESC This returns one record, as it should. SELECT firstOnly10 * FROM %1 ORDER BY TRANSDATETIME DESC This does not work and returns every record in the table; it should return only 10 Does Dynamics have an equivalent to SQL's TOP function where you can specify how many records you want back instead of just 1, 10, 100, 1000? Here's the query reference:
Posted to
Other Databases
(Forum)
by
ataxia1
on 9/14/2009
Null value toString = Object Reference error
In researching, I've found several posts that discuss similar issues and pose a few suggestions (some of which are ridiculously complex), but it would be nice to have a simple, definitive answer. SCENARIO: Session("Defined") = "Happy .net" Response.Write Session("Defined").ToString Results in: "Happy .net" Response.Write Session("Not_Yet_Defined").ToString Results in: "Object reference not set..." What is the best way to trap and prevent
Posted to
Getting Started
(Forum)
by
ataxia1
on 9/11/2009
Re: Error Deploying Custom WebPart
Was able to solve this problem by doing a fresh install of SharePoint and the Sharepoint extensions for Visual Studio 2008. Then, used Build > Deploy in Visual Studio instead of trying to compile and deploy manually.
Posted to
Web Parts and Personalization
(Forum)
by
ataxia1
on 8/27/2009
Page 1 of 16 (159 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
Live Preview jQuery Plugin
WindowsClient:
Remember JScript closures capture all variables in scope
TechNet Edge:
UAG reaches RTM
Channel 9:
Who, What, When, Where, Why and How of MIX10
Channel 10:
Berlin Wall in Silverlight
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 2, Installation
Silverlight:
Contributing to the SL HVP
Silverlight:
Best SF Books of All Time
Channel 9:
Reactive Extensions API in depth: Repeat
Channel 9:
Jeffrey Van Gogh: Testing Rx with Pex
Channel 9:
The Visual Studio Documentary: Dan Fernandez Full Length Interview
ASP.NET:
Search Engine Optimization (SEO) Toolkit
Channel 10:
This Is Your Data on Silverlight
ASP.NET:
How the IIS SEO Toolkit Saved My Butt
TechNet Edge:
Windows 7 XP Mode User Experience
ASP.NET:
Using WCF RIA Services without Silverlight in Visual Studio 2010 for building 3 tier ASP.NET Applications
Channel 9:
Ping 41: Top stories of 2009, bing, windows 7, laptop hunters, azure
Channel 9:
endpoint.tv - Windows Server AppFabric in action monitoring and troubleshooting
Channel 10:
Windows Marketplace for Mobile Opens to 6.0, 6.1 Phones
Channel 9:
Rx API in depth: Hot and Cold observables
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online