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
S

SHatchard

@SHatchard
About
Posts
110
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Online Exam Application
    S SHatchard

    ...or he could do his homework himself :)

    ASP.NET question

  • Reusing the configuration classes instance - performance perceptive
    S SHatchard

    You will have, as long as the class is called from a web site you will be able to access httpcontext.current.cache, .request, .response and all that stuff... Give it a try

    ASP.NET csharp html com business xml

  • Reusing the configuration classes instance - performance perceptive
    S SHatchard

    As far as i remember you can access the cache using the httpconext httpcontext.current.cache.add, etc Hope that helps

    ASP.NET csharp html com business xml

  • Problem with session....
    S SHatchard

    Can you post an example of the code you are using to store the details of the current user?

    ASP.NET csharp help asp-net sysadmin question

  • fill dropdownlist in javascript
    S SHatchard

    If you are using .net 2.0 you can achieve this with a control in the ajax control toolkit which can do cascading dropdowns. http://www.asp.net/AJAX/AjaxControlToolkit/Samples/CascadingDropDown/CascadingDropDown.aspx[^]

    ASP.NET help csharp java javascript asp-net

  • Problem in Integer array in VB.net
    S SHatchard

    Your array is not instanciated, try Dim StepNumber() As Integer = new integer() {}

    Visual Basic help csharp data-structures tutorial

  • How to call server side method thru javascript
    S SHatchard

    Sorry, should have mentioned that its part of the ASP.net AJAX framework, i am not sure if its included in any others.

    ASP.NET help tutorial question javascript sysadmin

  • How to call server side method thru javascript
    S SHatchard

    I would look into PageMethods, its an ajax thing which allows you to call server side code from javascript.

    ASP.NET help tutorial question javascript sysadmin

  • how can programmatically post user's data to other web page and get result?
    S SHatchard

    The easiest way would be to look for a web service to do this, but otherwise you will have to use some kind of screen scraping. Do a google search for screen scraping in asp.net and you should find plenty of articles. If you do decide to use web services i have used http://services.aonaware.com/DictService/DictService.asmx[^]

    ASP.NET question csharp asp-net

  • What is Silver Light
    S SHatchard

    Think flash without actionscript, but .net instead... Meaning it can work with existing business logic, etc Really, very cool and I am trying to find a viable business case to use it somewhere :)

    Web Development question adobe announcement

  • [Message Deleted]
    S SHatchard

    Now you have cross-posted in here too, someone is already trying to help you in the ASP.net forum and you posted in VB.net. I would suggest answering the question which was last posed in feedback to your query in the original forum first.

    C#

  • Frame Tag...,
    S SHatchard

    Dont cross post, you already have this same query in the ASP.net forum (which is the better forum for issues like this) with someone there trying to help you.

    Visual Basic help javascript sysadmin

  • drop down with ajax
    S SHatchard

    There is an specific control type in the ajax control toolkit, cascadingdropdown which might be better?

    ASP.NET database announcement

  • Apply style to div tag.
    S SHatchard

    From looking at the code the obvious is that you are not setting the ID property of the panel which you want to show, you are setting TargetPopupId to be 'PopupMenu' but that is the name of the object, not the Id of the control which you want to use, try adding the line PopupMenu.Id = "PopupMenu" It is not the div which you are trying to hide or display on the mouseover but the panel also, the div is just a control within the panel. Really you should set the Id property for all controls you add on the page, especially if they are containers. Also im not sure what the default is but you should perhaps specifty the type of generic html control in the constuctor HtmlGenericControl divtest = new HtmlGenericControl("Div");

    ASP.NET help tutorial

  • Apply style to div tag.
    S SHatchard

    Both sets of code provided as answers will work, and are valid ways of doing it, but you seem to have a specific implementation issue here. Can you please just let me know what the issue is that you are having - does the div show? Is it just missing the style information?

    ASP.NET help tutorial

  • dynamically(randomly) changing images with a given time interval?
    S SHatchard

    As a pointer in the right direction this would need to be using javascript and there are many resources available to help. In fact there are probably hundreds of pre-written code snippets to do this already - take a look at http://www.dynamicdrive.com/[^] more specifically their slideshow area perhaps... http://www.dynamicdrive.com/dynamicindex14/index.html[^]

    Visual Basic csharp asp-net question

  • Apply style to div tag.
    S SHatchard

    If you are adding styles I would suggest using a CSS class rather than explicity adding it in code, it makes it more managable and reusable divtest.attributes.add("class", "myclass") and then define in a CSS file myclass with the attributes you want div.myclass { text-align: right; display: none; overflow: auto; scrollbar-face-color : #ffffff; scrollbar-highlight-color : #000000; scrollbar-3dlight-color : #cccccc; scrollbar-shadow-color : #000000; scrollbar-darkshadow-color : #cccccc; scrollbar-track-color : #cccccc; scrollbar-arrow-color : #000000; } It also means you dont have to recompile if you need to make changes. However, if you do need to apply it directly in code for some reason then i would suggest using the built in style property which can be strongly typed which is always nice, as follows divtest.Style.Add(HtmlTextWriterStyle.TextAlign, "right") or for ones which are not included in the strongly typed list use divtest.Style.Add("scrollbar-face-color", "#000000") Hope that helps

    ASP.NET help tutorial

  • Failed To Access IIS Metabase [modified]
    S SHatchard

    If you arent already try running VS as administrator, can be done by right clicking on the link or shortcut and selecting run as administrator. I know this solved most of the problems i had running the 2005 version of VS under Vista. You could always upgrade to 2008 - Even though its only in beta i have found it to be much more reliable than the existing version of VS - and have had no compatibility issues when converting fairly complex solutions over.

    ASP.NET csharp asp-net windows-admin help question

  • datepart funtion Problem
    S SHatchard

    Theres a little CP article here which has near the bottom a nice concise way of doing this http://www.codeproject.com/useritems/sqlpadding.asp[^]

    Visual Basic help

  • Try Catch inside of functions
    S SHatchard

    The 'function does not return a value on all paths' is happening because you have code like... Try If x=y Then ... Return x End If Catch Return Nothing End Try But if you note if the 'If' clause is not met then nothing will be returned, so you should implement something similar to Try If x=y Then ... Return x Else Return y End If Catch Return Nothing End Try

    Visual Basic data-structures xml help question lounge
  • Login

  • Don't have an account? Register

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