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:753082
More Search Options
RSS Available
Matching Posts
Re: Why isn't Visual Studio picking up my 'using' statement?
Thanks, but that hasn't made a difference. I've found that in this file, if I intentionally make an error (ie, I can put a line that just has "asfbhdklfg;" on it), the project still builds. It's nearly as if it does want anything to do with the file, but the file is not excluded from the project. Please not that this appears to be happening with any new class file I add, but the one class that is already in there doesn't have the problem.
Posted to
Visual Studio 2008
(Forum)
by
bubblesnout
on 6/25/2009
Why isn't Visual Studio picking up my 'using' statement?
I have the following code, and it builds properly: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using System.Data.Common; using System.Data.SqlClient; public class DatabaseHelper { public static DataTable GetDataTable() { DataTable aDT = new DataTable("Test"); return aDT; } } System.Data is in my references (of course, because it's there by default). But when trying to add it in my using statements, as I've done above, you'll
Posted to
Visual Studio 2008
(Forum)
by
bubblesnout
on 6/24/2009
Filed under: c#, System.Data, using
Re: sending image directly to Printer
What you can do, is create a new aspx page (Call it ImagePrint.aspx or something), that has only an image control on it. In the Page_Load handler for this new page, do something like the following: ImageControl.ImageUrl = Request.Querystring["ImageUrl"]; Also on this new page, have the following in your <head> section: <script type="text/javascript"> window.onload = window.print; </script> Then, for each image on your pages you want to be printed, have it link
Posted to
Client Side Web Development
(Forum)
by
bubblesnout
on 1/12/2009
Re: Batch Inserting / Updating / Deleting
Thanks very much for that. Pretty much what I expected, but that article looks quite nice, so I'll have a read through that and start getting it going.
Posted to
Data Presentation Controls
(Forum)
by
bubblesnout
on 10/28/2008
Batch Inserting / Updating / Deleting
I am developing an application that is using the concept of an entire page being put into edit mode or read-only mode. When in read only mode, no changes should be saved to the database until a big 'Save' button is clicked at the top of the page. A single page I am putting together is based on a Office Network. You have the base details (which are done through a formview) such as Domain Name, Username format, etc. But you can also add any number of Servers underneath. the servers are managed
Posted to
Data Presentation Controls
(Forum)
by
bubblesnout
on 10/27/2008
Re: Custom Server Control collection ViewState
Just FYI, I resolved my issue by removing the inheritance from 'Control' from my BulletedListItem control. I also took out the need for using the 'writer' by using HtmlGenericControls. It's all good now and it's maintaining state across postbacks. thanks for your help.
Posted to
Custom Server Controls
(Forum)
by
bubblesnout
on 9/21/2008
Re: Register Events on Control inside Custom Server Control
I resolved this issue by inheriting IPostBackEventHandler, using HtmlAnchor items, and binding their 'href' value to the javascript to post back and call RaisePostBackEvent. I also then had to move my rendering code from OnInit to CreateChildControls. It's now working fine! For anyone interested, here's my code now: using System; using System.Web.UI; using System.Web.UI.WebControls; using System.Collections; using System.ComponentModel; using System.Web.UI.HtmlControls; namespace
Posted to
Custom Server Controls
(Forum)
by
bubblesnout
on 9/21/2008
Register Events on Control inside Custom Server Control
I have some dynamically generated LinkButtons inside my custom server control. I never know how many there are going to end up being. I need to bind a 'Command' event to these. I understand that this nieeds to be done in the controls 'OnInit' event. I need to also add items to my server control dynamically in a pages codebehind, which will, in turn, dynamically create more linkbuttons. I'm having trouble keeping both these functionalities in one, as the OnInit event of the server
Posted to
Custom Server Controls
(Forum)
by
bubblesnout
on 9/19/2008
Re: Custom Server Control collection ViewState
I understand what you're saying completely, but because I can't nest bulletedlist controls within listitems, I can't use the asp:BulletedList control in my implementation. I will need to code the rendering myself completely. I understand the functionality of the writer entirely, and it is safe to use, because I can make it render the HTML exactly how I want it. I would prefer to use the BulletedList control, but the fact is I can't, because it doesn't provide the functionality
Posted to
Custom Server Controls
(Forum)
by
bubblesnout
on 9/17/2008
Re: Custom Server Control collection ViewState
Thanks for your reply, I don't entirely understand how you're suggesting to do this with the BulletedList control. The main point of my control is to allow for nesting within the listitems, and ListItems (which the asp:BulletedList uses) doesn't allow controls to be added within it, so this would take a lot more work to implement. I don't have a problem with the way it's rendering. It works fine, and I don't think it's necessary to change the way I'm rendering things
Posted to
Custom Server Controls
(Forum)
by
bubblesnout
on 9/16/2008
Page 1 of 24 (238 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online