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
H

Hercules01

@Hercules01
About
Posts
27
Topics
11
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Window Service Startup Mode
    H Hercules01

    hi all, i created a windows service and build a controller to that service, just as the SQL Server Service Manager if any saw it. Anyway the problem is i want to control the startup mode of the windows service (Automatic, Manual, Disabled), in .Net you can specify this in the Service Installer but after that i didn't find a way to change it. Does anyone know a way to change the startup mode of the Windows Service in .Net? i think that i foud a way to do it in win32, but i need it in .Net... thanks for help

    C# help csharp database sql-server sysadmin

  • IP Input Custom Control
    H Hercules01

    hi all, does anyone knows where i can find a TextBox that is specialized in inputing the IP address in its format, i saw may controls for that purpose so i guess there are already ones that are created and i don't want to recreate them again. thanks in advance. Hercules

    C#

  • any changes (by javascript) turn back after postback
    H Hercules01

    i think that in your code behiend or the .aspx file you are filling the Listboxes each time you postback, try to use IsPostBack to fill the Listbox only the first time and not on each postback like this: if ( !IsPostBack ) { fillListBox ( ) ; } if this didn't work post your code.

    ASP.NET javascript sysadmin help

  • The "ESC" character
    H Hercules01

    i ment simply writing a string whith this character as the following: string strTest = "This is a Test\e string" ; the '\e' character should represent an ESC but the compiler doesn't recognize this escape character, any way i found another way which is represnting the ESC as the follwoing: string strTest = "This is a Test\u001B string" ; the '\u001B' match the ESC char. actully u can write the following: char chTest = '\u001B' ; which is totally legal.

    C# csharp tutorial question

  • The "ESC" character
    H Hercules01

    hey guys, i need to check a stirng if it contain the "ESC" character i searched for the representation of this char which was '\e' but when i write this char in the C# code it doesn't recognize it, does anyone knows how to do it?

    C# csharp tutorial question

  • Persisting the ViewState
    H Hercules01

    simply pretty girls won't waste their time on writing such a clever replies

    ASP.NET sysadmin help question

  • Developing a Templated Data-Bound Control
    H Hercules01

    hey all, i read the MSDN article "Developing a Templated Data-Bound Control", the problemis on creating the child controls logic from the ViewState, in the article they create the DataSource from a dummy class that actully has no data!!! i think that they just implemented anything that represent the DataSource that is saved in the ViewState, but in real implementation we have to save the DataSource from the user and reload again in postbacks, is what i am saying true or i'm missing something?!

    ASP.NET question

  • Persisting the ViewState
    H Hercules01

    thx again man ur giving me a gr8 help.

    ASP.NET sysadmin help question

  • Display TreeNodeCollection on a datagrid
    H Hercules01

    Thanks man its working :)

    ASP.NET csharp asp-net

  • Persisting the ViewState
    H Hercules01

    hi all, i'm developing a Data-Bound Control, I was wondering if i have to save the ViewState of the DataSource, i mean what is the danger if i make the server always provide me with the DataSource between PostBacks by saving it in the Session Object so i don't need to send all the Data as a ViewState to the Client Side in each round trip. Does anyone know any drawbacks for this method, maybe like reserving the Server resources or anything, thanks for your help.

    ASP.NET sysadmin help question

  • Display TreeNodeCollection on a datagrid
    H Hercules01

    Guys, we sure all know that the ASP.Net Datagrid should display any datasource wich implement the IList interface, although the TreeNodeCollection implement the IList interface but when you assign the the ASP.Net Datagrid datasource property to a TreeNodeCollection it accept it but throws an exception on the DataBind method "Object reference not set to an instance of an object" though the TreeNodeCollection is valid and full of TreeNode's, can any one please explain this behavior, i tried to add TreeNode's on different Levels but still it throw an exception. I'm interested in this case because i'm developing a Data-Bound Control which will accept a TreeNodeCollection as its DataSource.

    ASP.NET csharp asp-net

  • problem with hiding an HTML Table's Column
    H Hercules01

    hey man, just wanna tell u to check the tag for the table you add it after the tag like this:

    :)

    Web Development help csharp c++ javascript html

  • Why using DataBind ( )?!!!
    H Hercules01

    I’m developing a Data-Bound Web Control and I read all articles about this subject but still I have this problem, I don’t know why do we need the DataBind ( ) function to bind the data to the control, why don’t we do it in the Render function or anywhere else, all what I got from articles that it give the user the ability to specify the time of binding the data to the control but why is that???

    ASP.NET wpf wcf help question

  • How can i add an element from JavaScript?
    H Hercules01

    sorry for such a silly question, seems that i was in rush for answer without even thinking about it, i forgot all about the document.all, anyway what i need now is to have a deep copy for an existing HTML Table that is rendered so i can perform processing at it then replace it with the HTML Table that i alreadt have in the document, remember what i want is a deep copy not just a reference to the table that i already have... thank alot for being patient.

    Web Development question javascript

  • How can i add an element from JavaScript?
    H Hercules01

    hi all, lets say that i created a table dynamically on javascript by this command: var DummyTable = document.createElement ( 'table' ) ; how can i insert (render) this element into the document object or lets say other objects like DIV? please write me the command for this.

    Web Development question javascript

  • how to add scrollbars to asp.net datagrid
    H Hercules01

    i have the same problem but i need the scrollbar Horizintally!

    ASP.NET csharp css asp-net algorithms

  • problem with hiding an HTML Table's Column
    H Hercules01

    it seems a gr8 idea in the begining but when i try it here are the results: 1. the TD doesn't support the "name" attribute, so you can't get the TD's with same name in the getElementByName function as a collection. 2. if you specify the same "id" for the cells of one column and call getElementById this function return the first element with the specified id. anyway thanks for your help and if you hava any suggestions please tell me.

    Web Development help csharp c++ javascript html

  • Save a state of a Custom Object
    H Hercules01

    even this one doesn't work, since its not, its from unmanaged code that is wraped to work with managed code, anyway i think its ok if save it in the Session outside the object and whenever the Control need it again i'll give it to it, isn't this the way that the Normal Datagrid works or i'm wrong? i mean don't u have to assign the Dataset to the Datagrid when u want to handle the sorting event or anyother? if that is true then its normal to save my Custom Dataset outside the Control. thanks again

    ASP.NET help question

  • Save a state of a Custom Object
    H Hercules01

    thanks for this, i wanted to check if there is another way to save the Custom DataSet, the problem is that my DataSet is comes form unmanaged code, anyway thanks again i'll try some other methodology to do this.

    ASP.NET help question

  • Save a state of a Custom Object
    H Hercules01

    thanks for your help, but this way is only available if i want to store the dataset in the page, but what i want is to store it inside the control that i developed, where there is no Session only ViewState and i can't transform my datasource to a strings to save it in the ViewState, thats what i mean: myCustomControl.DataSource = CustomDataSet ; this Custom DataSet has a complex structure and the CustomControl should know how ti fill it self from this Dataset. thats what i mean thanks for any suggestion.:(

    ASP.NET help question
  • Login

  • Don't have an account? Register

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