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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by tondarb

  1. tondarb

    Multiline Tooltip in Mozilla

    Thank you for your suggestion, it is working now
  2. tondarb

    Multiline Tooltip in Mozilla

    I am applying a Tooltip to the menu item. I am using <a href="" title'"XXXXXXXXXXXXXXXXXXXXXXXXXXXX" > It is working in IE and also in Mozilla, but if the text is multiline, in Mozilla it is not wrapping, and it is displaying only little part of the text. How to wrap the Tooltip title text...
  3. tondarb

    Specified argument was out of the range of valid values.

    I solved the problem... Instead of 'AddAt' I used 'Add' this.phInfo.Controls.Add(ptoInstance); no need using 'i' in 'Add' as an argument, as it will always be added to the end of the collection.
  4. tondarb

    Specified argument was out of the range of valid values.

    hi As u said "I think that it's the 'if' within the 'for' loop. You always increment 'i' but you don't always add to the collection. " Yes I don't want to add everytime to the colletion... and it is giving error on on 3rd iteartion... Can u pls tell me logically what to do .....
  5. tondarb

    Specified argument was out of the range of valid values.

    thanks for ur response phInfo is a PlaceHolder inside the for loop it is like this.... ptoInfoData.InfoRow[] infoRow = GetInfoRow(); for (int i=0; i < infoRow.Length; i++) { if (! smInfoId.Contains(infoRow[i].info_id)) { //did some coding here Control ptoInstance =...
  6. tondarb

    Specified argument was out of the range of valid values.

    Hi........ The error is ...System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: index My code is like this......... ptoInfoData.InfoRow[] infoRow = GetInfoRow(); for (int i=0; i < infoRow.Length; i++) { if (...
  7. tondarb

    Problem with a CheckBox when it is false in C#

    Hi I am having a doubt abt a CheckBox in a Repeater Control. When a checkBox is false I am unable to set Attributes.. this is what my code in C# if (rptId == 14) { CheckBox chk = (CheckBox)e.Item.FindControl("chkEP"); chk.Attributes.Add("rptId", reportId.ToString())...
  8. tondarb

    How to add stylesheet using code-behind

    Now this part is working HtmlLink link = new HtmlLink(); link.Attributes.Add("type", "text/css"); link.Attributes.Add("rel", "stylesheet"); link.Href = "../Css/landing.css"; Page.Controls.Add(link); the error is..by mistake I have given like this...
  9. tondarb

    How to add stylesheet using code-behind

    Hi, I am having problem in writing the stylesheet using C# code-behind. I have written a code, but it is not affecting my pages. Can any one please tell me how to write... This is the code <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <link rel="stylesheet"...
  10. tondarb

    escape sequence in C#

    Thank you very much...It is working
  11. tondarb

    escape sequence in C#

    Hi, May be this is an easy thing for you, I am struggling with this as I am a beginner.I am trying to pass "'" to the javascript. Example: "Nina's doll" I must pass this sentence to javascript. I tried like this from C# test=test.Replace("'","\'"); and also like this...
  12. tondarb

    Radiobutton event handling in an Usercontrol

    Thank you very much Jim Now I am able to handle it
  13. tondarb

    Radiobutton event handling in an Usercontrol

    sorry its event radioButton_CheckedChanged
  14. tondarb

    Radiobutton event handling in an Usercontrol

    Hi, I am new to C#. I am just learning. I am struck with a problem. I have created a usercontrol with dynamic table with radiobuttons. Now I don't know how to handle the event radioButton_SelectedIndexChanged. This is a part of my code. Please help me. Table InnerTable=new Table()...
  15. tondarb

    Frame Borders

    border=0 framespacing=0 and frameborder=0 removes borders.

Part and Inventory Search

Back
Top