User Profile

Collapse

Profile Sidebar

Collapse
JohannC
JohannC
Last Activity: Sep 18 '07, 08:41 AM
Joined: Sep 13 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • JohannC
    started a topic Sql Server Double Messages

    Sql Server Double Messages

    Sql Server shows Double messages for my one database.

    example : insert into table (test) values ('test');

    Result = 1 row(s) Affected
    1 row(s) Affected
    See more | Go to post

  • Don't Quite Get Your Question but you can Redirect to another page with the Response.Redire ct("www.google. com"); Funtion....
    See more | Go to post

    Leave a comment:


  • JohannC
    replied to To link a control at Datalist with Javasript
    in .NET
    Hi man , It is true the server side renders the code to HTML and assigns unique id's to it , You can get or set the id by using the Image Button . ID in the server side on the ondatabind method, but try this is easier: in your databind method you must first find the control , so you use
    ImageButton btnImage = (ImageButton) e.item.findcont rol('ImageButto n');

    btnImage.Attrib utes["onclick"]="window.alert( 'hello');";...
    See more | Go to post

    Leave a comment:


  • JohannC
    replied to unicode convertion?
    in .NET
    I Had the Same problem , you can set the document Type by right clicking on your page in .Net and selcting properties, try setting your Page types Encoding to latin or any other extended AScii Format....
    See more | Go to post

    Leave a comment:


  • JohannC
    replied to Remove column borders?
    Hi , The Table , Table Row and Table Cell have a property that you can set just say : <table border=0 id ="mytable" ></table>

    hope you get it...
    See more | Go to post

    Leave a comment:


  • JohannC
    replied to application path for swf file
    in .NET
    Hi there

    you will have to use a <code><object ></object></code>code block , inside the code block you will have a object.you can set the path in the object block but that's about as much as i know about Flash!...
    See more | Go to post

    Leave a comment:


  • Hi chnadeem

    You will need to edit the datagrid so that the you have Normal Bound fields in the first 2 colums and the rest you will have to make template colums. You can edit colums by right clicking the datagrid.

    Remember to check that you bind the data you want to show in the edit fields in the Datagrid.Itemda tabound event.

    Your Next Step would be to see that your ItemCommand event is correct so you...
    See more | Go to post

    Leave a comment:


  • JohannC
    replied to C# code for dynamic text boxes
    in .NET
    Hi There ,

    The Best way would be to read the amount of openings and run it in a for loop.

    in each for loop you can create a textbox by using the TextBox txtbox1= new TextBox and adding the control to a Table by running the table-cell serverside and using the Cell.Controls.A dd( txtbox1) command.

    Hope you get it :)
    See more | Go to post

    Leave a comment:


  • JohannC
    replied to overflow: hidden on table cells
    Where is your TR ?...
    See more | Go to post

    Leave a comment:


  • JohannC
    replied to javascript get and expand
    ok , you shoud call a method on the onclick event then do a
    document.getEle mentByID('TheTh ingYouWantToTog gle').style.vis ibility=visible ; or document.getEle mentByID('TheTh ingYouWantToTog gle').style.vis ibility=hidden;

    I Think you should start with checking to see if you can get a method hooked up to the link....
    See more | Go to post

    Leave a comment:


  • JohannC
    replied to html table Edit and Delete
    What Programming Language are you using ?
    .Net has a Control called a datagrid which will work great for this purpose, but you can do this in html by giving each row an ID and checking which row was clicked , once you know which row was clicked you can get the text out of the Table Cell by Using the Dom Object <------- Google This . You can create a <input type = text > on the onclick and set the text of the newly created textbox...
    See more | Go to post

    Leave a comment:


  • JohannC
    replied to 2 functions on click
    Hi Liam
    You can use The DOM Object To get the Div Tag You need and set the needed attributes in the Div Tag on the ONCLICK Event , both Can Divtags be set in a single method.

    Hope this helps...
    See more | Go to post

    Leave a comment:


  • JohannC
    replied to javascript get and expand
    Use <a>Anchors</a> onclick event you can show the answer by toggling visibility on a div tag. Easy Peasy...
    See more | Go to post

    Leave a comment:


  • JohannC
    replied to can i hide table row
    in .NET
    Hi Reshma

    You can Hide a Table Row by setting the control to server Side ( Editing your TableRow Tag to Runat = Server )
    from there you can set the row's visibility to true or false , or You can do this Client side using the DOM Object to locate your TableRow and Setting the visibility to hidden...
    See more | Go to post

    Leave a comment:


  • JohannC
    replied to dependent dropdownlist
    in .NET
    Hi Joe

    In a datagrid you can set the dropdownlist event to fire in the databind event of the datagrid just like the designer sets up the events : this.Button1.Cl ick += new System.EventHan dler(this.Butto n1_Click);
    You would just set the selectedindex.c hange event for the drop down list instead.

    So drop down list 1 would affect dropdown 2 in the old fashion way.

    you can find the drop down in the...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...