Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: nooro
  • Order by date
  1. nooro

    How to Import namespace in Visual Studio .Net

    .aspx.resx is a resource file, which allows you to hold resources for the page - this can be anything from string tables to image data etc (mime types are a field). Incredibly usefully, this stuff can hold data localized for particular culture options. System.Resources and the ResourceManager...
  2. nooro

    System.Drawing.Color NameSpace question....

    yep, int red = Convert.ToInt32("FF", 16); int blue = Convert.ToInt32("FF", 16); int green = Convert.ToInt32("FF", 16); System.Drawing.Color.FromArgb(red, blue, green); I think. The 16 value is the base from which to convert the string value. In this case, obv 16...
  3. nooro

    DataList / DataListItem question

    I'm having trouble replicating this code for a DataList object (as opposed to a DataGrid). (where groupRecipients is a DataGrid object) string arbitraryStringValue = String.Empty; foreach (DataGridItem row in groupRecipients.Items) { arbitraryStringValue = row.Cells[3].Text; } The variable...
  4. nooro

    user web control assembly problem

    Hopefully someone can help me! To facilitate implementation of a 'globalised' site (language-enabled), we're holding string resources in resx resource files which are compiled to a satellite dll. On page so far, we've had to do a very manual mapping within code from a ResourceManager object...
  5. nooro

    asp.net deployment / working practices

    A quick question about best working practices when deploying, and maintaining an asp.net site. If you compile all your code client side, using vs.net. Assuming a large site, I would imagine your 'site dll' (does anyone know the correct terminology for this?) is going to be a large file of the...
  6. nooro

    codebehind html / code seperation

    OK - if anyone's interested, I believe it to be practically impossible to do what I needed with vs.net. It just doesn't want you to work like that. Current thinking for our project is to relent and use the Globalization (sic :p) namespace. Only problem I can see is that, because of the nature...
  7. nooro

    Accessing DataGrid ItemStyle BackColor Property

    You can use the Color.FromArgb(int, int, int) static method, to return a Color object representing the colour you require. And just because I found it helpful, the Convert.ToString and Convert.ToInt32 (iirc) methods can take optional bases to convert to (for dec to hex conversion) which you...
  8. nooro

    codebehind html / code seperation

    Thanks for all your comments, I'll certainly take a look at that link dragonwell. I've a fair bit of reading ahead of me today! After which I will return and decide exactly how I'm going to proceed ^_^
  9. nooro

    codebehind html / code seperation

    It's basically to facilitate language enabling the site. I wanted to have a directory of english aspx pages, a directory of german aspx pages etc, with common code driving each language site. This was my own way of doing it, and it works a treat if you use src="../code/index.aspx.cs&quot...
  10. nooro

    codebehind html / code seperation

    As far as I understand it, yes. You only need to actually deploy onto your production server, the aspx and dll files. But in order to arrive at the point where I have a working dll, I need vs.net to be able to see aspx / aspx.cs files in seperate directories as a single entity. Basically, to be...
  11. nooro

    codebehind html / code seperation

    further to this, the directive : <%@ Page language=&quot;c#&quot; Codebehind=&quot;WebForm1.aspx.cs&quot; AutoEventWireup=&quot;false&quot; Inherits=&quot;WebApplication5.WebForm1&quot; %> works from within WebForm1.aspx and WebForm2.aspx if WebForm1.aspx.cs is in the same directory, but if I...
  12. nooro

    codebehind html / code seperation

    I have a quick question. When I've seperated my aspx and aspx.cs files in an asp.net application till now, I've used the Src attribute of the page directive to point the aspx to the application code held within the .cs file. (to be compiled dynamically server side). This has worked fine for me...
  13. nooro

    print pdf from asp.net

    Thanks for the reply, however : At the point of calling the Start method, the pdf will definately be stored on disk. Also, I've knocked up a quick c# console app, with the exact same line of code, which works fine (it executes in my current user context). I can get as far as putting a job in...
  14. nooro

    print pdf from asp.net

    I'm having terrible trouble printing pdf files from asp.net. I think I've got it most of the way, using the System.Diagnostics.Process class to call on acrord32.exe with the relevant parameters to print the file. The only trouble I seem to be having is, when I make the call, I get a file not...
  15. nooro

    asp.net namespace problems

    I know I'm just failing to grasp the concept of all this. I think I know what's wrong, but I can't seem to fix the problems I'm having. Can anyone point me in the right direction?? I'm trying to pass values between asp.net pages and running into all sorts of troubles. My code is generally (to...
  16. nooro

    mail font

    I'm sending mail from an asp.net (c#) page using System.Web.Mail and need to set the font to something other than the default. Can't see a way to do this short of declaring the type of the mail as html and insert <font> tags into the body of the message, which I'm reluctant to do. Does anyone...
  17. nooro

    SqlConnection Object

    Something I was musing over while writing some code. It's not important in the grand scheme, just would help me strip out a single line of code from a few apps ^_^ I have an openDBConnection() function I can call on, creates an SqlConnection, populates the object with my connection string etc...
  18. nooro

    application_beginrequest

    I want to define an application_beginrequest function within a common include file, which I can then call from each of my aspx pages to log various request variables. However, I'm having trouble simply understanding what is the best way to go about this. I've tried defining it within an ascx...
  19. nooro

    really stupid excel labels quesion :)

    I have a few vb Labels on an excel worksheet that are set to be backStyle = 0 (transparent). I want to use them as exactly that, a label. Problem is, when I click on the label, it becomes opaque and shows the backColour through until I move my cursor away. Am I doing something stupid? Is it too...

Part and Inventory Search

Back
Top