Jump to content

Bhushan

Members
  • Posts

    48
  • Joined

  • Last visited

Everything posted by Bhushan

  1. Hi All,I am populating datagrid from my database. I have 3 columns in my datagrid. First is editableCommandColumn, second is my primary key field column and third one is description column.Description contains 3 fields. So I have made use of template column and have used html table to place those 3 fields in 3 rows.But this field should be editable when I click the edit button. But hw can i make use of EditItemTemplate in table?..I tried to place this iside but gives error.Please see the below piece of code.<asp:TemplateColumn HeaderText="GIMS Details"> <ItemTemplate> <table border="1" width="450"> <tr> <td width="18%"> Description </td> <td> <%# DataBinder.Eval(Container.DataItem,"Description")%> </td> </tr> </ItemTemplate></asp:TemplateColumn>Hoe can i make this field editable by placing a text box with mode="multiline". Please let me know.
  2. Hi All,I am populating datagrid from my database. I have 3 columns in my datagrid. First is editableCommandColumn, second is my primary key field column and third one is description column.Description contains 3 fields. So I have made use of template column and have used html table to place those 3 fields in 3 rows.But this field should be editable when I click the edit button. But hw can i make use of EditItemTemplate in table?..I tried to place this iside but gives error.Please see the below piece of code.<asp:TemplateColumn HeaderText="GIMS Details"> <ItemTemplate> <table border="1" width="450"> <tr> <td width="18%"> Description </td> <td> <%# DataBinder.Eval(Container.DataItem,"severity")%> </td> </tr> <tr>
  3. ya justin.....I made mistake in mentioning the problem :-)
  4. Bhushan

    Datagrid

    Hey,Thanks for that suggestion. It's working for me. hurray!!! :-)
  5. Bhushan

    Datagrid

    Hi,Even I am facing the similar kind of problem. In my problem, I am scrolling down the page and and when I am half down the page and click one button there to see some data related to that row, it's opening the new window but the focus is going to the first row of the page. I mean it's going back to start of the page.Please let me know how can I correct this??..Thnx,Bhushan
  6. This problem is resolved now. I made use of substring.thnx.
  7. Hi,I have a datagrid populated with 3 rows and 3 columns. for the thirs column the text is big ( nearly 50 rows). I want to display only 10 rows in this cell. How can i do that?. Please let me know.Thnx,Bhushan.
  8. Bhushan

    ADO.Net

    Hello, This is Sanjeev(Senior of Bhushan, using his ID)According to ASPNETGUY, the solution to the current problem seems so. But then other way to check around is to see if the MSACCESS file is openede by any early connection or OPENED manually and did not close while in a Query Mode. If so then please close the MSACCESS file and delete the .LDB file (Locking) so that it releases all the keys.Each time you connect, please write the IDISPOSE function for the class to close all the connections, if you forget to close it at the time when u have opened the connection.
  9. Hi,Could anyone tel me which is correct ??What XML stand for ???a) Xtensible Markup LanguageOR:) Extensible Markup LanguagePlease tell me. This question may be unnecessary one.but i have this confusion...Thnx.
  10. Hi,Yes I have taken 1 exam on HTML 3.2. But I think it's better if you focus on HTML 4.0 or XHTML bcoz future lies in them.Thnx.
  11. Bhushan

    Best One

    Hi Skemcin,Thanks for that information. I require one information from you. Could you please tell me how useful it would be if I start using ASP.NET ?.I heard from one of my collegue that ASP.NET can be used both for client side validation as well as for server side scripting.Please let me know if my understandign is correct.Thanks in advance,Bhushan.
  12. Bhushan

    Best One

    Hi Group,Could anyone please tell me which server side script is better ???PHP or ASP. Which is easy to learn , understand and implement .Thnx.
  13. Ok ...thnx for the info dan.This topic can be closed now.Thnx,Bhushan.
  14. HI,Please look at the following code taken from the w3schools.com which would tell you how you can do this. You have to do it programatically. There is no tag as such to achieve this as far as my knowledge goes.Thnx,Bhushan. <html><head><style>body{font-family:arial;}table{background:black;position:absolute;}a{color:black;text-decoration:none;font:bold}a:hover{color:#606060}td.menu{background:lightgreen}table.topnav{font-size:80%;top:0;left:0}table.menu{font-size:100%;bottom:0;z-index:-1}</style><script type="text/javascript">var i=0var c=0var intHidefunction show_hide_menu(){if (c==0) { clearInterval(intHide) intShow=setInterval("show()",10) c=1 }else { clearInterval(intShow) intHide=setInterval("hide()",10) c=0 }}function show(){if (i>-100) { i=i-1 document.all("menu").style.bottom=i }}function hide(){if (i<0) { i=i+1 document.all("menu").style.bottom=i }}</script></head><body><table class="topnav" width="150"><tr><td bgcolor="#FF0000" onclick="show_hide_menu()"><b>MENU</b><br /><table class="menu" id="menu" width="100%"><tr><td class="menu"><a href="/html/default.asp">HTML</a></td></tr><tr><td class="menu"><a href="/xhtml/default.asp">XHTML</a></td></tr><tr><td class="menu"><a href="/css/default.asp">CSS</a></td></tr><tr><td class="menu"><a href="/xml/default.asp">XML</a></td></tr><tr><td class="menu"><a href="/xsl/default.asp">XSL</a></td></tr></table></td></tr></table><p>Click on the MENU to see the menu options.</p></body></html> [edit]: wrapped code in codebox - skemcin
  15. Hi Dan,Thanks for your information.It may not be important to have a default value but there would be a default attribute value. Could you please tell me if you know the answer. Thnanks.
  16. Hi Dan,Thank you very much for spnding some time. I am almost clear on this now. 1) Could you please let me know what is the default for <area> ?. Is it the rect or circle ?.2) One more thing, Is this <map id="panetmap" is going to take the value from <usemap="#planetmap" ??.Thanks in advance,Bhushan.
  17. Hi Dan,If you take a closer look at my code, you could see that I have attached the same piece of element. I am not able to understand the logic used there.Could you please explain me the code briefing about the logic.Thnx,Bhushan.
  18. HI Group,I am attaching a piece of code from w3schools.com regard to MAP tag. I need to know how does it work logically. I also found that it has got 2 sections like Client side mapping and server side mapping. What does it mean ??. We know that we include <area> tag inside <map> tag. What's the default attribute for <area> ??. Is it the rect or the square ??.kindly spend your precious time and let me know.Thanks in advance,Bhushan.<p>Click on one of the planets:</p><img src ="planets.gif"width ="145" height ="126"alt="Planets"usemap ="#planetmap" /><map id ="planetmap"name="planetmap"><area shape ="rect" coords ="0,0,82,126" href ="sun.htm" target ="_blank" alt="Sun" /><area shape ="circle" coords ="90,58,3" href ="mercur.htm" target ="_blank" alt="Mercury" /><area shape ="circle" coords ="124,58,8" href ="venus.htm" target ="_blank" alt="Venus" /></map>
  19. Bhushan

    GET & POST

    Hey,Thanks for the information. I have understood it very much.Thnx,Bhushan.
  20. Hi,It's very easy. You could use frames to do this. Include these frames in a frameset and you could achieve your target.Thnx,Bhushan.
  21. Bhushan

    GET & POST

    HI Group,Could anyone please tell me some differences between GET and POST methods.How do they work when used.Thanks.Bhushan.
  22. Hi Kiradikash,Please look at the following code. Similarly you could apply the logic into your code.<html><body><a href="abc.htm" target="_blank">homepage</a> <a href="hello.htm" target="_blank">page1</a> <a href="red.htm" target="_blank">page2</a> <a href="pink.htm" target="_blank">page3</a></body></html>
×
×
  • Create New...