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:711754
More Search Options
RSS Available
Matching Posts
Re: Problem with Converting Object To Int
[quote user="mehryad"]Your method is very inefficient; You should never pass an object to a method;[/quote] For curiosities sake could you explain this statement? How could the efficiency be improved, and why never pass an object to a method? Passing an object to a method in >= .NET2.0 passes by reference, soooo how is that inefficient? I must be missing the point...
Posted to
Getting Started
(Forum)
by
whatispunk
on 12/1/2009
Re: Question on GetElementByID
Try InnerHTML instead of InnerText.
Posted to
Client Side Web Development
(Forum)
by
whatispunk
on 12/1/2009
Re: Casting control to AjaxControlToolkit.CalendarExtender without an aspx page
Please mark my post as the Answer. By marking my post as the answer I accrue points. And since I did the leg work, it seems only fair. Thanks!
Posted to
ASP.NET AJAX UI
(Forum)
by
whatispunk
on 12/1/2009
Re: Question on GetElementByID
If you view the page source can you verify that the TD and TRs are being named as you expect? If your table is being generated on the server side by some control, or simply has runat=server specified, then the IDs might be getting "unique-ified" by the ASP.NET runtime. Also, where is ChargeNum coming from? You don't show where it gets set, so for all we know that is what's causing the null reference.
Posted to
Client Side Web Development
(Forum)
by
whatispunk
on 12/1/2009
Re: Question on GetElementByID
Well, this is a small gripe but... in your original post you use .InnerText and above you said you tried InnerText, innerHTML, InnerHTML, and value but you didn't mention .innerText (lowercase 'i'). Don't you love case sensitivity?!
Posted to
Client Side Web Development
(Forum)
by
whatispunk
on 12/1/2009
Re: Casting control to AjaxControlToolkit.CalendarExtender without an aspx page
Thanks, this explains a lot. I've never loaded an assembly this way before so I spent some time investigating. First of all, some of your comments above are misguided. System.Web.Extensions is not the AjaxControlToolkit itself but rather it is the namespace of the Microsoft AJAX components (which the toolkit is dependent/built on). The <add namespace="AjaxControlToolkit" ... /> that you have in the <pages><controls> section is allowing you to work with the toolkit
Posted to
ASP.NET AJAX UI
(Forum)
by
whatispunk
on 12/1/2009
Re: Casting control to AjaxControlToolkit.CalendarExtender without an aspx page
If you have a reference to the AjaxControlToolkit assembly (the dll) either via "Add Reference..." or by manually copying to your bin folder, then I don't see any reason why you couldn't do this. Is your "code only page" in the Web Site/App project or is it in its own Class Library project? If the latter is true then you need a reference to the AjaxControlToolkit assembly in that project too.
Posted to
ASP.NET AJAX UI
(Forum)
by
whatispunk
on 11/30/2009
Re: 'Build failed' but no errors?
You need to consult the Output window for more information. View > Output or Ctrl+Alt+O
Posted to
Configuration and Deployment
(Forum)
by
whatispunk
on 11/30/2009
Re: Generic OnTextChange not working...
Make sure you are not Binding the FormView before this event gets fired. This would cause the state all of your controls to revert back to their original values from the data source. Edit: I see you found the problem. This is a common problem with DataBinding. You have to be careful with calls to Bind(), especially in the Page_Load (or any other Page event), and wrap them in If Not IsPostback.
Posted to
Web Forms
(Forum)
by
whatispunk
on 11/30/2009
Re: Casting control to AjaxControlToolkit.CalendarExtender without an aspx page
Didn't quite follow your reply. The toolkit dll is currently sitting where? It should be in the "bin" folder, and nowhere else. The class file that is trying to reference it, being in the App_Code, should be fine. Its been a while since I worked with a Web Site project, I always use Web Application Projects, not sure how the dynamic compilation of the App_Code folder affects references to dlls.
Posted to
ASP.NET AJAX UI
(Forum)
by
whatispunk
on 11/30/2009
Page 1 of 84 (833 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
PDC09: ASP.NET MVC 2: Ninjas Still on Fire Black Belt Tips
ASP.NET:
Hanselminutes Podcast 188: ASP.NET MVC 2 Beta with Phil Haack
ASP.NET:
Hanselminutes Podcast 186: .NET Debugging 101 with Tess Ferrandez
TechNet Edge:
WinRE and free stuff with Sean Kearney
WindowsClient:
XslCompiledTransform and large template elements
WindowsClient:
The Future of Client App Dev : WPF and Silverlight Convergence
Channel 9:
PDC09 GeekFest Party
Channel 10:
How to Use "Play to" and "Remote Media Streaming" in Windows 7
Channel 9:
The Visual Studio Documentary: Jeff Hadfield Full Length Interview
TechNet Edge:
Managing Your Entire World - Tech Focus November 2009 Part 3
Channel 9:
The Access Show: Managing Access Databases with SharePoint
Channel 10:
Show Us Your Tech - Mark Pendergrast Edition
TechNet Edge:
Mark Russinovich interview at TechEd EMEA 09
TechNet Edge:
IT Manager Podcast #31: Talking About Virtualization
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 1: Introduction
WindowsClient:
MSXML XHTML DTDs - making the web better
TechNet Edge:
How it works: Active Directory Rights Management Services
Channel 9:
Inside Windows 7: Recovering Windows from System Degradation and Boot Failures
Channel 10:
Ebay Launches IE8 Webslice for Holiday Shopping
Channel 10:
New Windows Smartphone Includes Built-in PowerPoint Projector
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online