Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

RX Maverick

@RX Maverick
About
Posts
42
Topics
31
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Image JPG Handler
    R RX Maverick

    I would like to make a HttpHandler that looks for querystring and edits the image (let's say jpg) as specified. I can do all this and it works great. My issue is since every JPG is being sent to the handler what do I do if I want it to not do anything? I tried to Server.Transfer to the requested image when the querystring is 0 but that basically makes a loop. I figure I can have the handler read the file image then save it to the output stream with no edits but I don't want the server doing the extra work for nothing. Is there and easy way to do this? Is to a lot of extra work for the server to read and dispose rather than just hand the file over? Is there a better way to write the Web.config (currently I have modified on Sunday, October 5, 2008 12:19 PM

    ASP.NET sysadmin help question

  • IE and setTimeout...
    R RX Maverick

    setTimeout works great in Firefox, but I can't get IE to pass more than one argument. Does anyone know a trick?

    Web Development question

  • ASP.NET/HTML/IIS Question
    R RX Maverick

    I have an odd issue and I'm hoping there is a way to do what I want. I'd like to have any HTML (.html and .htm) files go through a templating process first. So if a user tries to go to http://test/test.htm the server gives them the file that's been processed and had a template applied (default.master). I want this to only work on one of the sites in IIS not all of them. I was trying to work with the 404 error redirects but since the file is there that won't work. Basically when the server sees a .htm or .html I want it to redirect to TEST.aspx with the old path and name as part of the URL querrystring. The TEST.aspx will read the old file and remove everything before and after the body tags. Then put the remainder in between the Content tags of the aspx file which will let ASP.NET 2.0 process it and add the master page. I think I explained this well, if not please ask questions. Thanks

    ASP.NET help csharp html asp-net sysadmin

  • Image Resize and Crop, am I on the right track?
    R RX Maverick

    I'm not sure that's an appropriate title but I can't think of a better one. So far I have the image resizing with the line: imageBmp = New Bitmap(imageBmp, New Size(imageWidth, imageHeight)) To me that feels sloppy, and so far I can't figure out a nice way to make a single like way to crop, and if I do I feel it will be just as bad. Am I on the wrong track? Am I just over worrying about something simple that won't save/waste processor time/power? Would it be better for me to do both at once (resize and crop) by making a second image and using DrawImage like in the code below (currently it just crops)? imageNew As Bitmap = new Bitmap(Width, Height) imageNewGraphic As Graphics = Graphics.FromImage(imageNew) imageNewGraphic.DrawImage(imgBmp, new Rectangle(0, 0, Width, Height), X, Y, Width, Height, GraphicsUnit.Pixel) I think I explained this well, I know there are other codes out there I could copy and I know that I'm reinventing the wheel, but I find I learn better this way. I'm very know to VB.NET but have had other programing training. Also this will be output to the web via ASP.NET using imageBmp.Save(Response.OutputStream, I don't believe that matters but I wanted to mention it anyway. Thanks for any help provided.

    Visual Basic graphics csharp asp-net help

  • What language/technology should I use?
    R RX Maverick

    I have a really fancy (at least to me) effect I want to use, I'm not sure where to start, what to use, or even if it's even possible. Any help would be great, I mostly need a push in the right direction. The final result I'd like it a Bubble (crystal ball, something like that) with text in it. As the users scrolls (scroll wheel enabled) I want the text to fade in from the bottom then fade out at the top. I don't want a normal fade though, I want it to expand/shrink also so it stays with the curve of the bubble. I would also like it to be HTML compatible so I can have links, pictures, headers, etc. I want the HTML used in the bubble to be changeable on the fly so I can have AJAX update the text as links are clicked. The height/width needs to be scalable so it fills the area no mater what size the browser is. Lastly I want it cross-browser compatible. I think that's it, I know I'm looking for a lot, but as I said I'm just looking for a direction to start in. Currently I'm pretty good in ASP.NET with VB.NET, PHP, Javascript, ASP, CSS, and HTML (duh). I'm thinking the best fix for my problem is Java or Flash, but I'm hoping to stay with what I know. Thanks for any help given, Nick

    Web Development help csharp java javascript php

  • Using a .reg file to add a Trusted site in IE
    R RX Maverick

    I'd like to add a trusted site to a bunch of computers. Is there a registry key I can adjust or add using a .reg file?

    Windows Forms windows-admin question

  • ColdFusion
    R RX Maverick

    I'm looking for a plug-in for Visual Studio 2005 that lets the system recognize ColdFusion? Kinda like VS.Php. Thanks for the help.

    Visual Studio visual-studio csharp php com help

  • The AE (198) character
    R RX Maverick

    I have a text file with the AE character in it when I try to read it with File.ReadAllText it does not read the character (it just removes it). I have tried File.ReadAllBytes(PATH/FILENAME.txt).replace(chr(198),"AE") and a couple other Replace ideas and so far nothing has worked. The only method I have found that works is: Bytes = File.ReadAllBytes("PATH/FILENAME.txt") For i = 0 To Bytes.Length - 1 TextFile += Chr(Bytes(i)) Next This is horribly inefficient but does work... Any better ideas?

    Visual Basic question

  • DataList and Border-Collapse
    R RX Maverick

    Ok, maybe third times a charm. I've posted about this problem before and thought I had an answer but it doesn't work for what I want. Is there anyway to programmatically I can remove the style Border-Collapse:Collapse before the table gets built and sent to the browser? Can I make a Sub that's called by the OnLoad of the DataList or some other On____? I was using javascript that ran on load but it's ugly and inefficient (also with the AJAX I'm using it doesnt always run) EX: document.getElementById('Calendar_DataList1').style.borderCollapse=''; Thanks for any help

    ASP.NET help javascript question

  • DataList and border-collapse
    R RX Maverick

    Thanks, I've played with all the spacing and cell properties but none just remove the collapse (normally they added extra space I didn't want). Thanks for the javascript correction, I hate when javascript and CSS use different property names.

    ASP.NET question html csharp javascript asp-net

  • DataList and border-collapse
    R RX Maverick

    I am using a datalist to easily display my data in 7 columns, but I can't seem to get the alignment correct. After a few tries i opened up the HTML and found border-collapse:collapse in the table's style. I used IE7s DevToolBar DOM viewer to remove it on the fly and everything looks and works great. So now my question is how do I get ASP.NET not to add it? I have tried using a CssClass, but the class option gets overwrote by the inline one. I also have tried to remove it after the fact with a little JavaScript (document.GetElementByID("elementID").style="" or document.GetElementByID("elementID").style.border-collapse="") both don't work. Thanks for any help.

    ASP.NET question html csharp javascript asp-net

  • DataList and Border-Collapse
    R RX Maverick

    I am using a datalist to easily display my data in 7 columns, but I can't seem to get the alignment correct. After a few tries i opened up the HTML and found border-collapse:collapse in the table's style. I used IE7s DevToolBar DOM viewer to remove it on the fly and everything looks and works great. So now my question is how do I get ASP.NET not to add it? I have tried using a CssClass, but the class option gets overwrote by the inline one. Thanks for any help.

    ASP.NET question html csharp asp-net help

  • AJAX and the Calendar control
    R RX Maverick

    I just posted this on an earlier thread I had but since it's a week old I don't think anyone will see or answer it. I am working with the calendar control and AJAX. Currently I am at a stand still in my pursuit to work smarter not harder. I don't want to make my own calendar control, but the ASP.NET control wants to use a form but since my main page already has a form tag it errors out being a form inside a form. Is there anyway to set the calendar control not to use postback so that it doesn't have to use the form? Should I just make my own calendar?

    ASP.NET csharp asp-net question

  • Customize the Calendar Control
    R RX Maverick

    That's a great article with a lot of good information but now I have a second problem. I would like to use this with AJAX but in doing so I can't have it in a form element. I understand it wants the for element to handle the postbacks and such but I don't need that all I need is regular links. So can I tell the calendar to not use postback/forms or should I just make my own system?

    ASP.NET question csharp asp-net database

  • Customize the Calendar Control
    R RX Maverick

    I have a database full of dates and events for a calendar. I can (and have, using ASP) created my own code to create and fill out a Calendar. Before I review my code and rewrite it using ASP.NET/VB.NET I want to make sure I can't use the Calendar control already provided. I need to have two views for this, the first looks like the basic calendar control but with a color code for repeating dates. Like say the Jan. 12th is Martin Luther King Jr. Day, I would like it's background yellow (basically have style="background-color:yellow" in the TD tag). The second need I have is to have a big calendar with actual text in the box, so on the 12th the text "Martin Luther King Jr. Day" would be in the box with the date. So the basic question is: Is there anyway to programmatically access the individual date cells?

    ASP.NET question csharp asp-net database

  • ASP.NET 2.0 and AJAX
    R RX Maverick

    What's the best way to use ASP.NET 2.0 and AJAX? I know there is ASP.NET AJAX but I have uninstalled it after trying it, I like hand coding mine better. My current environment is ASP.NET 2.0 with code in separate files all code is VB.NET, I'm using a master page to build a frame and I have a group of web controls created. I have my AJAX calling an aspx file, what I'm doing so far is working, but Visual Studio seems unhappy that my AJAX aspx file have no html, head, body or forms tags. Also, I'd like to make most of my controls AJAX enabled (and VS doesn't expect to see the html, head, etc. tags) but I can't directly access them (because they're .ascx files). So the answers I'm looking for are, should I just continue on using .aspx files (and ignore errors), is there a better/more correct way to generate content to feed to JavaScript, is there a file extension that I can use as a web control or for AJAX as needed? Thanks for any information you can provide.

    ASP.NET csharp visual-studio javascript html

  • Register a DLL (SolPartWebMenu)
    R RX Maverick

    I have <%@ Register TagPrefix="spm" Namespace="SolpartWebControls" Assembly="SolpartWebControls" %> and In my Bin folder is the SolpartWebControls.dll that this is referring to. It all works great but I have a red line under solpartmenu and says "Element 'solpartmenu' is not a known element. This can occur if there is a compilation error in the Web site." and if I go to Design view I get "Error Rendering Control - PageTable An unhandled exception has occurred. Request is not available in this context". I normally wouldn't care but this is on a master page so all pages using is can't be viewed in design mode. I have very basic users that will be creating the other pages and if they can't use Design more then they can't create their pages. Any help would be great, thanks.

    ASP.NET help design

  • asp:Table vs. an HTML table
    R RX Maverick

    The CSS issues aren't that big of deal but why can I edit my cell contents in design view?

    ASP.NET html css visual-studio design help

  • asp:Table vs. an HTML table
    R RX Maverick

    What the advantages of one over the other when I'm programing a page? I understand that when the page is run it will change all the asp:Table, asp:TableRow, and asp:TableCell into their HTML counterparts so why not just use the counter parts? I understand most of the other asp:components and why they are better but I can't find a reason for asp:Table. So far I've noticed: I can't use Height and Width on the CSS versions I can't edit my cell contents in Design View I can't set a background image on the fly (I currently am using a CSS file but it seems a waste since all it has in it is repeating backgrounds and each class is only used once) Please tell me what I'm missing, what advantages I could gain, or if I should just start using the basic HTML table. Thanks for any help.

    ASP.NET html css visual-studio design help

  • LINK Tag and CSS
    R RX Maverick

    I'm going crazy here, I have my file (default.htm) in the root with a link tag: and it's working. I want my stuff to be organized so I moved the News.css into a CSS folder and changed href to "CSS/News.css". Now it doesnt load the css file. I also tried different names for the sub-directory and putting a slash and dot slash in front of CSS (e.g. /CSS/News.css and ./CSS/News.css). The only thing can get to work is if it's in the same directory. Why? What am I doing wrong? Am I crazy? Post if you need any more information.

    Web Development css question announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups