Jump to content

vj5

Members
  • Content Count

    199
  • Joined

  • Last visited

Everything posted by vj5

  1. vj5

    highlight link

    I fixed the error. When clicked on the link, it shows the color, then the color goes off. I want the color to be there , ie, changed. I am creating headers and each link is taking the user to a page. For example, if I have blue links, when click on it, it should turn red and stay red so it is understood that I am on that page.
  2. vj5

    highlight link

    You code does only when clicked on the link, it shows the color then it goes off. I want the color to change .
  3. vj5

    highlight link

    Instead of CSS , I gave it in the body of the page. Anyway, I want to change the color of the link when clicked and stay that color. Is it possible to do so?
  4. vj5

    highlight link

    I want to change the color of the link when clicked on it. How do I do it? I tried giving vlink , alink attribute but still it doesn't work. can someone please help?
  5. vj5

    multiple drowpdown list

    I am gettting an error saying onchange is not valid asp.net control.
  6. vj5

    multiple drowpdown list

    Could you give an example of javascript code to write for dd12? where is the second dropdownlist onchange=""?
  7. vj5

    multiple drowpdown list

    something like the one in the link below:http://www.ajaxtopics.com/menu.html
  8. vj5

    multiple drowpdown list

    Physically move when the first dropdown is selected.When second dropdown is selected, the third should move and the first should close the selection.
  9. vj5

    multiple drowpdown list

    I have multiple dropdown list on a page and I want to click the first dropdown and the second dropdown should move down and give way to the first dropdown, when click on second dropdown, the third dropdown should move down and give way tot he second. Is it possible to do like I explained?
  10. vj5

    image control

    I am new to asp.net. I have given the connection string to retrieve data but not sure what to do after that.Will read the tutorial. thanks.
  11. vj5

    image control

    string imagepath = path/to/the/database/tblphonelist() Image1.ImageUrl = imagepath
  12. vj5

    image control

    I am getting a lot of errors of which one of them is :Error 1 'String' is a class type and cannot be used as an expression. What should I do for that error?And also I used the path to the database in imagepath, it gives me error to declare each one of the item...
  13. vj5

    image control

    Where should I write the c# code - in page load?What do you mean by this? - getimagepathfromdatabaseusingthemethodofyourchoice();Can you give an example? what is someImage?
  14. vj5

    image control

    Can someone give me a simplest way to display image in the form stored in the database as path?
  15. vj5

    paging in asp.net

    <form id="form1" runat="server"> <div> <table> <tr> <td style="width: 100px"> FullName</td> <td style="width: 100px"> <asp:TextBox ID="txtfullname" runat="server"></asp:TextBox></td> </tr> <tr> <td style="width: 100px"> Office</td> <td style="width: 100px"> <asp:TextBox ID="txtoffice" runat="server"></asp:TextBox></td> </tr> <tr> <td style="width: 100px"> Department</td> <td style="width: 100px"> <asp:TextBox ID="txtdepartment" runat="server"></asp:TextBox></td> </tr> <tr> <td style="width: 100px"> Special Designation</td> <td style="width: 100px"> <asp:TextBox ID="txtspecial" runat="server"></asp:TextBox></td> </tr> <tr> <td style="width: 100px"> Studio</td> <td style="width: 100px"> <asp:TextBox ID="txtstudio" runat="server"></asp:TextBox></td> </tr> <tr> <td style="width: 100px"> Extension</td> <td style="width: 100px"> <asp:TextBox ID="txtextension" runat="server"></asp:TextBox></td> </tr> <tr> <td style="width: 100px"> Alt Phone</td> <td style="width: 100px"> <asp:TextBox ID="txtaltphone" runat="server"></asp:TextBox></td> </tr> <tr> <td style="width: 100px"> Cell Phone</td> <td style="width: 100px"> <asp:TextBox ID="txtcellphone" runat="server"></asp:TextBox></td> </tr> <tr> <td style="width: 100px"> Fax</td> <td style="width: 100px"> <asp:TextBox ID="txtfax" runat="server"></asp:TextBox></td> </tr> <tr> <td style="width: 100px"> Movecode</td> <td style="width: 100px"> <asp:TextBox ID="txtmovecode" runat="server"></asp:TextBox></td> </tr> <tr> <td style="width: 100px; height: 40px"> Managing Director</td> <td style="width: 100px; height: 40px"> <asp:TextBox ID="txtmanaging" runat="server"></asp:TextBox></td> </tr> <tr> <td style="width: 100px; height: 18px"> Manager</td> <td style="width: 100px; height: 18px"> <asp:TextBox ID="txtmanager" runat="server"></asp:TextBox></td> </tr> <tr> <td style="width: 100px; height: 26px"> Dept Director</td> <td style="width: 100px; height: 26px"> <asp:TextBox ID="txtdeptdirector" runat="server"></asp:TextBox></td> </tr> <tr> <td style="width: 100px; height: 26px"> Title</td> <td style="width: 100px; height: 26px"> <asp:TextBox ID="txttitle" runat="server"></asp:TextBox></td> </tr> </table> </div> </form> I have like 1000 records in the sql server database which I want to show through paging.
  16. vj5

    image control

    I am using aspx file and and it gives error that onchange event is not supported by asp control.
  17. vj5

    image control

    my code: <asp:FileUpload ID="picturefile" runat="server" onchange="onFileSelected(this)"/> <asp:Image ID="Image1" runat="server" /><head><script type="text/javascript"> function onFileSelected(input) { var preview = document.getElementById('<%= Image1.ClientID %>'); if(document.all) { preview.src = input.value; } //IE else { preview.src = 'file:///' + input.value; } //firefox, etc } </script></head>
  18. vj5

    image control

    I fixed that error but still it is not working for me.
  19. vj5

    image control

    Thankyou so much for the taking the trouble to write up a javascript. I am gettting an error "Compiler Error Message: BC30451: Name 'PreviewImage' is not declared.Source Error: Line 9: function onFileSelected(input) {Line 10: [color="#FF0000"]Line 11: var preview = document.getElementById('<%= PreviewImage.ClientID %>');[/color]Line 12: if(document.all) { preview.src = input.value; } //IELine 13: else { preview.src = 'file:///' + input.value; } //firefox, etc
  20. vj5

    paging in asp.net

    That article explains to do with Datagrid. I am not using datagrid control to display the info. I am using a form with textboxes and I want the updating to be done in the same form and that is the reason not using datagrid. Is there any more articles on how to do paging with form fields?
  21. vj5

    paging in asp.net

    I want to do paging in asp.net. I have a form and I want to retrieve information from sql server and display in the form and I want to add paging to that info with arrrow pointing to back, forward, etc. how do I do? Please help. Thanks.
  22. vj5

    image control

    Is there a way to do without uploading the image to the server?
  23. vj5

    image control

    I have an image control on my form and also a file upload control. when i click on the browse button and select a image, that image should appear in the image control. how do i do? please help. thanks.
  24. vj5

    menu link1

    In Error console, this is what I got:Error: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: file:///C:../layout.html :: load :: line 12" data: no]The file is in online server, for some reason, when I run the file, getting an error message, that is why I am running locally.
×
×
  • Create New...